Bug 203993 - freebsd-update on 9.3-RELEASE-p28 attempts to remove nothing
Summary: freebsd-update on 9.3-RELEASE-p28 attempts to remove nothing
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 9.3-RELEASE
Hardware: i386 Any
: --- Affects Many People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-24 01:37 UTC by Derek Schrock
Modified: 2019-02-23 22:32 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Derek Schrock 2015-10-24 01:37:09 UTC
After updating an i386 FreeBSD 9.3-RELEASE system to 9.3-RELEASE-p28 any attempts to run 'freebsd-update fetch' there after results in a message wanting to remove nothing:

---------
# freebsd-update fetch
Looking up update.FreeBSD.org mirrors... 5 mirrors found.
Fetching metadata signature for 9.3-RELEASE from update5.freebsd.org... done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.

The following files will be removed as part of updating to 9.3-RELEASE-p28:

# freebsd-update install
Installing updates... done.
# freebsd-update fetch
Looking up update.FreeBSD.org mirrors... 5 mirrors found.
...

The following files will be removed as part of updating to 9.3-RELEASE-p28:

# 
---------

Looking at one of the meta files (INDEX-OLD) used by freebsd-update it appear there's a lib32 line that shouldn't there?

---------
# cd /var/db/freebsd-update

# cat tINDEX.present 
INDEX-NEW|aff841e64d37fc9985ac542c3b2471958b39f6c22ee6d3280ae45ff65bdc6d58
INDEX-OLD|9d024d76b279a1804dafdcf33d2e1a5a8bfde1d98cda812a73d173089d071080

# zgrep lib32 files/9d024d76b279a1804dafdcf33d2e1a5a8bfde1d98cda812a73d173089d071080.gz
world|lib32|/|d|0|0|0755|0||
#
---------

Removing this line causes freebsd-update to not report this "remove nothing" update:

---------
# zgrep lib32 files/9d024d76b279a1804dafdcf33d2e1a5a8bfde1d98cda812a73d173089d071080.gz
#

# freebsd-update fetch
...
No updates needed to update system to 9.3-RELEASE-p28.
#
---------

Based off a cursory search of how freebsd-update-server works (I'm assuming update,update{2..6}.freebsd.org are using this) are these machines configured with "lib32" as a component in WORLDPARTS?

All freebsd-update servers (update,update{2..6}.freebsd.org) 9d024d76b279a1804dafdcf33d2e1a5a8bfde1d98cda812a73d173089d071080.gz files all have this lib32 line.

---------
# for n in "" 2 3 4 5 6 ; do fetch -so out http://update"$n".freebsd.org/9.3-RELEASE/i386/m/9d024d76b279a1804dafdcf33d2e1a5a8bfde1d98cda812a73d173089d071080.gz ; zgrep lib32 out; done
85609
world|lib32|/|d|0|0|0755|0||
85609
world|lib32|/|d|0|0|0755|0||
85609
world|lib32|/|d|0|0|0755|0||
85609
world|lib32|/|d|0|0|0755|0||
85609
world|lib32|/|d|0|0|0755|0||
85609
world|lib32|/|d|0|0|0755|0||
# 
---------