Re: how to set PACKAGESITE for old release
- In reply to: Polytropon : "Re: how to set PACKAGESITE for old release"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 10 Dec 2023 08:44:51 UTC
On 10/12/2023 07:11, Polytropon wrote:
> 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?
I'm afraid this isn't going to work at all. For one simple reason:
`ftp-archive.freebsd.org` does not contain any of the .pkg files pkg(8)
deals with.
I'm afraid there aren't packages available anywhere for a version of the
OS that old: space is limited on the servers, and currently supported
versions of the OS are prioritised.
If the OP needs updates to ported software on a 10.2 system, about the
only thing they can do is check out a copy of the ports tree from eg.
https://github.com/freebsd/freebsd-ports (other mirrors are available)
and compile their own. Even that will be difficult -- 10.2 hasn't been
supported in the ports for years, and you'ld have to checkout a many-
years old revision to get something that just worked.
Cheers,
Matthew