BACKUP_LIBRARIES (was: libmd.so.6 and pkgbase)
- In reply to: Baptiste Daroussin : "libmd.so.6 and pkgbase"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 20 Oct 2024 08:35:29 UTC
On 07/10/2024 07:53, Baptiste Daroussin wrote: > Hello everyone, > > Just a reminder when using pkgbase, make sure you do activate > BACKUP_LIBRARIES=true in pkg.conf > > This way pkg will save a copy of libmd.so.6 during the upgrade in > /usr/local/lib/pkg/libmd.so.6 (and create a package named compat-libraries to > track it). > > … Thanks to bapt for the hint. In my case the backups are elsewhere, because I habitually create then mount a boot environment before upgrading the environment. Not a showstopper, just a mention. % pkg info --list compat-libraries | grep -v compat-libraries-20241017170824 | wc -l 52 % pkg info --list compat-libraries | grep /tmp/up | wc -l 52 % file /tmp/up /tmp/up: cannot open `/tmp/up' (No such file or directory) %