PKG_PATH is searched first for packages anyway, no need to remove installurl for that.

--
 Sent from a phone, apologies for poor formatting.

On 7 November 2026 17:13:14 Roderick <[email protected]> wrote:

Am Fr., 30. Okt. 2026 um 12:09 Uhr schrieb Stuart Henderson
<[email protected]>:

On 2026-10-30, Roderick <[email protected]> wrote:
Can /etc/installurl contain something of the form:

file:///mnt/OpenBSD

Where over /mnt a usb stick is mounted that contains
part of the mirror that is relevant to the new
release, including packages?

yes

Thanks, but it is not working. I have packages in
/mnt/OpenBSD/8.0/packages/amd64,
and get the answer that file:///mnt/OpenBSD/8.0/packages-stable/amd64 is empty.

Adding an empty packages-stable/amd64 does not help.

What works is setting the environment variable PKG_PATH.

Is it possible to delete /etc/installurl", so that first is search on
$PKG_PATH ?

All this theatre is because I want to be able to upgrade the system
with bad internet or without internet.

Thanks
Rod.

Reply via email to