Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jul 2009 15:52:04 -0700
From:      Doug Barton <dougb@FreeBSD.org>
To:        "Jason J. Hellenthal" <jasonh@DataIX.net>
Cc:        Dirk Meyer <dirk.meyer@dinoex.sub.org>, freebsd-ports@freebsd.org
Subject:   Re: graphics/jpeg especially UPDATING
Message-ID:  <4A6E2F94.7010402@FreeBSD.org>
In-Reply-To: <20090723062213.bf871b6c.jasonh@DataIX.net>
References:  <20090720134000.3b7e201a.jasonh@DataIX.net>	<%2Bhmeb5LYcL@dmeyer.dinoex.sub.org> <20090723062213.bf871b6c.jasonh@DataIX.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Jason J. Hellenthal wrote:
> If you pkg_delete -r that will remove every package that depends on jpeg. This is not the right way of just getting rid of jpeg considering it involves the complete almost full re-installation of the entire system manually.
> 
> A better route to upgrade would be: pkg_delete -f jpeg-\*
> reinstall the new jpeg and then portmaster -r jpeg-\*

There is no need to do the pkg_delete first, and in fact I do not
recommend it. 'portmaster -r jpeg-' will accomplish what you want to
do on its own.

On the other hand, since just about every X-related binary links to
libjpeg you may want to consider using 'portmaster -w jpeg-' instead.
That will update you to jpeg-7 but leave the old library in
/usr/local/lib/compat/pkg. That way things linked against the old
library will still work and at some point in the future you can delete
the old library when everything (or almost everything) has been
updated in the natural course of events.


hope this helps,

Doug

-- 

    This .signature sanitized for your protection




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A6E2F94.7010402>