Solved pkg sight forbidden


latest and quarterly are forbidden , I just did a fresh install of Fbsd 12 and am getting a forbidden when trying to install pkg, and in ports it failed to build. fresh port extract so yeah, it failed.

did this
from post #35 fm MiNi FaQ on pkg in that link below.
Code:
FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest" }
and it gave me some "i do not know what you're talking about" error, indecating that the web addess is wrong is all. I do not at the moment know what ${ABI} value is ...


so i am back in Linux posting this...
 
Tried using https instead of http?

EDIT: default .conf file uses http, so it shouldn't be the issue, sorry.

Anyway, the link works for me, opening it in browser.
 
Tried using https instead of http?

EDIT: default .conf file uses http, so it shouldn't be the issue, sorry.

Anyway, the link works for me, opening it in browser.
Screenshot_2020-01-25_12-05-45.png


I went back and ran this and echo'ed each line into a file then mounted my linux partiton copied it over and in Linux to post it. I removed that mod I did / removed the file from the mini faq suggestion then here...
Code:
root@FreeBSD:~ # pkg update
Updating FreeBSD repository catalogue...
pkg: http://pkg.FreeBSD.org/FreeBSD:12:amd64/quarterly/meta.txz: Forbidden
repository FreeBSD has no meta file, using default settings
pkg: http://pkg.FreeBSD.org/FreeBSD:12:amd64/quarterly/packagesite.txz: Forbidden
Unable to update repository FreeBSD 
Error updating repositories!

that is what it is doing.
 
Try these other mirrors:

pkg0.cyb.freebsd.org
pkg0.isc.freebsd.org
pkg0.jinx.freebsd.org
pkg0.kwc.freebsd.org
pkg0.nyi.freebsd.org
pkg0.tuk.freebsd.org
pkg0.twn.freebsd.org
 
Try these other mirrors:

pkg0.cyb.freebsd.org
pkg0.isc.freebsd.org
pkg0.jinx.freebsd.org
pkg0.kwc.freebsd.org
pkg0.nyi.freebsd.org
pkg0.tuk.freebsd.org
pkg0.twn.freebsd.org
excuse my ignorance, but what file and where is it, so I can edit it? I do assum it is a pkg conf file located somewhere on the system. ;)

can't mount ufs in linux to edit it then boot into it to check it. :(:(

found this
then clicking on the
Code:
This server's package sets:
FreeBSD:12:amd64
link to that sight(?) it comes up forbidden too

I tried a few of them and they are all the same.

Screenshot_2020-01-25_12-05-45.png


notice the leading address pkg0.cyb
 
Can you ping the URL's?
yes, I even portsnap extract the system

I think if I change that mini fqa file suggestion.
Code:
http://pkg0.cyb.freebsd.org/FreeBSD:12:amd64/
from this FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest" }
to that
FreeBSD: { url: "pkg+http:/pkg0.cyb.freebsd.org/${ABI}/latest" }
I am going to try that now.
 
Okay this is where I am at now....
in
To configure pkg(8) to pick up the 'latest' packages instead of 'quarterly', create a file /usr/local/etc/pkg/repos/FreeBSD.conf:
Code:
FreeBSD: { url: "pkg+http://pkg0.cyb.freebsd.org/${ABI}/latest" }
that got me pkg update to work, BUT...
I can search the pkg search (something) it shows up then to install it, I get this.
Code:
pkg: http://pkg0.cyb.freebsd.org/FreeBSD:12:amd64/latest/All/xorg-7.7_3.txz: Not Found

I did how ever navigate the web page

http://pkg0.cyb.freebsd.org/FreeBSD:12:amd64/release_1/All/
and found xorg

so In assumtion I'd have to change that config to read this?

FreeBSD: { url: "pkg+http://pkg0.cyb.freebsd.org/${ABI}/release_1" }

then when it changes I got to update that whereas this was a never had to do that before situation. or is that release_1 before the stable release?
 
it just started working, the sight, after a bit, it unclogged itself I guess, using that set up above.
FreeBSD: { url: "pkg+http:/pkg0.cyb.freebsd.org/${ABI}/latest" }
 
Back
Top