A FreeBSD User <freebsd_at_walstatt-de.de> wrote on
Date: Sun, 21 Dec 2025 10:22:31 UTC :

> Am Tage des Herren Sun, 21 Dec 2025 10:55:47 +0100
> Dag-Erling Smørgrav <[email protected]> schrieb:
> 
> > A FreeBSD User <[email protected]> writes:
> > > I'd like to go back to the status quo ante, without defining DESTDIR=/
> > > in /etc/src.conf, but it seems I'm to blunt to find the correct
> > > "switch". 
> > 
> > You have converted your system to pkgbase and want to switch back to
> > updating from source.
> 
> No, I had no chance to rescue a wrecked system other than using the latest 
> USB Flash snapshot
> CURRENT image, which doesn't contain an offline working legacy install 
> package.
> 
> > 
> > If you have pkg 2.5.0 or newer:
> > 
> > pkg unregister -fg FreeBSD-\*
> > 
> > otherwise:
> > 
> > pkg shell "delete from packages where origin like 'base/%';"
> 
> Outstanding, thanks. Done. Things seem to be as they were before ...
> 
> > 
> > Remember to run `make delete-old` after `make installworld` to remove
> > files that were installed by pkgbase but are excluded from your build.
> 
> Done. It is slightly disturbing, because there is something to delete like
> "/usr/sbin/cd|alias" which I consider as Shell commands ... ;-)

You may want to check for the likes of (a main [so: 16]
example context used for illustration):

# ls -dC1 /var/cache/pkg/FreeBSD-*.pkg
/var/cache/pkg/FreeBSD-acct-16.snap20251112131218.pkg
/var/cache/pkg/FreeBSD-acct-16.snap20251112131218~d117264470.pkg
. . .

As I understand such FreeBSD-*.pkg files/links would now be wasted
file system space usage. If true and you have such, you may want
to delete them. 'make delete-old' may not do so.

===
Mark Millard
marklmi at yahoo.com


Reply via email to