[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#586067: lh build assumes gnupg in chroot, not true for minbase-flavoured ubuntu



Package: live-helper
Version: 2.0~a14-1
Severity: minor

With the following config/ tree:

    # egrep -v '^[[:space:]]*(#|$)' config/*
    config/binary:LH_BINARY_IMAGES=usb-hdd
    config/binary:LH_MEMTEST=false
    config/bootstrap:LH_BOOTSTRAP_FLAVOUR=minbase
    config/bootstrap:LH_DISTRIBUTION=lucid
    config/bootstrap:LH_MIRROR_BOOTSTRAP=http://mirror.internode.on.net/pub/ubuntu/ubuntu
    config/bootstrap:LH_MIRROR_CHROOT=$LH_MIRROR_BOOTSTRAP
    config/chroot:LH_HOOKS="stripped minimal"
    config/chroot:LH_PACKAGES="ubuntu-desktop"
    config/common:LH_APT_RECOMMENDS=false
    config/common:LH_INITRAMFS=live-initramfs
    config/common:LH_MODE=ubuntu

lh build aborts with the following error:

    # <typescript tail -20
    Get:8 http://security.ubuntu.com lucid-updates/main Packages [275kB]
    Get:9 http://security.ubuntu.com lucid-updates/restricted Packages [2980B]
    Fetched 400kB in 6s (64.1kB/s)
    Reading package lists... Done
    W: GPG error: http://mirror.internode.on.net lucid Release: Could not execute '/usr/bin/gpgv' to verify signature (is gpgv installed?)
    W: GPG error: http://security.ubuntu.com lucid-security Release: Could not execute '/usr/bin/gpgv' to verify signature (is gpgv installed?)
    W: GPG error: http://security.ubuntu.com lucid-updates Release: Could not execute '/usr/bin/gpgv' to verify signature (is gpgv installed?)
    Reading package lists... Done
    Building dependency tree... Done
    The following packages will be upgraded:
      apt libc-bin libc6 libglib2.0-0 mountall tzdata
    6 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Need to get 8735kB of archives.
    After this operation, 24.6kB of additional disk space will be used.
    WARNING: The following packages cannot be authenticated!
      libc-bin libc6 tzdata apt libglib2.0-0 mountall
    E: There are problems and -y was used without --force-yes
    P: Begin unmounting filesystems...

    Script done on Wed 16 Jun 2010 16:25:12 EST

This is because /usr/share/deboostrap/scripts/sid & gutsy only pull in
apt and its (hard) dependencies in the minbase flavour, and on Ubuntu
apt's relation to gnupg is a (soft) recommendation (via keyring):

    $ curl -s http://ftp.debian.org/debian/dists/unstable/main/binary-amd64/Packages.bz2 |
      bunzip2 -c | grep-dctrl -s Version,Depends,Recommends -XP apt
    Version: 0.7.25.3
    Depends: libc6 (>= 2.3.4), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.4.0), debian-archive-keyring

    $ curl -s http://archive.ubuntu.com/ubuntu/dists/lucid/main/binary-amd64/Packages.bz2 |
      bunzip2 -c | grep-dctrl -s Version,Depends,Recommends -XP apt
    Version: 0.7.25.3ubuntu7
    Depends: libc6 (>= 2.8), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.4.0)
    Recommends: ubuntu-keyring

There are a few ways to address this:

 0. l-h maintainers WONTFIX this ticket and tell me to use different
    config/* options.

 1. l-h is extended to ensure deboostrap always installs the keyring
    and gnupg.

 2. debootstrap is extended to ensure keyring and gnupg are always
    installed for ALL users, not just l-h.

My preference is for (1), or for (0) combined with improved error
reporting and/or troubleshooting documentation.

-- Package-specific info:

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.35-rc2 (SMP w/2 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages live-helper depends on:
ii  debootstrap                   1.0.23     Bootstrap a basic Debian system

Versions of packages live-helper recommends:
ii  cpio                          2.11-4     GNU cpio -- a program to manage ar
ii  gettext-base                  0.18-1     GNU Internationalization utilities
ii  gnu-fdisk                     1.2.4-3+b1 Linux fdisk replacement based on l

Versions of packages live-helper suggests:
pn  dosfstools                    <none>     (no description available)
ii  fakeroot                      1.14.4-1   Gives a fake root environment
pn  genisoimage                   <none>     (no description available)
pn  memtest86+ | memtest86        <none>     (no description available)
pn  mtools                        <none>     (no description available)
ii  parted                        2.2-5      The GNU Parted disk partition resi
pn  squashfs-tools | genext2fs |  <none>     (no description available)
ii  sudo                          1.7.2p6-1  Provide limited super user privile
pn  syslinux | grub               <none>     (no description available)
pn  uuid-runtime                  <none>     (no description available)
pn  win32-loader                  <none>     (no description available)

-- no debconf information



Reply to: