From owner-freebsd-questions Wed Apr 18 8:25:19 2001 Delivered-To: freebsd-questions@freebsd.org Received: from oddjob.adhesivemedia.com (oddjob.adhesivemedia.com [207.202.159.77]) by hub.freebsd.org (Postfix) with ESMTP id 24B1737B424 for ; Wed, 18 Apr 2001 08:25:16 -0700 (PDT) (envelope-from philip@adhesivemedia.com) Received: from localhost (philip@localhost) by oddjob.adhesivemedia.com (8.11.1/8.11.1) with ESMTP id f3IFPAE93630; Wed, 18 Apr 2001 08:25:10 -0700 (PDT) (envelope-from philip@adhesivemedia.com) Date: Wed, 18 Apr 2001 08:25:10 -0700 (PDT) From: Philip Hallstrom To: Nate Puri Cc: Subject: Re: How to people easily update ports with dependencies (such as galeon)? In-Reply-To: <20010418144251.22905.qmail@web3306.mail.yahoo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The problem with that though is let's say that it spits out this (pseudo speaking): update portA update portB update portC And let's say that portA depends on portB which depends on port C. Well, when I run that code to update portA it's going to automatically update portB which will update portC which means the rest of the above script is pointless -- and it won't remove the currently installed old versions of portB and portC. Although now that I think about it, I could change the "make install" to "make reinstall" in the output of pkg_version -c and that would do it. Maybe I"ll just not worry about two versions of the same port being installed :) -philip On Wed, 18 Apr 2001, Nate Puri wrote: > Simple, > > do this... > > pkg_version -c > update_ports.sh > > Then go in update_ports.sh and you will see a list up > ports that need to be updated (and their dependencies > will be in there too). Delete the top few lines, add > '#!/bin/sh'; do chmod 755 update_ports.sh, then do > ./update_ports.sh, and > viola!, updated ports. > > Later, > Nate > --- Philip Hallstrom wrote: > > Hi all - > > I was wondering if anyone had any suggestions on a > > painless way to > > update a port that has dependencies? > > > > In my case, I currently have galeon-0.10.2 which > > requires glib-1.2.10. I > > currently have glib-1.2.8. The problem is I can > > remove my galeon port, > > and install the new one, but installing the new one > > will install the new > > version of glib without removing the old one. > > > > is there an easy way to tell it to remove any old > > ports of new versions > > it's installing? > > > > thanks! > > > > -philip > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of > > the message > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Auctions - buy the things you want at great prices > http://auctions.yahoo.com/ > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message