pkgdb -F calling portupgrade -a

Mike Meyer mwm-keyword-freebsdhackers2.e313df at mired.org
Mon Jun 11 00:17:42 UTC 2007


In <20070611000223.GA28536 at rot13.obsecurity.org>, Kris Kennaway <kris at obsecurity.org> typed:
> > --->  Checking the package registry database
> > Stale dependency: Xaw3d-1.5E_1 -> xf86dgaproto-2.0.2 (x11/xf86dgaproto):
> > Install stale dependency? ([y]es/[n]o/[a]ll) [yes] n
>                                                      ^
> > New dependency? (? to help):
> > Delete this? ([y]es/[n]o/[a]ll) [yes]
>                                   ^^^^
> Whee, you've deleted metadata that was required for correctness of
> future upgrades.

Just out of curiosity, what should he have done? Yes, the data was
required for the correctness of future upgrades, but the data was
broken in ways that the automated tools couldn't deal with. Installing
the stale dependency would lead to incorrectly trying to install the
new x.org 7 ports. There's no right-looking new dependency to use, or
pkgdb would have suggested it. Leaving the dependency in place
wouldn't solve the problem that pkgdb was run to fix in the first
place. So what's the right alternative?

	<mike
-- 
Mike Meyer <mwm at mired.org>		http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.


More information about the freebsd-hackers mailing list