From nobody Fri Dec 12 23:58:47 2025 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dSmd52Js9z6KXSn for ; Fri, 12 Dec 2025 23:58:49 +0000 (UTC) (envelope-from des@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dSmd51T44z3pDQ; Fri, 12 Dec 2025 23:58:49 +0000 (UTC) (envelope-from des@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765583929; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8JUESm9TJlcqV26uq96aV5JzKDcWfBJ+oeDd5ppFMfk=; b=pHo6BvAjJos+uDNqsViPQNY2347GTNEg40pLQvpVp54+WCGCABBKacKwiJdRM41fZ4Ocgy bKquSj2l2L2Jwlskt4zUR3C4riS00Sc8f08HmDqYPBAfFCf+ZSiztNeLUKqDEHyNvOyOBl L9qVqyDj37OaJwmf8JFCd8qC8sc46ZP64MAhmWMoI/Od8R4ubpMcPqNOOfXvUR4qEG3WCB 1qJH3dAbshE7xNDJMveqCp6BH9NHQXGTdl6Krpi0DCV6cYxraDw0Uhv1qbX4fH7sdwc8Pt xxA+0IGIa3qIlKs1Ops8WNgZjGof1rLvE6WhuVRomuEHsg2C0gsZduYzSbsAbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1765583929; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8JUESm9TJlcqV26uq96aV5JzKDcWfBJ+oeDd5ppFMfk=; b=v0kUGwUw7xBEPlOygvMyIYebQGwxNEybGP4/zjnR11qvSQ42L0F9fErAjFVZpsUJUqOOVd Up9t7PtcMwEzNmi/s+beXnvVv4qmXHFxeQh7R/IwHexhNja3/3FDaK2iHljdQylI6QR70H LX5UOtm5ZoC/vxfU5tOSaidIsjqJsMnPpC0KFXCCvxuzSCtQxAlAynFOYsnqKeemD7sWUW Vd4yOy05n/guMVj7s5itT5u9Cs5JkkkK8qEhta/rNxBaWeaabsab+4UGJR/wzr3FaRo9Zn RnhIdC41kkreQn3iDrERz/vRBpAJKwOMy8/uJePaELodmgtuJ/QI+rYAGUWSmQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1765583929; a=rsa-sha256; cv=none; b=LuchtH+1D4Sbnc+ME0Wx++TfcqVCdH3ohX9R2zoVMCTGOxUQ7EfIhCAJxW8p+MA5xvN2Rw cMLMAkjlZDbNsw81g5x4+yRAvjPRhj+UxHDk2ejclr5/EfXkcaQduXU0rVac4wEHIM0eEr WUFLnkffzzgbzJ08gmgwvNAlCqPRCj4WYnZ57MWgg9SgyGgUGRJoUQOpI+rfYkOqCt8q7n jpxvV2Ta8OyyNzjWeLBaBcqAWdhvDjLwyndqJzQaUBYPMWt9ZUPp9lDXVGx9IkNgQ6V8Wu zeX8XRJH0NxKLK+Rr2YbbbsrNNSTH6+yGWg9p934CyyoX6E02hOorxmt0QOZ9w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from ltc.des.dev (2a01cb0585090500922e16fffef1acef.ipv6.abo.wanadoo.fr [IPv6:2a01:cb05:8509:500:922e:16ff:fef1:acef]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: des) by smtp.freebsd.org (Postfix) with ESMTPSA id 4dSmd5067Mz1CWd; Fri, 12 Dec 2025 23:58:48 +0000 (UTC) (envelope-from des@freebsd.org) Received: by ltc.des.dev (Postfix, from userid 1001) id 6CFCA8F047; Sat, 13 Dec 2025 00:58:47 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Budi Janto Cc: Matthias Fechner , FreeBSD questions Subject: Re: pkg update issue In-Reply-To: <02668f84-bab4-4ded-97ed-f9f25019610e@studiokaraoke.co.id> (Budi Janto's message of "Fri, 12 Dec 2025 14:58:14 +0700") References: <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> User-Agent: Gnus/5.13 (Gnus v5.13) Date: Sat, 13 Dec 2025 00:58:47 +0100 Message-ID: <864ipvb6bs.fsf@ltc.des.dev> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Budi Janto writes: > # fetch https://pkgmir.geo.freebsd.org/FreeBSD:15:amd64/quarterly/meta.co= nf 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 --=20 Dag-Erling Sm=C3=B8rgrav - des@FreeBSD.org