Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Oct 2015 01:37:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 203993] freebsd-update on 9.3-RELEASE-p28 attempts to remove nothing
Message-ID:  <bug-203993-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203993

            Bug ID: 203993
           Summary: freebsd-update on 9.3-RELEASE-p28 attempts to remove
                    nothing
           Product: Base System
           Version: 9.3-RELEASE
          Hardware: i386
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: misc
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: dereks@lifeofadishwasher.com

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||
# 
---------

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-203993-8>