Re: pkg update issue
- In reply to: Budi Janto : "Re: pkg update issue"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 12 Dec 2025 23:58:47 UTC
Budi Janto <budijanto@studiokaraoke.co.id> writes:
> # fetch https://pkgmir.geo.freebsd.org/FreeBSD:15:amd64/quarterly/meta.conf
This will not work. If you want to force a specific server to be used
for pkg.freebsd.org, you will have to add entries to /etc/host.conf.
> I tried to use HTTP instead of HTTPS in /etc/pkg/FreeBSD.conf:
> FreeBSD: {
> [...]
> FreeBSD-kmods: {
> [...]
These are not the correct repository names for FreeBSD-15, meaning your
/etc/pkg/FreeBSD.conf has been tampered with.
> # pkg update -f
> Updating FreeBSD repository catalogue...
> Fetching meta.conf: 100% 179 B 0.2kB/s 00:01
> Fetching data.pkg: 100% 10 MiB 415.5kB/s 00:26
> Processing entries: 100%
If https doesn't work but http does, the reason is almost certainly that
your clock is wrong. Run `ntpdate freebsd.pool.ntp.org` and try again
with the correct configuration. And please enable the ntpd service so
your clock stays synchronized going forward.
Note that if your clock is off by a _lot_, DNS may also stop working.
DES
--
Dag-Erling Smørgrav - des@FreeBSD.org