Xenial preseed fails to load key for 3rd party repo with apt-setup/local0/key
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt-setup (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
base-installer (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
console-setup (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
debian-installer (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I have an automated preseed installation that uses these lines to add custom repos during the installation:
d-i apt-setup/
d-i apt-setup/
d-i apt-setup/
d-i apt-setup/
d-i apt-setup/
d-i apt-setup/
d-i apt-setup/
d-i apt-setup/
(seehttps:
In xenial the installation fails because the GPG key for the local0 repo is not loaded into the system so that it can be used (see screenshot). Strangely, "chroot /target apt-key list" shows the key 9E62229E to be installed.
Just to be sure that there is no problem with my repo and key I started the Xenial live CD and installed my repo there manually. All works well. IMHO this shows that the problem is clearly related to the automated installation with preseed.
Maybe this is related to #1512347, that was the only thing I could find on Launchpad that is in the same area.
If you want to reproduce this then you can checkout the scripts from https:/
I found a very ugly workaround by changing the apt-setup lines to this:
d-i apt-setup/
d-i apt-setup/
d-i apt-setup/
d-i apt-setup/
d-i apt-setup/
d-i apt-setup/
d-i apt-setup/
d-i apt-setup/
d-i apt-setup/
d-i apt-setup/
I suppose that the workaround works because now the local0 repo is one where the signing key is already part of Ubuntu. I just hope that there is no package in the trusty partner repo that is not also in the xenial partner repo.
For me it is very important that you fix this bug before 16.04 is released so that I can continue to use Ubuntu with an automated setup.
Changed in console-setup (Ubuntu): | |
status: | New → Confirmed |
Changed in debian-installer (Ubuntu): | |
status: | New → Confirmed |
tags: | added: artful bionic xenial |
Status changed to 'Confirmed' because the bug affects multiple users.