[Cloud-packages] Bug#793009: bootstrap-vz: Fails installing dependencies of virtualbox guest additions (linux-header)

Olivier Berger olivier.berger at telecom-sudparis.eu
Mon Jul 20 12:26:30 UTC 2015


Package: bootstrap-vz
Version: 0.9.0-1
Severity: normal

Dear Maintainer,

Running on testing, with the attached manifest, I got :

Adding packages to support Guest Additions installation
Executing: chroot /target/d43dbce3/root uname -r
4.0.0-2-amd64
Installing packages
Executing: chroot /target/d43dbce3/root apt-get install --no-install-recommends --assume-yes linux-image-amd64 openssh-server sudo nfs-client grub-pc bzip2 build-essential dkms linux-headers-4.0.0-2-amd64
Lecture des listes de paquets...
Construction de l'arbre des dépendances...
Lecture des informations d'état...
E: Impossible de trouver le paquet linux-headers-4.0.0-2-amd64
E: Impossible de trouver de paquet correspondant à l'expression rationnelle « linux-headers-4.0.0-2-amd64 »
apt exited with status code 100. This can sometimes occur when package retrieval times out or a package extraction failed. apt might succeed if you try bootstrapping again.
Command 'chroot /target/d43dbce3/root apt-get install --no-install-recommends --assume-yes linux-image-amd64 openssh-server sudo nfs-client grub-pc bzip2 build-essential dkms linux-headers-4.0.0-2-amd64' returned non-zero exit status 100
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/bootstrapvz/base/main.py", line 78, in run
    tasklist.run(info=bootstrap_info, dry_run=opts['--dry-run'])
  File "/usr/lib/python2.7/dist-packages/bootstrapvz/base/tasklist.py", line 38, in run
    task.run(info)
  File "/usr/lib/python2.7/dist-packages/bootstrapvz/common/tasks/packages.py", line 38, in run
    actions[package.__class__](info, batch)
  File "/usr/lib/python2.7/dist-packages/bootstrapvz/common/tasks/packages.py", line 73, in install_remote
    raise e
CalledProcessError: Command 'chroot /target/d43dbce3/root apt-get install --no-install-recommends --assume-yes linux-image-amd64 openssh-server sudo nfs-client grub-pc bzip2 build-essential dkms linux-headers-4.0.0-2-amd64' returned non-zero exit status 100
Rolling back


Basically it uses the system it is run on as a reference for the linux headers version instead of the target's version.

I guess this has been fixed upstream.

Hope this helps.

Best regards,

-- System Information:
Debian Release: stretch/sid
  APT prefers testing-proposed-updates
  APT policy: (500, 'testing-proposed-updates'), (500, 'stable-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.0.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages bootstrap-vz depends on:
ii  debootstrap        1.0.71
ii  python             2.7.9-1
ii  python-boto        2.38.0-1
ii  python-docopt      0.6.2-1
ii  python-fysom       1.0.19-1
ii  python-jsonschema  2.4.0-1
ii  python-termcolor   1.1.0-1
ii  python-yaml        3.11-2

Versions of packages bootstrap-vz recommends:
ii  qemu-utils  1:2.3+dfsg-6a

Versions of packages bootstrap-vz suggests:
pn  euca2ools                       <none>
ii  kpartx                          0.5.0-7
ii  virtualbox-guest-additions-iso  4.3.28-1

-- no debconf information



More information about the Cloud-packages mailing list