Re: how to set PACKAGESITE for old release

From: Polytropon <freebsd_at_edvax.de>
Date: Sun, 10 Dec 2023 07:11:32 UTC
On Sun, 10 Dec 2023 05:11:04 +0800, hlyg wrote:
> i've installed 10.2 and run "pkg", default configuration no longer works
> 
> how to change it to use 
> http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/

Sorry, I cannot test this, but does chaning the file
/usr/local/etc/pkg/repos/FreeBSD.conf to contain

FreeBSD: {
	url: "pkg+http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/"
}

work in your situation? Just for testing?

Please see "man 5 pkg.conf", the EXAMPLES section,
last entry, for a tidy solution. :-)




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...