Re: pkg update issue

Jeff Lloyd <[email protected]>
Newsgroups gmane.os.freebsd.stable
Message-ID <CAFzDrH+t4Oahuoj5kaX=o-N-rB+1XUvMwBD38hcA6MUU1UW+jw@mail.gmail.com>
Thank you for sharing!

On Fri, Jan 9, 2026, 4:32 AM Gerrit Kühn <[email protected]> wrote:

> Hello all,
>
> I think I found and fixed the problem (and of course it was actually
> simple and all my fault, sorry for the noise):
> I had been running another dhclient manually on a second network
> interface on the machine which left the system with two default routes:
>
> ---
> # netstat -rn
> Routing tables
>
> Internet:
> Destination        Gateway            Flags         Netif Expire
> default            192...     UGS            ice0
> default            10...         UGS            ice1
> [...]
> ---
>
>
> ssh and other things were still working fine, but pkg obviously wasn't
> happy. After removing the extra route it runs fast and without any
> error.
>
> I don't know how this messed up pkg, but "No error" was one of the most
> helpful error messages I've ever seen. ;-)
>
>
> cu
>   Gerrit
>
>
>
> On Thu, 8 Jan 2026 16:35:18 +0100
> Gerrit Kühn <[email protected]> wrote:
>
> > Hello,
> >
> > I have two new systems freshly installed (and to my best knowledge
> > identically) with FreeBSD 15.0 (via memstick image using the new
> > "packaged base"). One updates the pkg database with "pkg update" just
> > fine (and as expected).
> > However, the other one complains with something like this (takes ages,
> > obviously running into timeouts):
> >
> > ---
> > # pkg update
> > Updating FreeBSD-ports repository catalogue...
> > pkg: Failed to
> > fetch https://pkg.FreeBSD.org/FreeBSD:15:amd64/quarterly/meta.conf:
> > No error pkg: Failed to fetch
> > https://pkg.FreeBSD.org/FreeBSD:15:amd64/quarterly/meta.txz: No error
> > repository FreeBSD-ports has no meta file, using default settings
> > pkg: Failed to fetch
> > https://pkg.FreeBSD.org/FreeBSD:15:amd64/quarterly/data.pkg: No error
> > pkg: Failed to fetch
> > https://pkg.FreeBSD.org/FreeBSD:15:amd64/quarterly/data.tzst: No
> > error pkg: Failed to fetch
> > https://pkg.FreeBSD.org/FreeBSD:15:amd64/quarterly/packagesite.pkg:
> > No error Unable to update repository FreeBSD-ports Updating
> > FreeBSD-ports-kmods repository catalogue.. pkg: Failed to fetch
> > https://pkg.FreeBSD.org/FreeBSD:15:amd64/kmods_quarterly_0/meta.conf:
> > No error pkg: Failed to fetch
> > https://pkg.FreeBSD.org/FreeBSD:15:amd64/kmods_quarterly_0/meta.txz:
> > No error repository FreeBSD-ports-kmods has no meta file, using
> > default settings pkg: Failed to fetch
> > https://pkg.FreeBSD.org/FreeBSD:15:amd64/kmods_quarterly_0/data.pkg:
> > No error pkg: Failed to fetch
> > https://pkg.FreeBSD.org/FreeBSD:15:amd64/kmods_quarterly_0/data.tzst:
> > No error pkg: Failed to fetch
> >
> https://pkg.FreeBSD.org/FreeBSD:15:amd64/kmods_quarterly_0/packagesite.pkg
> :
> > No error pkg: Failed to fetch
> >
> https://pkg.FreeBSD.org/FreeBSD:15:amd64/kmods_quarterly_0/packagesite.tzst
> :
> > No error Unable to update repository FreeBSD-ports-kmods Updating
> > FreeBSD-base repository catalogue... [...]
> > ---
> >
> >
> > The machines are on the same network, pkg.freebsd.org is reachable, I
> > cannot see any difference in /etc/pkg/FreeBSD.conf,
> > /usr/local/etc/pkg.conf and /usr/local/etc/pkg/repos/FreeBSD.conf
> > settings (I did not touch any of these after installation, anyway). I
> > am running a bit out of ideas here, no useful answer from websearch,
> > either. What might be wrong?
> >
> >
> > cu
> >   Gerrit
>
>
> --
> Dr. Gerrit Kuehn
> Max-Planck-Institut fuer Gravitationsphysik
> Albert-Einstein-Institut
> Callinstrasse 38
> 30167 Hannover
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.