vmbuilder crashed with , stderr in run_cmd(): E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Bug #942094 reported by stephen green
This bug report is a duplicate of:  Edit Remove
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
vm-builder (Ubuntu)
New
Undecided
Unassigned

Bug Description

steveg@XPS-ubuntu:~$ ifconfig
br100 Link encap:Ethernet HWaddr 84:8f:69:c4:70:47
          UP BROADCAST MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

br100:avahi Link encap:Ethernet HWaddr 84:8f:69:c4:70:47
          inet addr:169.254.7.209 Bcast:169.254.255.255 Mask:255.255.0.0
          UP BROADCAST MULTICAST MTU:1500 Metric:1

eth0 Link encap:Ethernet HWaddr 84:8f:69:c4:70:47
          UP BROADCAST MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
          Interrupt:50 Base address:0x4000

lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MTU:16436 Metric:1
          RX packets:2513 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2513 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:247251 (247.2 KB) TX bytes:247251 (247.2 KB)

virbr0 Link encap:Ethernet HWaddr 42:fb:01:ff:1e:18
          inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
          UP BROADCAST MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

wlan0 Link encap:Ethernet HWaddr 4c:80:93:a6:63:23
          inet addr:192.168.1.75 Bcast:192.168.1.255 Mask:255.255.255.0
          inet6 addr: fe80::4e80:93ff:fea6:6323/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:39695 errors:0 dropped:0 overruns:0 frame:0
          TX packets:27055 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:43555957 (43.5 MB) TX bytes:5511003 (5.5 MB)

steveg@XPS-ubuntu:~$ brctl show
bridge name bridge id STP enabled interfaces
br100 8000.848f69c47047 no eth0
virbr0 8000.000000000000 yes

steveg@XPS-ubuntu:~$ sudo su -
[sudo] password for steveg:
root@XPS-ubuntu:~# vmbuilder kvm ubuntu --suite=oneiric --flavour=virtual --arch=amd64 --mirror=http://de.archive.ubuntu.com/ubuntu -o --libvirt=qemu:///system --ip=192.168.0.101 --gw=192.168.0.1 --part=vmbuilder.partition --templates=mytemplates --user=administrator --name=Administrator --pass=howtoforge --addpkg=vim-nox --addpkg=unattended-upgrades --addpkg=acpid --firstboot=/var/lib/libvirt/images/vm1/boot.sh --mem=256 --hostname=vm1 --bridge=br100
2012-02-27 17:04:36,506 INFO : Calling hook: preflight_check
2012-02-27 17:04:36,544 INFO : Calling hook: set_defaults
2012-02-27 17:04:36,544 INFO : Calling hook: bootstrap
2012-02-27 17:10:17,906 INFO : Calling hook: configure_os
2012-02-27 17:10:38,577 INFO : E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
2012-02-27 17:10:38,577 INFO : Cleaning up
2012-02-27 17:10:39,589 ERROR : Process (['chroot', '/tmp/tmpn8cGBG', 'apt-get', 'install', '-y', '--force-yes', 'vim-nox', 'unattended-upgrades', 'acpid']) returned 100. stdout: Reading package lists...
Building dependency tree...
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 ubuntu-minimal : Depends: apt-utils but it is not going to be installed
 unattended-upgrades : Depends: python-apt (>= 0.7.90) but it is not going to be installed
                       Depends: apt-utils but it is not going to be installed
 vim-nox : Depends: vim-runtime (= 2:7.3.154+hg~74503f6ee649-2ubuntu3) but it is not going to be installed
           Depends: libgpm2 (>= 1.20.4) but it is not going to be installed
           Depends: liblua5.1-0 but it is not going to be installed
           Depends: libperl5.12 (>= 5.12.4) but it is not going to be installed
           Depends: libpython2.7 (>= 2.7) but it is not going to be installed
           Depends: libruby1.8 (>= 1.8.7.352) but it is not going to be installed
           Depends: tcl8.5 (>= 8.5.0) but it is not going to be installed
