misc/157980: FreeBSD-update doesn't recognize already installed
7.4-p2-update after installing Bind from ports
Simon van der Meer
svdmeer at xs4all.nl
Sat Jun 18 08:30:13 UTC 2011
>Number: 157980
>Category: misc
>Synopsis: FreeBSD-update doesn't recognize already installed 7.4-p2-update after installing Bind from ports
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Jun 18 08:30:13 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Simon van der Meer
>Release: 7.4-p2
>Organization:
>Environment:
FreeBSD internet 7.4-RELEASE-p2 FreeBSD 7.4-RELEASE-p2 #8: Sat Jun 18 09:20:01 CEST 2011 simon at internet:/usr/obj/usr/src/sys/INTERNET i386
>Description:
FreeBSD-update 7.4-p2 contains some updates of the pre-installed Bind. When I install bind from ports (dns/bind97) and replace the base BIND (port config-option "Replace base BIND with this version"), the pre-installed files of Bind will be overwritten. Because of that, freebsd-update doesn't recognize the already installed FreeBSD-update 7.4-p2.
It seems FreeBSD-update only checks some files of Bind to check whether p2 is already installed. That conflicts with the version installed from the Ports-collection.
Maybe the same problem occurs with FreeBSD 8 and/or other Bind-versions from the ports-collection.
>How-To-Repeat:
1. Install FreeBSD update p2, "freebsd-update fetch", "freebsd-update install".
2. Choose "Replace base BIND with this version" in the config menu of the Bind97-port: "cd /usr/ports/dns/bind97", "make config".
3. Install port, "make install clean".
4. Run FreeBSD-update again, if you install the update again, the Bind-version from the ports-collection will be overwritten.
>Fix:
Implement another check for the p2-update for FreeBSD-update.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list