Re: CURRENT: bothering DESTDIR=/ issue after pkg base install

From: A FreeBSD User <freebsd_at_walstatt-de.de>
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 <des@FreeBSD.org> schrieb:

> A FreeBSD User <freebsd@walstatt-de.de> 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 ... ;-)

> 
> DES


Thank you. Kind regards

oh

-- 

A FreeBSD user