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

A FreeBSD User <[email protected]>
Newsgroups gmane.os.freebsd.current
Message-ID <[email protected]>
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 ... ;-)

> 
> DES


Thank you. Kind regards

oh

-- 

A FreeBSD user
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQRQheDybVktG5eW/1Kxzvs8OqokrwUCaUfKggAKCRCxzvs8Oqok
ryKeAQCGAmKno4iyQaQj9eFZePAAbAcyQNSQctaopfPCLB8tRgEAxZuKlFNsheRO
VsERBA33g3rilq6OAwWRyPYkJ3nQmgk=
=9jS4
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.