Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jan 2010 16:48:26 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        mikel king <mikel.king@olivent.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: make delete-old && make delete-old-libs
Message-ID:  <4B59D6DA.3010803@infracaninophile.co.uk>
In-Reply-To: <EB954A31-4CFE-4EAC-B478-5842A5E101D1@olivent.com>
References:  <EB954A31-4CFE-4EAC-B478-5842A5E101D1@olivent.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig0F432B3CC07C4ABF892C79D2
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=
ill
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=
top
there.  It will remove your carefully installed ported software the follo=
wing
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.

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
                                                  Kent, CT11 9PW


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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREIAAYFAktZ1uEACgkQ8Mjk52CukIwCMACfR2uEIOE9rQFT/39HeerWcSz5
E/MAn0u+nD2VFHsAPMXz9sY1S2ubDClo
=GUrs
-----END PGP SIGNATURE-----

--------------enig0F432B3CC07C4ABF892C79D2--



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