Ubuntu server 12.04: "ubuntu-keyring-udeb failed"

Bug #1042703 reported by OrazioPirataDelloSpazio on 2012-08-28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Ubuntu Customization Kit

Bug Description

Hi there,
before trying to remaster an ubuntu server 12.04 with UCK 2.4.6, I tried to just open and close the iso :

sudo uck-remaster-unpack-iso ../ubuntu-12.04-server-i386.iso
sudo uck-remaster-prepare-alternate
sudo uck-remaster-finalize-alternate MY-GPG-KEY-ID
sudo uck-remaster-pack-iso

UCK succeeds in creating the iso but when I try to use it with virtual box I obtain this error:

"Loading ubuntu-keyring-udeb failed for unknown reasons."

Note: there are a couple of " No such file or directory" errors that arise from the uck-remaster-finalize-alternate, but I don't know neither if they are related nor if they are blocking:

dpkg-buildpackage: full upload; Debian-native package (full source is included)
E: Unable to open /home/orazio/tmp/remaster-alt-tmp/indices/override.precise.extra.main - fopen (2: No such file or directory)
 pool/main: New 1973 kB 1152 files 631 MB 25s
 pool/restricted:E: Tree walking failed - ftw (2: No such file or directory)
Packages done, Starting contents.
Done. 631 MB in 1152 archives. Took 25s
 pool/main: New 197 kB 166 files 30.1 MB 1s
 pool/restricted:E: Tree walking failed - ftw (2: No such file or directory)
Packages done, Starting contents.
Done. 30.1 MB in 166 archives. Took 1s
 pool/extras: New 20 B 0 files 0 B 0s
Packages done, Starting contents.
Done. 0 B in 0 archives. Took 0s
gpg: WARNING: unsafe ownership on configuration file `/home/orazio/.gnupg/gpg.conf'

Any hints? Thanks!

Owen Knight (psycho-logic-au) wrote :

This bug is currently affecting an overnight build I'm administering. It was introduced between 2012/09/29 and 2012/10/03. A diff of the build logs reveals the uck script is downloading an updated version of the ubuntu-keyring key files ( from 2011.11.21 to 2011.11.21.1). My attempt to fix was to modify uck-remaster-finalize-alternate, line 119 from:
gpg --export FBB75451 437D05B5 $KEY_ID > ubuntu-archive-keyring.gpg
gpg --export C0B21F32 EFE21092 $KEY_ID > ubuntu-archive-keyring.gpg
gpg --export FBB75451 437D05B5 C0B21F32 EFE21092 $KEY_ID > ubuntu-archive-keyring.gpg

to export the new keys, however the bug persisted.

Owen Knight (psycho-logic-au) wrote :

Temporary workaround until a proper fix is implemented:
line 115 of /usr/bin/uck-remaster-finalize-alternate, changed from:
apt-get source ubuntu-keyring
apt-get source ubuntu-keyring=2011.11.21

to peg it at the previous version.

eraserix (eraserix) on 2012-12-12
Changed in uck:
status: New → Confirmed
eraserix (eraserix) wrote :

The workaround ... works.

I didn't really find where I'd have to change stuff in order to get d-i to load the updated keyring package, I even looked inside the initrd :(.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers