Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Dec 2025 10:55:47 +0100
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@FreeBSD.org>
To:        A FreeBSD User <freebsd@walstatt-de.de>
Cc:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   Re: CURRENT: bothering DESTDIR=/ issue after pkg base install
Message-ID:  <86a4zc6twc.fsf@ltc.des.dev>
In-Reply-To: <20251220220852.721916c7@thor.sb211.local> (A. FreeBSD User's message of "Sat, 20 Dec 2025 22:08:25 %2B0100")
References:  <20251220220852.721916c7@thor.sb211.local>

index | next in thread | previous in thread | raw e-mail

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.

If you have pkg 2.5.0 or newer:

    pkg unregister -fg FreeBSD-\*

otherwise:

    pkg shell "delete from packages where origin like 'base/%';"

Remember to run `make delete-old` after `make installworld` to remove
files that were installed by pkgbase but are excluded from your build.

DES
-- 
Dag-Erling Smørgrav - des@FreeBSD.org


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86a4zc6twc.fsf>