Date: Sat, 13 Dec 2025 00:58:47 +0100 From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@FreeBSD.org> To: Budi Janto <budijanto@studiokaraoke.co.id> Cc: Matthias Fechner <idefix@fechner.net>, FreeBSD questions <freebsd-questions@freebsd.org> Subject: Re: pkg update issue Message-ID: <864ipvb6bs.fsf@ltc.des.dev> In-Reply-To: <02668f84-bab4-4ded-97ed-f9f25019610e@studiokaraoke.co.id> (Budi Janto's message of "Fri, 12 Dec 2025 14:58:14 %2B0700") References: <d9509bd8-00ce-414d-adc3-21a52c991418@studiokaraoke.co.id> <1f3fdb45-d45a-40b4-9de9-0c520b3e3c7a@fechner.net> <03691cf8-050d-483d-a2f2-824b7e7a1e4f@fechner.net> <799a2865-4d1f-4151-99f2-918a466721f6@studiokaraoke.co.id> <33311522-dc5d-4b95-b52b-4e593c53532a@fechner.net> <02668f84-bab4-4ded-97ed-f9f25019610e@studiokaraoke.co.id>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?864ipvb6bs.fsf>
