pkg does bad things after upgrade from 8.4 to 9.3

Brandon Allbery allbery.b at gmail.com
Wed Sep 9 15:53:33 UTC 2015


On Wed, Sep 9, 2015 at 11:45 AM, Michael R. Wayne <freebsd07 at wayne47.com>
wrote:

> Note that NONE of this explains why pkg would delete ANYTHING


Because it can't keep track of multiple versions of (say) gettext for
different packages? If you upgrade something that requires a newer gettext,
you must either upgrade everything else that uses gettext or remove the
things that can only use the old one.

This same pain is visible in other package systems --- for example, ask
someone on debian unstable (or, occasionally, testing) who tries to
install/upgrade something and watches it ask to remove their entire system
because it was built against a newer libc.

If you use packages, you need to upgrade the entire package set as a unit,
not piecemeal.

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net


More information about the freebsd-stable mailing list