I am having considerable trouble now, while trying to install packages.
My system is FreeBSD 14.2 -RELEASE and worked fine for some time. But now I am getting the following result when I try to install a package:
I tried to follow the advice given by SirDice in a previous thread by editing the file FreeBSD.conf which was supposed to be in /usr/local/etc/pkg/repos but there is no such file there.
I DID find FreeBSD.conf in two other directories, but editing them according to SirDice's advice made no difference.
I will try copying the FreeBSD.conf into the directory suggested by SirDice by making that dir, but at the moment, I am stuck.
Ha! I edited FreeBSD.conf and removed the "words" pkg+ which were ahead of the URL and now everything works correctly. I don't understand why, but it now works.
Ken Gordon
My system is FreeBSD 14.2 -RELEASE and worked fine for some time. But now I am getting the following result when I try to install a package:
Code:
Updating FreeBSD repository catalogue...
pkg: packagesite URL error for pkg+https://pkg.freebsd.org/FreeBSD:14:amd64/quarterly/meta.conf -- pkg+:// implies SRV mirror type
pkg: packagesite URL error for pkg+https://pkg.freebsd.org/FreeBSD:14:amd64/quarterly/meta.txz -- pkg+:// implies SRV mirror type
repository FreeBSD has no meta file, using default settings
pkg: packagesite URL error for pkg+https://pkg.freebsd.org/FreeBSD:14:amd64/quarterly/data.pkg -- pkg+:// implies SRV mirror type
pkg: packagesite URL error for pkg+https://pkg.freebsd.org/FreeBSD:14:amd64/quarterly/data.txz -- pkg+:// implies SRV mirror type
pkg: packagesite URL error for pkg+https://pkg.freebsd.org/FreeBSD:14:amd64/quarterly/packagesite.pkg -- pkg+:// implies SRV mirror type
pkg: packagesite URL error for pkg+https://pkg.freebsd.org/FreeBSD:14:amd64/quarterly/packagesite.txz -- pkg+:// implies SRV mirror type
Unable to update repository FreeBSD
Error updating repositories!
I tried to follow the advice given by SirDice in a previous thread by editing the file FreeBSD.conf which was supposed to be in /usr/local/etc/pkg/repos but there is no such file there.
I DID find FreeBSD.conf in two other directories, but editing them according to SirDice's advice made no difference.
I will try copying the FreeBSD.conf into the directory suggested by SirDice by making that dir, but at the moment, I am stuck.
Ha! I edited FreeBSD.conf and removed the "words" pkg+ which were ahead of the URL and now everything works correctly. I don't understand why, but it now works.
Ken Gordon