From owner-freebsd-stable Wed Feb 7 22:42: 6 2001 Delivered-To: freebsd-stable@freebsd.org Received: from firebat.bushong.net (c128625-a.frmt1.sfba.home.com [24.176.225.90]) by hub.freebsd.org (Postfix) with ESMTP id 139C137B401 for ; Wed, 7 Feb 2001 22:41:42 -0800 (PST) Received: (from dbushong@localhost) by firebat.bushong.net (8.11.0/8.11.0) id f186fI640494; Wed, 7 Feb 2001 22:41:18 -0800 (PST) (envelope-from dbushong) Date: Wed, 7 Feb 2001 22:41:18 -0800 From: Timus To: Mike Harding Cc: kaltorak@quake.com.au, freebsd-stable@FreeBSD.ORG Subject: Re: Ports updating... Good ways? Message-ID: <20010207224118.B40286@bushong.net> References: <3A8208E7.C6EE4C24@quake.com.au> <20010208061814.5E6C5E6A17@netcom1.netcom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010208061814.5E6C5E6A17@netcom1.netcom.com>; from mvh@ix.netcom.com on Wed, Feb 07, 2001 at 10:18:14PM -0800 X-Floating-Sheep-Port: 0xbaa Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG pkg_version -c, while better than nothing, has quite a few problems, most significant of which is dependency ordering (making sure that a library that, say, "xv" depends on gets upgraded before "xv" itself. I've been working on a decent upgrade script for the past few months, and now seems as good a time as any to have people try it out. It's called "pkg_upgrade", and you can get it off of: http://bushong.net/dave/sw/ Requirements: * At minimum, the INDEX file from the ports tree; better yet is an actual ports tree (/usr/ports) * The perl LWP modules (install /usr/ports/www/p5-libwww if you don't have it) Features: * will usage existing packages if they exist, and optionally build them if they don't; great for an NFS mounted ports/packages directory * will try to fetch packages before building * handles dependencies correctly * handles the "disappearing library file" problem (new version of lib package doesn't provide lib that another installed package needs) * other stuff i can't remember Usage is "pkg_upgrade -h" For a summary of what it _would_ do, were you to let it, try: pkg_upgrade -al Comments/feedback/code/replacement better package system for FreeBSD ;) welcome. --David Bushong On Wed, Feb 07, 2001 at 10:18:14PM -0800, Mike Harding wrote: > > pkg_version -c | sh > > often works but you will probably want to spool it to a file. > > - Mike H. > > Date: Thu, 08 Feb 2001 13:48:07 +1100 > From: Kal Torak > X-Accept-Language: en > Content-Type: text/plain; charset=us-ascii > Sender: owner-freebsd-stable@FreeBSD.ORG > X-Loop: FreeBSD.ORG > Precedence: bulk > > Hiyas, > > Just wanted to see if anyone has some good ways of updating installed > ports... > > It would be good if you could update your installed ports as easily > as the base system, like some sort of script that worked out all the > dependencies and updated everything :) > > So anyone have a better way than slowly doing it by hand? > > Cheers! > Kal. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message