Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Feb 2001 13:28:16 +0100 (MET)
From:      Helge Oldach <Helge.Oldach@de.origin-it.com>
To:        jim@siteplus.net (Jim Weeks)
Cc:        david@bushong.net, freebsd-stable@FreeBSD.ORG, mvh@ix.netcom.com, kaltorak@quake.com.au
Subject:   Re: Ports updating... Good ways?
Message-ID:  <200102111228.NAA06399@galaxy.de.cp.philips.com>
In-Reply-To: <Pine.BSF.4.21.0102081914380.546-100000@veager.siteplus.net> from Jim Weeks at "Feb 8, 2001  7:18:50 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Jim Weeks:
>On Thu, 8 Feb 2001, David Bushong wrote:
>> I'll try to put a "cleanup" mode in one of these days, but it's rather nasty,
>> since basically you have to:
>> 
>> pkg_delete all of the versions (including the most recent), pkg_delete all
>> of the programs that depended on older versions, reinstall/rebuild the most
>> recent version, then rebuild the dependent packages.
>
>You don't really have to do this.  You can remove the info files for the
>old versions from /var/db/pkg/.  For instance, if you have checked
>pkg_info and found you have two versions of zip ie zip-2.3 and zip-2.2,
>simply rm -r /var/db/pkg/zip-2.2

Disagree. Consider that zip-2.2 had added a file /usr/local/where/ever
which is no longer part of zip-2.3. Now you want that one cleaned up as
well, don't you?

Having two versions of one port installed is generally a Bad Thing as
it may result in orphan files.

Helge


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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