Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jan 2010 16:48:26 +0000
From:      Matthew Seaman <>
To:        mikel king <>
Cc:        FreeBSD Questions <>
Subject:   Re: make delete-old && make delete-old-libs
Message-ID:  <>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable

mikel king wrote:
> I had a system that was royally borked after upgrading and completing=20
> these steps a few years ago. Ever since I have always skipped these=20
> steps. Has anyone else experienced any issues with these two steps?

make delete-old-libs can cause you much wailing and gnashing of teeth
if you do it too soon, but usually only when you're doing a major version=

upgrade.  In those circumstances, unless you're careful, all or large
parts of your software installed from ports will cease to work.  Delete
the old libraries only once you've finished reinstalling all of your port=
ed software. Major version upgrades are one of the few times when there w=
be old shlibs to consider deleting, so this is a rare event.

make delete-old can theoretically cause you grief if you overwrite bits
of the base system from ports and set corresponding WITHOUT_FOO flags in
/etc/src.conf.  On the whole, having ports overwrite base is something to=

be avoided unless you have very good reason to do it.

Whether this will sting you or not is an interesting question: it depends=

on developers adding files and directories to the list of old items=20
conditionally on defining WITHOUT_FOO type flags in /etc/src.conf.  While=

this has the intuitively attractive behaviour that doing a buildworld cyc=
le removes the unwanted programs or libraries, unfortunately it doesn't s=
there.  It will remove your carefully installed ported software the follo=
time you do a buildworld cycle.  For this reason, settings in src.conf=20
do not generally affect the list of old files and directories nowadays.



Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP:     Ramsgate
                                                  Kent, CT11 9PW

Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

Version: GnuPG v2.0.14 (FreeBSD)
Comment: Using GnuPG with Mozilla -



Want to link to this message? Use this URL: <>