Subject: bug#389: Cannot debootstrap Debian jessie

From: Simon Richter <[email-masked]>
Date: Tue, 04 Feb 2020 17:50:07 +0100

Package: debootstrap
Version: 1.0.114+devuan2
Severity: normal

Hi,

I just tried to debootstrap Debian jessie for a VM, but the jessie script
seems to override the keyring selection, so it attempts to validate against
the Devuan keyring and fails.

This cannot even be overridden with the --keyring option.

   Simon

-- System Information:
Debian Release: 10.0
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-6-amd64 (SMP w/40 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages debootstrap depends on:
ii  wget  1.20.1-1.1

Versions of packages debootstrap recommends:
ii  arch-test       0.15-2
ii  devuan-keyring  2017.10.03
ii  gnupg           2.2.12-1+deb10u1

Versions of packages debootstrap suggests:
ii  debian-archive-keyring  2019.1
pn  squid-deb-proxy-client  <none>
pn  ubuntu-archive-keyring  <none>

-- no debconf information

---

From: Mark Hindley <[email-masked]>
Date: Wed, 5 Feb 2020 23:51:52 +0000

Control: tags -1 moreinfo

Simon,

Thanks for this.

I assume this is Devuan jessie, not Debian jessie?

Could you give me the full debootstrap commandline you 
are using. I have just successfully debootstrapped both plain and 
pbuilder Devuan jessie chroots with debootstrap 1.0.114+devuan2.
Validating against devuan-keyring 2017.10.03.

 debootstrap jesse jessie-chroot/

Works for me.

Thanks

Mark

---

From: Mark Hindley <[email-masked]>
Date: Thu, 6 Feb 2020 07:14:20 +0000

> I assume this is Devuan jessie, not Debian jessie?

Apologies, I see Debian jessie in the title now.

I will try to reproduce again.

Mark

---

From: Mark Hindley <[email-masked]>
Date: Thu, 6 Feb 2020 21:45:02 +0000

Simon,

I have just successfully debootstrapped Debian jessie on beowulf with this
command:

 debootstrap --exclude=devuan-keyring,devuan-baseconf \
 --keyring=/etc/apt/trusted.gpg.d/debian-archive-jessie-automatic.gpg  jessie \
 jessie/ http://ftp.uk.debian.org/debian

Does it work for you?

Mark