From owner-freebsd-ports@FreeBSD.ORG Tue Aug 14 06:58:25 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF3D516A418 for ; Tue, 14 Aug 2007 06:58:25 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 793BE13C459 for ; Tue, 14 Aug 2007 06:58:25 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A558D0.dip.t-dialin.net [84.165.88.208]) by redbull.bpaserver.net (Postfix) with ESMTP id 4DE192E1CE; Tue, 14 Aug 2007 08:58:16 +0200 (CEST) Received: from webmail.leidinger.net (webmail.Leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 62B665B4926; Tue, 14 Aug 2007 08:58:13 +0200 (CEST) Received: (from www@localhost) by webmail.leidinger.net (8.13.8/8.13.8/Submit) id l7E6wDQu072643; Tue, 14 Aug 2007 08:58:13 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Tue, 14 Aug 2007 08:58:13 +0200 Message-ID: <20070814085813.4i1rprmzjks08ogo@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Tue, 14 Aug 2007 08:58:13 +0200 From: Alexander Leidinger To: RW References: <20070811115642.L34115@obelix.home.rakhesh.com> <20070811083357.GA34007@eos.sc1.parodius.com> <20070811145314.A47727@obelix.home.rakhesh.com> <20070811203322.GA78245@eos.sc1.parodius.com> <20070811225858.7eb933ef@gumby.homeunix.com.> <20070812142059.35077b0d@deskjail> <20070812181810.2b17d85f@gumby.homeunix.com.> <20070813081446.6nxh47n64ocg8ksk@webmail.leidinger.net> <20070813123837.5436aeec@gumby.homeunix.com.> In-Reply-To: <20070813123837.5436aeec@gumby.homeunix.com.> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.4) / FreeBSD-7.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-14.9, required 8, BAYES_00 -15.00, DKIM_POLICY_SIGNSOME 0.00, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-ports@freebsd.org Subject: Re: How did upgrading applications happen before portupgrade etc? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Aug 2007 06:58:26 -0000 Quoting RW (from Mon, 13 Aug 2007 =20 12:38:37 +0100): > On Mon, 13 Aug 2007 08:14:46 +0200 > Alexander Leidinger wrote: > >> Quoting RW (from Sun, 12 Aug 2007 >> 18:18:10 +0100): >> >> > On Sun, 12 Aug 2007 14:20:59 +0200 >> > Alexander Leidinger wrote: >> > >> >> Quoting RW (Sat, 11 Aug 2007 22:58:58 >> >> +0100): > >> > Actually having dependencies package version mismatches needn't >> > cause any significant problems. >> >> It does cause problems. You have no +REQUIRED_BY file anymore, so >> pkg_delete allows you to remove it without a warning even if it is >> still needed. > > I didn't say it doesn't, I said it needn't. When I have to remove a It will. No doubts about this, sorry. It may be ok for some hobbyist =20 installation, but in the generic case you want to do it right (and the =20 OP asked for the generic case which includes production quality ports =20 management). > package manually as part of an upgrade, I use "pkg_delete -f", so it > doesn't matter. When I prune ports I use "portmanager -slid" which It's not about removing a port when updating. It's about correct leaf =20 ports detection which may be necessary from time to time. On a busy =20 (as in "ports are (de-)installed often") system this may be needed =20 more often than on a idle system. > doesn't rely on +REQUIRED_BY, and provides additional protection against > build-dependency deletion which you don't get from pkg_delete. portmanager ist very recent, it is even not as old as portupgrade. So =20 a discussion about what you do with current tools does not fit to the =20 topic of the original question which started this thread. Sidenote: I also don't see a benefit when pruning to keep the obscure =20 build dependencies of a port you don't want anymore. "In the good old =20 days"(TM) you searched for ports without a +REQUYIRED_BY field. Those =20 are the leaf ports. And then you used your brain to decide what to =20 remove or not. What we didn't had was an easy procedure for pruning =20 old distfiles. I was excited when I discovered this feature in =20 portupgrade. Bye, Alexander. --=20 Marriage is a lot like the army, everyone complains, but you'd be surprised at the large number that re-enlist. =09=09-- James Garner http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137