Unable to update repository FreeBSD Error updating repositories

Alfonso Siciliano alfix86 at gmail.com
Mon Oct 22 15:21:31 UTC 2018


Hello,

I have the same problem:

> Just upgraded a machine to 13-current:
> 
> FreeBSD  13.0-CURRENT FreeBSD 13.0-CURRENT #18 r339556: Sun Oct 21 

> # pkg info
> pkg: Warning: Major OS version upgrade detected.  Running "pkg-static 
> install -f pkg" recommended
> 
> What does "Warning: Major OS version upgrade detected" mean?  And what 
> should you do about it?  Thanks in advance, appreciate any help.
> 
> # pkg-static install -f pkg
> pkg-static: Warning: Major OS version upgrade detected.  Running 
> "pkg-static install -f pkg" recommended
> Updating FreeBSD repository catalogue...
> pkg-static: Repository FreeBSD load error: access repo 
> file(/var/db/pkg/repo-FreeBSD.sqlite) failed: No such file or directory
> pkg-static: http://pkg.FreeBSD.org/FreeBSD:13:amd64/latest/meta.txz: Not 
> Found
> repository FreeBSD has no meta file, using default settings
> pkg-static: 
> http://pkg.FreeBSD.org/FreeBSD:13:amd64/latest/packagesite.txz: Not Found
> Unable to update repository FreeBSD
> Error updating repositories!
> 


Moreover

/usr/sbin/pkg bootstrap -f 

gives an analogue error.

The reason is inside the file:  "/etc/pkg/repos/FreeBSD.conf", the line : 

... pkg.FreeBSD.org/${ABI}/latest/ ...


is "translated" in ...pkg.FreeBSD.org/FreeBSD:13:amd64/latest...
but currently http://pkg.FreeBSD.org/ hasn't "FreeBSD:13:amd64".

The question is: When will be it added?
(Meanwhile I/you can use the ports)


Regards
Alfonso

--- 
Alfonso S. Siciliano 
   http://alfix.gitlab.io


More information about the freebsd-ports mailing list