matthew at FreeBSD.org
Mon Jun 8 06:09:35 UTC 2020
On 06/06/2020 04:07, David Christensen wrote:
> On 2020-06-05 18:35, 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
> That URL is bad. If I remove the semicolon before 'latest', it works:
> My guess is that you have a bad configuration setting (?).
That's a good call, but the OP would want to look at the repository
config file rather than the global pkg.conf
That's either /etc/pkg/FreeBSD.conf or /usr/local/etc/pkg/repos/*.conf
-- the first is the stock config file which people frequently edit to
switch from the quarterly package set to the latest set, wheras the
second could be present as an overlay to achieve the same effect. UCL
(which is what pkg.conf is written in) has a design feature to merge
content from several different configuration files which is at once
pretty confusing and incredibly powerful.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 963 bytes
Desc: OpenPGP digital signature
More information about the freebsd-questions