On 9/23/25 13:30, John Paul Adrian Glaubitz wrote:
On Sep 23, 2025, at 7:14 PM, Dennis Clarke <[email protected]> wrote:
On 9/23/25 04:19, John Paul Adrian Glaubitz wrote:
On Tue, 2025-09-23 at 03:57 -0400, Dennis Clarke wrote:
Not sure what kind of host system you're doing this on
wheezy.
Well, that information is necessary.
So tomorrow is another day.
Try:
# wget
http://ftp.debian.org/debian/pool/main/d/debian-ports-archive-keyring/debian-ports-archive-keyring_2025.04.05_all.deb
# dpkg -i debian-ports-archive-keyring_2025.04.05_all.deb
...
Just pass "--no-check-gpg" to debootstrap then to skip GPG verification.
The debootstrap seems to work and then produced nothing useful.
At the very least it is a file system with nothing in it that
I could do a chroot with. There are a pile of deb packages in
a directory structure but nothing else.
Feels like this machine will go to Gentoo again and the new S7-2 will
try Debian. I can coordinate with Tony Rodriguez with regards to the
modern S7-2 because he has that working.
debootstrap definitely works. But unless you provide the debootstrap.log file,
I cannot tell you what’s wrong.
Likely some small mistake on my part.
nix# cd /mnt/debootstrap/
nix#
nix# debootstrap \
--keyring=/usr/share/keyrings/debian-ports-archive-keyring.gpg \
--include=debian-ports-archive-keyring,wget \
--arch=sparc64 unstable \
/mnt/debootstrap http://ftp.ports.debian.org/debian-ports
I: Retrieving Release
I: Retrieving Release.gpg
I: Checking Release signature
I: Valid Release signature (key id 519759FBC670BFA6C87E42413AF65F93D6FBC5B9)
I: Retrieving Packages
I: Validating Packages
I: Resolving dependencies of required packages...
I: Resolving dependencies of base packages...
I: Found additional required dependencies: debian-archive-keyring
gcc-15-base libacl1 libapt-pkg7.0 libattr1 libaudit-common libaudit1
libblkid1 libbsd0 libbz2-1.0 libc6 libcap-ng0 libcap2 libcrypt1
libdb5.3t64 libdebconfclient0 libgcc-s1 libgmp10 libhogweed6t64
liblastlog2-2 liblz4-1 liblzma5 libmd0 libmount1 libnettle8t64 libpam0g
libpcre2-8-0 libselinux1 libsemanage-common libsemanage2 libsepol2
libsmartcols1 libsqlite3-0 libssl3t64 libstdc++6 libsystemd0 libtinfo6
libudev1 libuuid1 libxxhash0 libzstd1 openssl-provider-legacy sqv zlib1g
I: Found additional base dependencies: libbpf1 libcap2-bin libcom-err2
libedit2 libelf1t64 libext2fs2t64 libfdisk1 libffi8 libgnutls30t64
libgssapi-krb5-2 libidn2-0 libjansson4 libk5crypto3 libkeyutils1
libkmod2 libkrb5-3 libkrb5support0 liblocale-gettext-perl libmnl0
libncursesw6 libnewt0.52 libnftables1 libnftnl11 libp11-kit0 libpopt0
libproc2-0 libpsl5t64 libreadline8t64 libslang2 libss2 libsystemd-shared
libtasn1-6 libtext-charwidth-perl libtext-iconv-perl
libtext-wrapi18n-perl libtirpc-common libtirpc3t64 libunistring5
libxtables12 logsave
I: Checking component main on http://ftp.ports.debian.org/debian-ports...
I: Retrieving adduser
I: Validating adduser
I: Retrieving cron-daemon-common
I: Validating cron-daemon-common
I: Retrieving debconf-i18n
I: Validating debconf-i18n
.
.
.
I: Retrieving whiptail
I: Validating whiptail
I: Retrieving zlib1g
I: Validating zlib1g
I: Chosen extractor for .deb packages: dpkg-deb
I: Extracting debconf...
nix#
nix# pwd
/mnt/debootstrap
nix# ls -la /mnt/debootstrap/
total 48
drwxr-xr-x 9 root root 4096 Sep 23 12:39 .
drwxr-xr-x 5 root root 4096 Sep 22 16:01 ..
drwxr-xr-x 2 root root 4096 Sep 23 04:14 debootstrap
drwx------ 2 root root 16384 Sep 22 16:01 lost+found
drwxr-xr-x 4 root root 4096 Sep 23 03:53 var
nix#
nix# cd /mnt/debootstrap/debootstrap/
nix# ls -a
. .. debootstrap.log debpaths
OKay .. a log file and some txt file.
nix# cat debootstrap.log
gpgv: Signature made Tue Sep 23 03:41:37 2025 EDT using RSA key ID D6FBC5B9
gpgv: Good signature from "Debian Ports Archive Automatic Signing Key
(2025) <[email protected]>"
dpkg-deb: error: archive
'.//var/cache/apt/archives/debconf_1.5.91_all.deb' contains not
understood data member control.tar.xz, giving up
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
nix#
Right. So it looks like all the deb packages are of the modern type
and this old wheezy can not process them. That seems to be the problem.
I am going to fire off mkfs.ext4 and create a new clean filesystem.
--
--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken