From owner-freebsd-questions Thu Apr 19 8:31:56 2001 Delivered-To: freebsd-questions@freebsd.org Received: from web3303.mail.yahoo.com (web3303.mail.yahoo.com [204.71.201.145]) by hub.freebsd.org (Postfix) with SMTP id 6A87637B423 for ; Thu, 19 Apr 2001 08:31:49 -0700 (PDT) (envelope-from natepuri@yahoo.com) Message-ID: <20010419153149.21075.qmail@web3303.mail.yahoo.com> Received: from [216.175.88.95] by web3303.mail.yahoo.com; Thu, 19 Apr 2001 08:31:49 PDT Date: Thu, 19 Apr 2001 08:31:49 -0700 (PDT) From: Nate Puri Subject: Re: How to people easily update ports with dependencies (such as galeon)? To: Trevin Chow Cc: Philip Hallstrom , freebsd-questions@FreeBSD.ORG In-Reply-To: <20010418121714.J44424-100000@benny.geektank.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --- Trevin Chow wrote: > Does this maintain dependencies of all the ports? > For example, if > foobar-3.0 depends on barfoo-4.0 and we upgrade > barfoo-4.0 to 5.0, > is the dependency from foobar-3.0 updated to depend > on barfoo-5.0? if you do the pkg_version -c, you will see that indeed barfoo was upgraded as well, if it was, if a dependency does not need to be upgraded, i.e., a gnome packages was upgraded by gtk was not. Or a dependency was upgraded but it's not on your system. pkg_version will do all that work... it's a very cool cool tool... > 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 > > > > > __________________________________________________ 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