If I do pkg update I get:

Updating FreeBSD repository catalogue...
pkg: http://pkg.FreeBSD.org/freebsd:9:x86:32/latest/meta.txz: Not Found
repository FreeBSD has no meta file, using default settings
pkg: http://pkg.FreeBSD.org/freebsd:9:x86:32/latest/packagesite.txz: Not Found
Unable to update repository FreeBSD

Despite the fact that if I go to http://pkg.FreeBSD.org/freebsd:9:x86:32/latest/ I can see meta.txz and packagesize.txz.

I did curl of http://pkg.FreeBSD.org/freebsd:9:x86:32/latest/ and it shows

<head><title>404 Not Found</title></head>
<body bgcolor="white">
<center><h1>404 Not Found</h1></center>

Why is this happening?


The output of fetch -o - -vv http://pkg.FreeBSD.org/freebsd:9:x86:32/latest inside the jail

scheme:   [http]
user:     []
password: []
host:     [pkg.FreeBSD.org]
port:     [0]
document: [/freebsd:9:x86:32/latest/]
---> pkg.FreeBSD.org:80
looking up pkg.FreeBSD.org
connecting to pkg.FreeBSD.org:80
requesting http://pkg.FreeBSD.org/freebsd:9:x86:32/latest/
>>> GET /freebsd:9:x86:32/latest/ HTTP/1.1
>>> Host: pkg.FreeBSD.org
>>> User-Agent: fetch libfetch/2.0
>>> Connection: close
<<< HTTP/1.1 404 Not Found
<<< Server: nginx
<<< Date: Sun, 17 Mar 2019 21:47:44 GMT
<<< Content-Type: text/html
<<< Content-Length: 162
<<< Connection: close
content length: [162]
offset 0, length -1, size -1, clength 162

404 Not Found

404 Not Found

fetch: http://pkg.FreeBSD.org/freebsd:9:x86:32/latest/: Not Found
  • 1
    Using the curl from Ubuntu Linux I don't get the error message. – Weijun Zhou Mar 11 at 22:54
  • I cannot reproduce this with FreeBSD and fetch -vv. – JdeBP Mar 12 at 7:50
  • I have freebsd 9 , which version are you with? – Ariel Baron Mar 12 at 8:59
  • The note there says it is no longer updated but, to me, that doesn't mean removed. However, I wonder if 32-bit support was removed from this very old version of FreeBSD. I doubt it so you might file a bug report to see if it's just a misconfiguration. – Rob Mar 12 at 11:46
  • It isn't a removal, Rob, because (as I said) with fetch -vv on FreeBSD I, like the other commenter, get the actual repository. There is no 404 page there when we fetch it. – JdeBP Mar 12 at 12:04

Open in browser http://pkg.freebsd.org/

You'll see the disclaimer "... NOT guarantee uptime ..." and the list of other mirrors


You'll also see there is no such repo


Instead there are FreeBSD 9 repos (no longer updated)

  • So does this mean that with my current version of freebsd, I will no longer be able to install packages? – Ariel Baron Mar 12 at 22:10
  • I don't know. I don't know who is managing freebsd:9:x86:32/. There is no such site in the list of mirrors.The End-of-Life FreeBSD 9 was January, 2017. Time to upgrade. – Vladimir Botka Mar 12 at 22:25
  • 1
    Both fetch -o - -vv http://pkg.FreeBSD.org/freebsd:9:x86:32/latest/ and curl -v http://pkg.FreeBSD.org/freebsd:9:x86:32/latest/ get the correct page for me (and others!). You can still install packages for FreeBSD 9. Add results from verbose fetch or curl to your question (to see which mirror you resolve). Probably not an uptime issue as you get a 404. – Claus Andersen Mar 13 at 9:28
  • I added it to the question. It shows 404 only inside the jail – Ariel Baron Mar 17 at 21:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.