From owner-freebsd-questions@FreeBSD.ORG Fri Jan 22 16:48:39 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0DF73106568F for ; Fri, 22 Jan 2010 16:48:39 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 2DB268FC18 for ; Fri, 22 Jan 2010 16:48:38 +0000 (UTC) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.3) with ESMTP id o0MGmXPd011090; Fri, 22 Jan 2010 16:48:34 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk o0MGmXPd011090 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1264178914; bh=XwF5BuO4yxzWjFMpgFO0EJ8w7czIyhQiQOEwq43+vlg=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4B59D6DA.3010803@infracaninophile.co.uk>|Date:=20F ri,=2022=20Jan=202010=2016:48:26=20+0000|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.23=20(X11/20100114)|MIME-Vers ion:=201.0|To:=20mikel=20king=20|CC:=20Fre eBSD=20Questions=20|Subject:=20Re:= 20make=20delete-old=20&&=20make=20delete-old-libs|References:=20|In-Reply-To:=20|X-Enigmail-Versio n:=200.95.6|Content-Type:=20multipart/signed=3B=20micalg=3Dpgp-sha 256=3B=0D=0A=20protocol=3D"application/pgp-signature"=3B=0D=0A=20b oundary=3D"------------enig0F432B3CC07C4ABF892C79D2"; b=iv5us7RH3k1yFluDGr/vK3k6DdKQzpbnHuFf3yIN9bRRPWBSGvLZ3QmPe0vw89YSF IeJTXqcpeB0mPrG1qBC/riq23uFrZvqDio8vRA+5+TBFSmD6KZJ/5Zr5ac2Pk7Qmy6 dukW2wO3WvUQnF8uM5EssPR2rjpHaxzTO+tYsrmI= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4B59D6DA.3010803@infracaninophile.co.uk> Date: Fri, 22 Jan 2010 16:48:26 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20100114) MIME-Version: 1.0 To: mikel king References: In-Reply-To: X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig0F432B3CC07C4ABF892C79D2" X-Virus-Scanned: clamav-milter 0.95.3 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: FreeBSD Questions Subject: Re: make delete-old && make delete-old-libs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jan 2010 16:48:39 -0000 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--