From owner-freebsd-questions Fri Nov 17 8:17:53 2000 Delivered-To: freebsd-questions@freebsd.org Received: from marine.sonic.net (marine.sonic.net [208.201.224.37]) by hub.freebsd.org (Postfix) with SMTP id 8CDCD37B479 for ; Fri, 17 Nov 2000 08:17:50 -0800 (PST) Received: (qmail 6096 invoked from network); 17 Nov 2000 16:17:48 -0000 Received: from sub.sonic.net (208.201.224.8) by marine.sonic.net with SMTP; 17 Nov 2000 16:17:48 -0000 Received: from sonic.net (wingerboy [209.204.177.11]) by sub.sonic.net (8.11.0/8.8.5) with ESMTP id eAHGHlJ11172 for ; Fri, 17 Nov 2000 08:17:48 -0800 X-envelope-info: Message-ID: <3A155A28.5FC641E9@sonic.net> Date: Fri, 17 Nov 2000 08:17:44 -0800 From: Kelsey Cummings Reply-To: kgc@sonic.net Organization: sonic.net X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.2-BETA i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: Re: automated upgrading ports? References: <3A148693.F4B8467A@sonic.net> <20001116223426.A25322@dan.emsphone.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dan Nelson wrote: > > In the last episode (Nov 16), Kelsey Cummings said: > > I've just been wadding through an upgrade of many dependent ports > > in order to get evolution (bonobo) to install. Now the question is, > > there is a well documented procedure to upgrading the core > > distribution from source and it's always worked great for me. Are > > there similar tools to say, check and update all installed ports if > > needed? It seems simple enough that someone must have already done > > it and I haven't looked hard enough. > > "pkg_version -c" will output a script file that will delete, then > install updated versions of all the ports you have installed. > > The problem is that, unlike the base system, the ports tree isn't built > and tested as one unit. Neither is it installed whole by the user. If > a major port with dependencies (say libjpeg, for example) is updated, > it might be a while for the rest of the ports to be modified to match. > Also, there's a chance that the user might have installed a program on > their own that depends on the old libjpeg library. When libjpeg gets > updated, the other application will fail because the new libjpeg > incremented the shared library number. I had assumed such problems could occur. But thanks for the pointer to pkg_version. It will prove to be helpful at any rate. Thanks! -- Kelsey Cummings - kgc@sonic.net sonic.net System Administrator 300 B Street, Ste 101 707.522.1000 (Voice) Santa Rosa, CA 95404 707.547.2199 (Fax) http://www.sonic.net/ Fingerprint = 7F 59 43 1B 44 8A 0D 57 91 08 73 73 7A 48 90 C5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message