Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Jun 2020 13:25:42 +0530
From:      Manish Jain <bourne.identity@hotmail.com>
To:        Brandon helsley <brandon.helsley@hotmail.com>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: pkg update
Message-ID:  <DB8PR06MB6442774CD0501939D4E50FB2F6870@DB8PR06MB6442.eurprd06.prod.outlook.com>
In-Reply-To: <CY4PR19MB0104E7C06DA8C433858466ABF9870@CY4PR19MB0104.namprd19.prod.outlook.com>
References:  <CY4PR19MB0104E7C06DA8C433858466ABF9870@CY4PR19MB0104.namprd19.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help


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@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DB8PR06MB6442774CD0501939D4E50FB2F6870>