pkg update

Manish Jain bourne.identity at hotmail.com
Sat Jun 6 08:12:01 UTC 2020



On 2020-06-06 07:05, Brandon helsley wrote:
> my internet connection is up and ping is working, Although I cannot update pkg. why am i having this problem? it has happened before but starts working again after a few hours usually. this time it is for days.
> 
> 
> root at machine17:~ # pkg update
> Updating FreeBSDlatest repository catalogue...
> pkg: https://pkg.FreeBSD.org/FreeBSD:12:amd64/;latest/meta.txz: Not Found
> repository FreeBSDlatest has no meta file, using default settings
> pkg: https://pkg.FreeBSD.org/FreeBSD:12:amd64/;latest/packagesite.txz: Not Found
> Unable to update repository FreeBSDlatest
> Error updating repositories!


Hi Brendon,

This is a known problem with pkg, which sometimes happens for reasons I 
do not know. The following steps should resolve your issue :

rm -rf /var/cache/pkg/* /var/db/pkg/repo-*.sqlite
pkg bootstrap -f
pkg update -f


Regards,
Manish Jain



More information about the freebsd-questions mailing list