bionic 20101020ubuntu535: netboot installer fails with local repository

Bug #1761030 reported by Jay McCanta
52
This bug affects 10 people
Affects Status Importance Assigned to Milestone
debian-installer (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Using a preseed file with network boot 20101020ubuntu535 , the apt sources configuration is built correctly.

Preseed:
d-i apt-setup/local0/repository string deb http://example.com/PatchSet/latest/homegrown bionic main
d-i apt-setup/local0/comment string This is the homegrown-custom stuff
d-i apt-setup/local0/key string http://example.com/PatchSet/latest/homegrown/gpgkey.pub

yields a sources.list file with

deb http://example.com/PatchSet/latest/homegrown bionic main

However, after 'Configure APT', the file is modified and the correct line is commented out. The installer then fails when trying to install packages from that repository.

Only workaround that seems to work is moving the installation of the pacakges to late_command and have it configure apt sources manually.

Tags: bionic
Revision history for this message
Jay McCanta (j-mccanta) wrote :

Upon further troubleshooting. The error occurs in /usr/lib/apt-setup/generators/60local. The apt-key command has this error:

E: gnupg, gnupg2, and gnupg1 do not seem to be installed, but one of them is required for this operation.

It appears that while gpgv is installed in the base image, gnupg (or gpg) is not. In Xenial, gnupg is installed in the base image.

Revision history for this message
Jay McCanta (j-mccanta) wrote :

Further research shows that the gnupg in bionic has a Priority: optional header.
In ardvark, xenial and trusty, Priority: important.

Jay McCanta (j-mccanta)
tags: added: bionic
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in debian-installer (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.