[Bug 1754075] Re: apt-setup uses apt-key but probably should not anymore

Julian Andres Klode julian.klode at canonical.com
Tue Jun 11 09:46:11 UTC 2019


I installed Ubuntu once with release apt-setup (ubuntu5) and once with
proposed (ubuntu5.1). With release, the generator failed; with the
proposed update the repository configured in preseed was correctly
added.

The preseed I used was:

d-i apt-setup/local0/repository string deb http://ppa.launchpad.net/juliank/gnu-efi-arm64/ubuntu bionic main
d-i apt-setup/local0/comment string ppa
d-i apt-setup/local0/key string http://keyserver.ubuntu.com:11371/pks/lookup?op=get&search=0x58DA648C2EE026D694B000390BCE6604F83DC0AD


** Tags removed: verification-needed verification-needed-bionic
** Tags added: verification-done verification-done-bionic

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

Title:
  apt-setup uses apt-key but probably should not anymore

Status in apt-setup package in Ubuntu:
  Fix Released
Status in apt-setup source package in Bionic:
  Fix Committed
Status in apt-setup package in Debian:
  New

Bug description:
  [Impact]
  Adding key via apt-setup does not work

  [Test case]
  Add key via apt-setup, make sure it's installed correctly

  [Regression potential]
  If gnupg2 was installed before apt-setup is run, the code would work, and now behave differently installing keys into trusted.gpg.d instead of trusted.gpg.

  [Original bug report]
  In di if the kernel is in a private PPA we seed di using

  d-i apt-setup/local0/key string
  http://keyserver.ubuntu.com:11371/pks/lookup?op=get&search=<key>

  this used to work in xenial, but in bionic this fails and therefore
  apt update fails in base-installer. May be because add-apt-key is not
  installed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-setup/+bug/1754075/+subscriptions



More information about the foundations-bugs mailing list