[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 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
> > 
> 
> Yep. Everything fails of course :
> 
> nix#
> nix# wget 
> http://ftp.debian.org/debian/pool/main/d/debian-ports-archive-keyring/debian-ports-archive-keyring_2025.04.05_all.deb
> --2025-09-23 03:41:33-- 
> http://ftp.debian.org/debian/pool/main/d/debian-ports-archive-keyring/debian-ports-archive-keyring_2025.04.05_all.deb
> Resolving ftp.debian.org (ftp.debian.org)... 151.101.126.132, 
> 2a04:4e42:1e::644
> Connecting to ftp.debian.org (ftp.debian.org)|151.101.126.132|:80... 
> connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 36804 (36K) [application/vnd.debian.binary-package]
> Saving to: `debian-ports-archive-keyring_2025.04.05_all.deb'
> 
> 100%[==============================================================================>] 
> 36,804      --.-K/s   in 0.01s
> 
> 2025-09-23 03:41:33 (2.76 MB/s) - 
> `debian-ports-archive-keyring_2025.04.05_all.deb' saved [36804/36804]
> 
> nix# dpkg -i debian-ports-archive-keyring_2025.04.05_all.deb
> dpkg-deb: error: archive 
> 'debian-ports-archive-keyring_2025.04.05_all.deb' contains not 
> understood data member control.tar.xz, giving up
> dpkg: error processing debian-ports-archive-keyring_2025.04.05_all.deb 
> (--install):
>   subprocess dpkg-deb --control returned error exit status 2
> Errors were encountered while processing:
>   debian-ports-archive-keyring_2025.04.05_all.deb
> nix#
> 
> I have to go to a modern Debian system and extract the guts out of that 
> package and then manually extract the tar ball.

It fails because the dpkg version in Wheezy is ancient and doesn't understand
the compression format of deb packages from unstable.

> 
> I am working on it ... ever so slowly.

Just pass "--no-check-gpg" to debootstrap then to skip GPG verification.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


Reply to: