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

Malte Schmidt 1754075 at bugs.launchpad.net
Fri Oct 19 11:30:10 UTC 2018


Easy workaround which does not require another apt-setup.udeb:

d-i     preseed/late_command    string  \
        in-target wget -q -O /etc/apt/trusted.gpg.d/bla.asc http://bla.de/bla.asc ; \
        in-target sed -i '/keyword to uncomment specific line in file/s/^# *//' /etc/apt/sources.list ; \
        in-target apt-get update ; \
        in-target apt-get -y install packages to install ;

-- 
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:
  Confirmed
Status in gnupg package in Ubuntu:
  Confirmed
Status in gnupg2 package in Ubuntu:
  Confirmed

Bug description:
  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