> Am 08.09.2015 um 22:55 schrieb Michael B. Eichorn <ike at michaeleichorn.com>: > > > > But you must reinstall everything. You upgraded your ABI going 8->9 so > everything needs rebuilt/reinstalled. See next. >>Exactly. Or unpack the compat8x package by hand. Or don?t delete the old libraries upon upgrading?>> > > There is pkg-lock(8) but dont do it. You really need to upgrade it all > for a major version change. >The valid use-case for pkg-lock is (IMO) if you want to downgrade. I follow the quarterly cuts of the ports-tree and build my own repo. If I need to downgrade from Q3 to Q2, I usually lock pkg only and do a pkg upgrade -f The lock ?survives? even the -f. The previous pkg may have problems reading the new pkg database created by the new pkg?. Locking anything else besides pkg is just a way to get unhappy. If you have more than a handful machines or are not content with the packages provided by FreeBSD, running your own repo is a must IMO. For our Ubuntu and CentOS-servers at work, we don?t do the builds ourselves - but we still run our own mirror that is updated at our own schedule (so that servers are on a defined patch-level).
On Tue, Sep 08, 2015 at 11:06:02PM +0200, Rainer Duffner wrote:> > > Am 08.09.2015 um 22:55 schrieb Michael B. Eichorn <ike at michaeleichorn.com>: > > > > But you must reinstall everything. You upgraded your ABI going 8->9 so > > everything needs rebuilt/reinstalled. See next. > > Exactly. > Or unpack the compat8x package by hand.Explain this please?> Or don???t delete the old libraries upon upgrading???We never delete the old libraries. So the old binaries function. But, the goal is to migrate to 9.X executables over time. The motivation for this is that upgrading something almost always breaks things and it is MUCH easier to deal with these breakages incrementally over several days, rather than having everything broken at once. Note that NONE of this explains why pkg would delete ANYTHING. I can (sorta) see that upgrading bash says I have to upgrade mutt (but, really, it should just install a new library for bash and let mutt run on the old one) but can not think of a reason it would remove it!