Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jan 2009 11:20:46 -0800
From:      Doug Barton <dougb@FreeBSD.org>
To:        Garrett Cooper <yanefbsd@gmail.com>
Cc:        Josh Rickmar <joshua_rickmar@eumx.net>, freebsd-ports@freebsd.org
Subject:   Re: Removing stale dependencies
Message-ID:  <4968F50E.6060506@FreeBSD.org>
In-Reply-To: <7d6fde3d0901100722g67c5200ex5552b2e19d1ae7d4@mail.gmail.com>
References:  <53980.67.177.142.45.1224810884.squirrel@ssl.eumx.net>	 <49681E6C.9060703@FreeBSD.org> <7d6fde3d0901100722g67c5200ex5552b2e19d1ae7d4@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Garrett Cooper wrote:
> I just started using portmaster this past week, and it appears to go a
> bit crazy removing dependencies -- there were a lot of libraries
> broken after removing dependencies that shouldn't have been. This
> could all be because of bad dependencies in the Makefiles though.

It's more likely to be a case of having manually deleted things in the
past (using pkg_delete -f) which can cause the ports infrastructure to
lose track of what depends on what.

Try using 'portmaster --check-depends'

> For instance, I kept azureus, but zapped libcroco and libgnome (I
> thought they had gotten included in the wine-doors install I deleted
> on my system), and it broke my upgrade from azureus to vuze (the
> libraries for both are essentially the same, but vuze uses swt-devel
> whereas azureus uses swt I think..).

When you use portmaster to update (or install) something it will check
the existing ports on your system and update the dependency tracking
accordingly, so while this breakage is unfortunate, it is more or less
self healing.

If you're concerned about this problem going forward you can use the
-b option so that anything that is removed by mistake can easily be
reinstalled. However once the dependency tracking in /var/db/pkg is
updated this shouldn't be a problem going forward.


hth,

Doug

-- 

    This .signature sanitized for your protection




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