Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jul 2009 13:52:56 +0100
From:      Anton Shterenlikht <mexas@bristol.ac.uk>
To:        Ewald Jenisch <a@jenisch.at>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: jpeg-7 - rebuild all dependencies - how?
Message-ID:  <20090724125256.GA35045@mech-cluster238.men.bris.ac.uk>
In-Reply-To: <20090724120343.GA74404@aurora.oekb.co.at>
References:  <20090724120343.GA74404@aurora.oekb.co.at>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jul 24, 2009 at 02:03:43PM +0200, Ewald Jenisch wrote:
> Hi,
> 
> Updating one of my sytems I followed /usr/ports/UPDATING and did a
> "pkg_delete -r jpeg-6b_7" - only to discover that everything that
> depends on jpeg-* is gone - this involves little wonders like the
> complete gnome2 environment plus e.g. firefox, gimp,
> openoffice. 
> 
> What's really bad however is that all information about the
> dependencies that were there before is now gone, i.e. the system has
> no clue that e.g. gnome2 was installed.
> 
> Fortunately, in my particular case, I did a "pkg_info -Rx jpeg-" prior
> to that pkg_delete so at least I have clue as to the state of my ports
> that depend on jpeg-* before that pkg_delete.
> 
> So here are my questions:
> 
> o) Do I really have to re-build every port that depends on jpeg-* from
> scratch; i.e. "make && make install"ing every port? (i.e. take the
> list from pkg_info (see above) and build everything by hand)
> 
> o) Is there a less painful way to upgrade everything that depends on jpeg-*

try
	portmaster -r jpeg

> PS: To my understanding the information in /usr/ports/UPDATING is a
> little misleading without mentioning anything that "pkg_delete"
> basically removing all dependencies leaving the system in a state with
> the dependent packages deleted having no clue as to what was there
> before. Maybe a little hint about this would possibly keep others from
> falling into similar traps....

yes, this wasn't the best advice

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423



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