Hello,

Bug #1761030 indeed describes the same issues.

I've also a modified udeb in use, now. And it's working for me, but the
setup is almost the same.

d-i apt-setup/local0/source boolean false
d-i apt-setup/local0/key string 
http://software.ubuntu.man-da.de/software/key.gpg
d-i apt-setup/local0/repository string deb 
http://software.ubuntu.man-da.de/software bionic extras
d-i apt-setup/local0/comment string local server

After the installation completed the key was in
/etc/apt/trusted.gpg.d/local_server.asc since our internal repository
key was also ASCII-Armored.

But I used the overlay_host configuration to get the udeb in:
apt-mirror-setup        apt-setup/overlay_host  string  
software.ubuntu.man-da.de
apt-mirror-setup        apt-setup/overlay_directory     string  /software/
apt-mirror-setup        apt-setup/overlay       boolean true

The repository key was also integrated into our modified initrd to get
this working, but this alone didn't resolve the issues. With the patched
udeb in http://software.ubuntu.man-da.de/software/dists/bionic/main
/debian-installer/binary-amd64/Packages it works for me.

Kind regards
    Lars

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to gnupg 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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to