From owner-freebsd-questions Fri Apr 12 15:39:40 2002 Delivered-To: freebsd-questions@freebsd.org Received: from server12.safepages.com (server12.safepages.com [216.127.146.26]) by hub.freebsd.org (Postfix) with ESMTP id BD98137B41C for ; Fri, 12 Apr 2002 15:39:17 -0700 (PDT) Received: from there (reston-gnap-ip-216012-166.dynamic.ziplink.net [216.8.12.166]) by server12.safepages.com (Postfix) with SMTP id 5004C1360F4; Fri, 12 Apr 2002 22:39:08 +0000 (GMT) Content-Type: text/plain; charset="iso-8859-1" From: "E. J. Cerejo" Reply-To: edu07643@yahoo.com.br To: ako ito , freebsd-questions@FreeBSD.ORG Subject: Re: ported packages upgrades Date: Fri, 12 Apr 2002 18:39:11 -0400 X-Mailer: KMail [version 1.3.2] References: <20020412215002.49616.qmail@web20806.mail.yahoo.com> In-Reply-To: <20020412215002.49616.qmail@web20806.mail.yahoo.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20020412223908.5004C1360F4@server12.safepages.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Friday 12 April 2002 17:50, ako ito wrote: > i have so many packages that needs to be updated -- > but most of them are dependent to each other and so > when i try to pkg_delete it wont allow me, it making > an error. > > is there an easy way to do this ? i want my installed > ported packages tidy so i dont want to keep old > versions of ported applications. > > i would appreciate any help. > > __________________________________________________ > Do You Yahoo!? > Yahoo! Tax Center - online filing with TurboTax > http://taxes.yahoo.com/ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > Personally I like doing it manually, portupgrade is OK but it still doesn't have a switch to turn off "backup" and I still don't know where portupgrade will put the backed up port after the upgrade so I stay away from it because I have limited space. so I do: cvsup -g -L 2 ports-supfile then pkg_version -c > do_update this will create a file named do_update which will tell you what needs updating. Then do exactly what it tells you to do starting with the dependencies first. You have to make sure that you start with the dependencies first though or you will end up with two different port versions installed. You can find out if any dependencies need to be upgraded first in www.freebsd.org/ports under 'requires' section for example if you need to upgrade lynx just go to www.freebsd.org/ports/www.html (there's also a command that you can run to find this out but I forgot about it) and look for the lynx and under 'requires' look at the dependencies and then find out if they need to be upgraded also by looking at do_update file then after all this is done just run. pkgdb -F it will fix all the stale links. This might be primitive but it's been working for me. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message