Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Nov 2000 08:17:44 -0800
From:      Kelsey Cummings <kgc@sonic.net>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: automated upgrading ports?
Message-ID:  <3A155A28.5FC641E9@sonic.net>
References:  <3A148693.F4B8467A@sonic.net> <20001116223426.A25322@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A155A28.5FC641E9>