, stderr: E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Traceback (most recent call last):
  File "/usr/bin/vmbuilder", line 24, in <module>
    cli.main()
  File "/usr/lib/python2.7/dist-packages/VMBuilder/contrib/cli.py", line 216, in main
    distro.build_chroot()
  File "/usr/lib/python2.7/dist-packages/VMBuilder/distro.py", line 84, in build_chroot
    self.call_hooks('configure_os')
  File "/usr/lib/python2.7/dist-packages/VMBuilder/distro.py", line 67, in call_hooks
    call_hooks(self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/VMBuilder/util.py", line 165, in call_hooks
    getattr(context, func, log_no_such_method)(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/VMBuilder/plugins/ubuntu/distro.py", line 145, in configure_os
    self.suite.install_extras()
  File "/usr/lib/python2.7/dist-packages/VMBuilder/plugins/ubuntu/dapper.py", line 202, in install_extras
    self.run_in_target(env={ 'DEBIAN_FRONTEND' : 'noninteractive' }, *cmd)
  File "/usr/lib/python2.7/dist-packages/VMBuilder/plugins/ubuntu/dapper.py", line 327, in run_in_target
    return self.context.run_in_target(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/VMBuilder/plugins/__init__.py", line 86, in run_in_target
    return util.run_cmd('chroot', self.chroot_dir, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/VMBuilder/util.py", line 120, in run_cmd
    raise VMBuilderException, "Process (%s) returned %d. stdout: %s, stderr: %s" % (args.__repr__(), status, mystdout.buf, mystderr.buf)
VMBuilder.exception.VMBuilderException: Process (['chroot', '/tmp/tmpn8cGBG', 'apt-get', 'install', '-y', '--force-yes', 'vim-nox', 'unattended-upgrades', 'acpid']) returned 100. stdout: Reading package lists...
Building dependency tree...
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 ubuntu-minimal : Depends: apt-utils but it is not going to be installed
 unattended-upgrades : Depends: python-apt (>= 0.7.90) but it is not going to be installed
                       Depends: apt-utils but it is not going to be installed
 vim-nox : Depends: vim-runtime (= 2:7.3.154+hg~74503f6ee649-2ubuntu3) but it is not going to be installed
           Depends: libgpm2 (>= 1.20.4) but it is not going to be installed
           Depends: liblua5.1-0 but it is not going to be installed
           Depends: libperl5.12 (>= 5.12.4) but it is not going to be installed
           Depends: libpython2.7 (>= 2.7) but it is not going to be installed
           Depends: libruby1.8 (>= 1.8.7.352) but it is not going to be installed
           Depends: tcl8.5 (>= 8.5.0) but it is not going to be installed
, stderr: E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

root@XPS-ubuntu:~# lsb_release -rd
Description: Ubuntu precise (development branch)
Release: 12.04

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: python-vm-builder 0.12.4+bzr477-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-17.27-generic 3.2.6
Uname: Linux 3.2.0-17-generic x86_64
ApportVersion: 1.93-0ubuntu2
Architecture: amd64
Date: Mon Feb 27 17:10:39 2012
ExecutablePath: /usr/bin/vmbuilder
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120225)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/vmbuilder kvm ubuntu --suite=oneiric --flavour=virtual --arch=amd64 --mirror=http://de.archive.ubuntu.com/ubuntu -o --libvirt=qemu:///system --ip=192.168.0.101 --gw=192.168.0.1 --part=vmbuilder.partition --templates=mytemplates --user=administrator --name=Administrator --pass=howtoforge --addpkg=vim-nox --addpkg=unattended-upgrades --addpkg=acpid --firstboot=/var/lib/libvirt/images/vm1/boot.sh --mem=256 --hostname=vm1 --bridge=br100
ProcEnviron:
 SHELL=/bin/bash
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 LANGUAGE=en_GB:en
PythonArgs: ['/usr/bin/vmbuilder', 'kvm', 'ubuntu', '--suite=oneiric', '--flavour=virtual', '--arch=amd64', '--mirror=http://de.archive.ubuntu.com/ubuntu', '-o', '--libvirt=qemu:///system', '--ip=192.168.0.101', '--gw=192.168.0.1', '--part=vmbuilder.partition', '--templates=mytemplates', '--user=administrator', '--name=Administrator', '--pass=howtoforge', '--addpkg=vim-nox', '--addpkg=unattended-upgrades', '--addpkg=acpid', '--firstboot=/var/lib/libvirt/images/vm1/boot.sh', '--mem=256', '--hostname=vm1', '--bridge=br100']
SourcePackage: vm-builder
Title: vmbuilder crashed with , stderr in run_cmd(): E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: kvm libvirtd

Revision history for this message
stephen green (s-j-green) wrote :
Revision history for this message
Apport retracing service (apport) wrote : This bug is a duplicate

Thank you for taking the time to report this crash and helping to make this software better. This particular crash has already been reported and is a duplicate of bug #942093, so is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

tags: removed: need-duplicate-check
visibility: private → public
visibility: private → public
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.
  • Duplicate of a private bug Remove

Other bug subscribers

Remote bug watches

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