jpeg-7 - rebuild all dependencies - how?

Anton Shterenlikht mexas at
Fri Jul 24 12:53:03 UTC 2009

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-*

	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

More information about the freebsd-questions mailing list