From owner-freebsd-arch Tue Jul 9 1:29:36 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CC16D37B400 for ; Tue, 9 Jul 2002 01:29:31 -0700 (PDT) Received: from infinitive.futureperfectcorporation.com (infinitive.futureperfectcorporation.com [196.25.137.68]) by mx1.FreeBSD.org (Postfix) with SMTP id 68B6D43E42 for ; Tue, 9 Jul 2002 01:29:21 -0700 (PDT) (envelope-from nbm@gerund.futureperfectcorporation.com) Received: (qmail 76210 invoked by uid 0); 9 Jul 2002 08:27:46 -0000 Received: from gerund.futureperfectcorporation.com (196.25.137.65) by infinitive.futureperfectcorporation.com with SMTP; 9 Jul 2002 08:27:46 -0000 Received: (qmail 60514 invoked by uid 1001); 9 Jul 2002 08:27:53 -0000 Date: Tue, 9 Jul 2002 10:27:53 +0200 From: Neil Blakey-Milner To: freebsd-arch@FreeBSD.ORG Cc: "M. Warner Losh" , naddy@mips.inka.de Subject: Re: Package system flaws? Message-ID: <20020709082753.GA60250@mithrandr.moria.org> References: <20020706220511.GA88651@scoobysnax.jaded.net> <20020708.094652.21114246.imp@village.org> <20020709073309.GB96335@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020709073309.GB96335@dragon.nuxi.com> User-Agent: Mutt/1.3.27i Organization: iTouch Labs X-Operating-System: FreeBSD 4.3-RELEASE i386 X-URL: http://mithrandr.moria.org/nbm/ Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue 2002-07-09 (00:33), David O'Brien wrote: > On Mon, Jul 08, 2002 at 09:46:52AM -0600, M. Warner Losh wrote: > > In message: > > naddy@mips.inka.de (Christian Weisgerber) writes: > > : Compared to Debian and RPM the ability to do comprehensive updates > > : from packages is missing. Install 500 ports. Wait a year for > > : revisions, library versions, and even dependencies to change all > > : over. Now let's upgrade all installed ports from a current set of > > : binary packages. That sort of thing. > > > > portupgrade does his very thing. > > Only from /usr/ports, building each port -- it will not use precompiled > packages. :-( Yeah it will - using -P, and only using packages using -PP. (Not saying it's perfect, or that it'll work in the given example, especially with regards to upgrading libraries without upgrading all packages that depend on it that may not be in the "current set of binary packages.) Thus, going back to Warner's "portupgrade does this very thing", I'm afraid it doesn't. Christian's example would require the ability to use version ranges (I've previously used the term "relative versioning") to express dependencies. And the dpkg (and rpm tools to a lesser degree) are based a bit more on dependency graph theory, and thus can tell you whether the path you're going to travel upgrading a certain package and all packages that depend on that, and the packages that depend on that and so forth, will actually end up successfully fulfilling all the requirements, and what, if any, the problem areas are. Of course, that totally sucks in some cases (cf. rpm dependency hell). And apt uses package lists over the Internet to achieve lots of its dependency solving ability, but it works for the most part with package CDs without Internet connectivity. A lot better than FreeBSD held up when I was trying 4.3->4.4 using only the packages on the CD, but that may have been a problem with my use of portupgrade. And portupgrade has grown up a lot in the mean-time. Neil -- Neil Blakey-Milner nbm@mithrandr.moria.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message