Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Aug 2025 04:46:00 +0100
From:      Graham Perrin <grahamperrin@gmail.com>
To:        freebsd-pkg@freebsd.org
Subject:   Difficulty with the FreeBSD-ports repo whilst booted from a FreeBSD Installer on a memory stick
Message-ID:  <65c360bf-6f77-4013-830e-8688c8b03dcf@gmail.com>

index | next in thread | raw e-mail

[-- Attachment #1 --]
Booted from 
|FreeBSD-14.3-STABLE-amd64-20250814-7b9f6ebb9268-272178-mini-memstick.img| 
on a memory stick.

Two repositories enabled, *minimally configured* – in particular, no 
|signature_type|:

 1. FreeBSD-base
 2. FreeBSD-ports

The *FreeBSD-ports* repo can not be updated.

Debug level 1 output below.


|Script started on Sat Aug 16 10:11:30 2025 # uname -mvKU FreeBSD 
14.3-STABLE stable/14-n272178-7b9f6ebb9268 GENERIC amd64 1403504 1403504 
# pkg -v 2.2.2 # zpool list -v NAME SIZE ALLOC FREE CKPOINT EXPANDSZ 
FRAG CAP DEDUP HEALTH ALTROOT damp 111G 3.23G 108G - - 10% 2% 1.00x 
ONLINE /tmp/altroot ada0p3 112G 3.23G 108G - - 10% 2.90% - ONLINE # pkg 
repos -e FreeBSD-ports: { url : 
"https://pkg.freebsd.org/FreeBSD:14:amd64/quarterly", enabled : yes, 
priority : 0 } FreeBSD-base: { url : 
"https://pkg.freebsd.org/FreeBSD:14:amd64/base_weekly", enabled : yes, 
priority : 0 } # pkg update Updating FreeBSD-ports repository 
catalogue... Fetching meta.conf: 0% Fetching meta.conf: 100% 179 B 
0.2kB/s 00:01 Fetching data.pkg: 0% Fetching data.pkg: 0% 32 KiB 
32.4kB/s 05:19 ETA Fetching data.pkg: 69% 7 MiB 7.2MB/s 00:00 ETA 
Fetching data.pkg: 100% 10 MiB 5.2MB/s 00:02 pkg: Error extracting the 
archive: 'Write error' pkg: Repo extraction failed FreeBSD-ports 
repository is up to date. Updating FreeBSD-base repository catalogue... 
FreeBSD-base repository is up to date. All repositories are up to date. 
# pkg -d update Updating FreeBSD-ports repository catalogue... 
DBG(1)[1321]> PkgRepo: verifying update for FreeBSD-ports DBG(1)[1321]> 
PkgRepo: need forced update of FreeBSD-ports DBG(1)[1321]> Pkgrepo, 
begin update of '/var/db/pkg/repos/FreeBSD-ports/db' DBG(1)[1321]> 
(fetch) Request to fetch 
https://pkg.freebsd.org/FreeBSD:14:amd64/quarterly/meta.conf 
DBG(1)[1321]> (fetch) Fetch: fetcher used: https Fetching meta.conf: 0% 
Fetching meta.conf: 100% 179 B 0.2kB/s 00:01 DBG(1)[1321]> (fetch) 
Request to fetch 
https://pkg.freebsd.org/FreeBSD:14:amd64/quarterly/data.pkg 
DBG(1)[1321]> (fetch) Fetch: fetcher used: https Fetching data.pkg: 0% 
Fetching data.pkg: 0% 32 KiB 32.4kB/s 05:19 ETA Fetching data.pkg: 55% 5 
MiB 5.7MB/s 00:01 ETA Fetching data.pkg: 100% 10 MiB 5.2MB/s 00:02 
DBG(1)[1321]> PkgRepo: extracting data of repo FreeBSD-ports 
DBG(1)[1322]> PkgRepo: extracting signature of repo in a sandbox pkg: 
Error extracting the archive: 'Write error' pkg: Repo extraction failed 
DBG(1)[1321]> (fetch) Request to fetch 
https://pkg.freebsd.org/FreeBSD:14:amd64/quarterly/packagesite.pkg 
DBG(1)[1321]> (fetch) Fetch: fetcher used: https FreeBSD-ports 
repository is up to date. Updating FreeBSD-base repository catalogue... 
DBG(1)[1321]> PkgRepo: verifying update for FreeBSD-base DBG(1)[1321]> 
Pkgrepo, begin update of '/var/db/pkg/repos/FreeBSD-base/db' 
DBG(1)[1321]> (fetch) Request to fetch 
https://pkg.freebsd.org/FreeBSD:14:amd64/base_weekly/meta.conf 
DBG(1)[1321]> (fetch) Fetch: fetcher used: https DBG(1)[1321]> (fetch) 
Request to fetch 
https://pkg.freebsd.org/FreeBSD:14:amd64/base_weekly/data.pkg 
DBG(1)[1321]> (fetch) Fetch: fetcher used: https FreeBSD-base repository 
is up to date. All repositories are up to date. # exit Script done on 
Sat Aug 16 10:13:37 2025|


[-- Attachment #2 --]
<!DOCTYPE html>
<html data-lt-installed="true">
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body style="padding-bottom: 1px;">
    <p>Booted from <code>FreeBSD-14.3-STABLE-amd64-20250814-7b9f6ebb9268-272178-mini-memstick.img</code>
      on a memory stick. </p>
    <p>Two repositories enabled, <strong>minimally configured</strong>
      – in particular, no <code>signature_type</code>: </p>
    <ol>
      <li>FreeBSD-base</li>
      <li>FreeBSD-ports</li>
    </ol>
    <p>The <strong>FreeBSD-ports</strong> repo can not be updated. </p>
    <p>Debug level 1 output below. </p>
    <p><br>
    </p>
    <pre><code>Script started on Sat Aug 16 10:11:30 2025
# uname -mvKU
FreeBSD 14.3-STABLE stable/14-n272178-7b9f6ebb9268 GENERIC amd64 1403504 1403504
# pkg -v
2.2.2
# zpool list -v
NAME        SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP    HEALTH  ALTROOT
damp        111G  3.23G   108G        -         -    10%     2%  1.00x    ONLINE  /tmp/altroot
  ada0p3    112G  3.23G   108G        -         -    10%  2.90%      -    ONLINE
# pkg repos -e
FreeBSD-ports: { 
    url             : <a class="moz-txt-link-rfc2396E" href="https://pkg.freebsd.org/FreeBSD:14:amd64/quarterly">"https://pkg.freebsd.org/FreeBSD:14:amd64/quarterly"</a>,
    enabled         : yes,
    priority        : 0
  }
FreeBSD-base: { 
    url             : <a class="moz-txt-link-rfc2396E" href="https://pkg.freebsd.org/FreeBSD:14:amd64/base_weekly">"https://pkg.freebsd.org/FreeBSD:14:amd64/base_weekly"</a>,
    enabled         : yes,
    priority        : 0
  }
# pkg update
Updating FreeBSD-ports repository catalogue...
Fetching meta.conf:   0%
Fetching meta.conf: 100%    179 B   0.2kB/s    00:01    
Fetching data.pkg:   0%
Fetching data.pkg:   0%   32 KiB  32.4kB/s    05:19 ETA
Fetching data.pkg:  69%    7 MiB   7.2MB/s    00:00 ETA
Fetching data.pkg: 100%   10 MiB   5.2MB/s    00:02    
pkg: Error extracting the archive: 'Write error'
pkg: Repo extraction failed
FreeBSD-ports repository is up to date.
Updating FreeBSD-base repository catalogue...
FreeBSD-base repository is up to date.
All repositories are up to date.
# pkg -d update
Updating FreeBSD-ports repository catalogue...
DBG(1)[1321]&gt; PkgRepo: verifying update for FreeBSD-ports
DBG(1)[1321]&gt; PkgRepo: need forced update of FreeBSD-ports
DBG(1)[1321]&gt; Pkgrepo, begin update of '/var/db/pkg/repos/FreeBSD-ports/db'
DBG(1)[1321]&gt; (fetch) Request to fetch <a class="moz-txt-link-freetext" href="https://pkg.freebsd.org/FreeBSD:14:amd64/quarterly/meta.conf">https://pkg.freebsd.org/FreeBSD:14:amd64/quarterly/meta.conf</a>;
DBG(1)[1321]&gt; (fetch) Fetch: fetcher used: https
Fetching meta.conf:   0%
Fetching meta.conf: 100%    179 B   0.2kB/s    00:01    
DBG(1)[1321]&gt; (fetch) Request to fetch <a class="moz-txt-link-freetext" href="https://pkg.freebsd.org/FreeBSD:14:amd64/quarterly/data.pkg">https://pkg.freebsd.org/FreeBSD:14:amd64/quarterly/data.pkg</a>;
DBG(1)[1321]&gt; (fetch) Fetch: fetcher used: https
Fetching data.pkg:   0%
Fetching data.pkg:   0%   32 KiB  32.4kB/s    05:19 ETA
Fetching data.pkg:  55%    5 MiB   5.7MB/s    00:01 ETA
Fetching data.pkg: 100%   10 MiB   5.2MB/s    00:02    
DBG(1)[1321]&gt; PkgRepo: extracting data of repo FreeBSD-ports
DBG(1)[1322]&gt; PkgRepo: extracting signature of repo in a sandbox
pkg: Error extracting the archive: 'Write error'
pkg: Repo extraction failed
DBG(1)[1321]&gt; (fetch) Request to fetch <a class="moz-txt-link-freetext" href="https://pkg.freebsd.org/FreeBSD:14:amd64/quarterly/packagesite.pkg">https://pkg.freebsd.org/FreeBSD:14:amd64/quarterly/packagesite.pkg</a>;
DBG(1)[1321]&gt; (fetch) Fetch: fetcher used: https
FreeBSD-ports repository is up to date.
Updating FreeBSD-base repository catalogue...
DBG(1)[1321]&gt; PkgRepo: verifying update for FreeBSD-base
DBG(1)[1321]&gt; Pkgrepo, begin update of '/var/db/pkg/repos/FreeBSD-base/db'
DBG(1)[1321]&gt; (fetch) Request to fetch <a class="moz-txt-link-freetext" href="https://pkg.freebsd.org/FreeBSD:14:amd64/base_weekly/meta.conf">https://pkg.freebsd.org/FreeBSD:14:amd64/base_weekly/meta.conf</a>;
DBG(1)[1321]&gt; (fetch) Fetch: fetcher used: https
DBG(1)[1321]&gt; (fetch) Request to fetch <a class="moz-txt-link-freetext" href="https://pkg.freebsd.org/FreeBSD:14:amd64/base_weekly/data.pkg">https://pkg.freebsd.org/FreeBSD:14:amd64/base_weekly/data.pkg</a>;
DBG(1)[1321]&gt; (fetch) Fetch: fetcher used: https
FreeBSD-base repository is up to date.
All repositories are up to date.
# exit

Script done on Sat Aug 16 10:13:37 2025</code></pre>
    <p><br>
    </p>
  </body>
  <lt-container></lt-container>
</html>
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?65c360bf-6f77-4013-830e-8688c8b03dcf>