[Bug 1767319] [NEW] debootstrap on Xenial creates broken install for Bionic related to gnupg1/gnupg2 apt-key dependencies

Roman Fiedler roman.fiedler at ait.ac.at
Fri Apr 27 09:52:20 UTC 2018


Public bug reported:

"debootstrap bionic" run on Ubuntu Xenial will create a bootstrap
installation missing any gnupg (not gpgv) tools. Thus continuing
installation from the bootstrapped installation using own debian package
archives will fail, as that would require adding of public keys for the
private repository. Due to "apt-key" needing gnupg for internal
operation, adding keys and thus installation will fail.

Reproduce: run debootstrap and check if "apt-key list" works or "gpg" is
installed afterwards.

Expected behaviour: Debootstrap installation can be used as template for
further setup or as LXC guest without additional modifications.

This bug could also be seen as a missing dependency on "apt" package,
but not sure if it was omitted on purpose.

$ lsb_release -rd
Description:    Ubuntu 16.04.4 LTS
Release:        16.04

$ apt-cache policy debootstrap
debootstrap:
  Installed: 1.0.78+nmu1ubuntu1.5
  Candidate: 1.0.78+nmu1ubuntu1.5
  Version table:
 *** 1.0.78+nmu1ubuntu1.5 500
        500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     1.0.78+nmu1ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages

** Affects: debootstrap (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to debootstrap in Ubuntu.
https://bugs.launchpad.net/bugs/1767319

Title:
  debootstrap on Xenial creates broken install for Bionic related to
  gnupg1/gnupg2 apt-key dependencies

Status in debootstrap package in Ubuntu:
  New

Bug description:
  "debootstrap bionic" run on Ubuntu Xenial will create a bootstrap
  installation missing any gnupg (not gpgv) tools. Thus continuing
  installation from the bootstrapped installation using own debian
  package archives will fail, as that would require adding of public
  keys for the private repository. Due to "apt-key" needing gnupg for
  internal operation, adding keys and thus installation will fail.

  Reproduce: run debootstrap and check if "apt-key list" works or "gpg"
  is installed afterwards.

  Expected behaviour: Debootstrap installation can be used as template
  for further setup or as LXC guest without additional modifications.

  This bug could also be seen as a missing dependency on "apt" package,
  but not sure if it was omitted on purpose.

  $ lsb_release -rd
  Description:    Ubuntu 16.04.4 LTS
  Release:        16.04

  $ apt-cache policy debootstrap
  debootstrap:
    Installed: 1.0.78+nmu1ubuntu1.5
    Candidate: 1.0.78+nmu1ubuntu1.5
    Version table:
   *** 1.0.78+nmu1ubuntu1.5 500
          500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
          100 /var/lib/dpkg/status
       1.0.78+nmu1ubuntu1 500
          500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debootstrap/+bug/1767319/+subscriptions



More information about the foundations-bugs mailing list