[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Trying to piece together a procedure that works : debootstrap and gpg keys?



On 9/23/25 03:06, John Paul Adrian Glaubitz wrote:
On Mon, 2025-09-22 at 22:30 -0400, Dennis Clarke wrote:
...
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


I will manually extract that and then drop the files in place :

nix# file debian-ports-archive-keyring_2025.04.05_all.deb
debian-ports-archive-keyring_2025.04.05_all.deb: Debian binary package (format 2.0)
nix# ar x debian-ports-archive-keyring_2025.04.05_all.deb
nix# xz -dc data.tar.xz | tar -xvf -
./
./etc/
./etc/apt/
./etc/apt/trusted.gpg.d/
./etc/apt/trusted.gpg.d/debian-ports-archive-2025.asc
./etc/apt/trusted.gpg.d/debian-ports-archive-2026.asc
./usr/
./usr/share/
./usr/share/doc/
./usr/share/doc/debian-ports-archive-keyring/
./usr/share/doc/debian-ports-archive-keyring/README
./usr/share/doc/debian-ports-archive-keyring/changelog.gz
./usr/share/doc/debian-ports-archive-keyring/copyright
./usr/share/keyrings/
./usr/share/keyrings/debian-ports-archive-keyring-removed.pgp
./usr/share/keyrings/debian-ports-archive-keyring.pgp
./usr/share/keyrings/debian-ports-archive-keyring-removed.gpg
./usr/share/keyrings/debian-ports-archive-keyring.gpg
nix# ls -lad /etc/apt/trusted.gpg.d
drwxr-xr-x 2 root root 4096 Sep 22 22:07 /etc/apt/trusted.gpg.d
nix# cp -p ./etc/apt/trusted.gpg.d/deb* /etc/apt/trusted.gpg.d/
nix# cp -p ./usr/share/keyrings/debian* /usr/share/keyrings/
nix#

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
.
.
.

It will be fun to try and document a repeatable process if I ever can
get an initrd file created.

Also ... timezones ... it is 4AM here and really I hope the debootstrap
completes and then I can create the initrd for 6.17.0-rc5+ that you
built.

--
--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken


Reply to: