[Bug 562575] [NEW] vm-builder fails to resolve package dependency in vanilla system

Marcus Bointon marcus at synchromedia.co.uk
Tue Apr 13 22:10:36 BST 2010


Public bug reported:

Using this vmbuilder command (note no additional packages requested,
just creating a completely vanilla system):

vmbuilder kvm ubuntu \
--suite lucid \
--flavour virtual \
--arch amd64 \
-o \
--libvirt qemu:///system \
--part vmbuilder.partition \
--user user \
--name user \
--pass default \
--ip 192.168.176.100 \
--mirror http://192.168.176.19:9999/ubuntu \
--dest /root/vm1

I get this output:

2010-04-13 20:34:43,139 INFO    : Calling hook: preflight_check
2010-04-13 20:34:43,142 INFO    : Calling hook: set_defaults
2010-04-13 20:34:43,143 INFO    : Calling hook: bootstrap
2010-04-13 21:04:46,647 INFO    : Calling hook: configure_os
2010-04-13 21:06:30,399 INFO    : 
2010-04-13 21:06:30,400 INFO    : Current default time zone: 'Etc/UTC'
2010-04-13 21:06:30,403 INFO    : Local time is now:      Tue Apr 13 20:06:30 UTC 2010.
2010-04-13 21:06:30,403 INFO    : Universal Time is now:  Tue Apr 13 20:06:30 UTC 2010.
2010-04-13 21:06:30,404 INFO    : 
2010-04-13 21:06:32,540 INFO    : E: Unmet dependencies. Try using -f.
2010-04-13 21:06:32,541 ERROR   : Process (['chroot', '/tmp/tmp2fxDFW', 'apt-get', '-y', '--force-yes', 'dist-upgrade']) 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:
  mountall: Depends: makedev but it is not installed
            Depends: plymouth but it is not installed
  python2.6: Depends: libsqlite3-0 (>= 3.6.22) but it is not installed
  ubuntu-minimal: Depends: makedev but it is not installed
, stderr: E: Unmet dependencies. Try using -f.

Traceback (most recent call last):
  File "/usr/bin/vmbuilder", line 24, in <module>
    cli.main()
  File "/usr/lib/python2.6/dist-packages/VMBuilder/contrib/cli.py", line 109, in main
    distro.build_chroot()
  File "/usr/lib/python2.6/dist-packages/VMBuilder/distro.py", line 83, in build_chroot
    self.call_hooks('configure_os')
  File "/usr/lib/python2.6/dist-packages/VMBuilder/distro.py", line 66, in call_hooks
    call_hooks(self, *args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/VMBuilder/util.py", line 165, in call_hooks
    getattr(context, func, log_no_such_method)(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/ubuntu/distro.py", line 157, in configure_os
    self.suite.update()
  File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/ubuntu/dapper.py", line 76, in update
    env={ 'DEBIAN_FRONTEND' : 'noninteractive' })
  File "/usr/lib/python2.6/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.6/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.6/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/tmp2fxDFW', 'apt-get', '-y', '--force-yes', 'dist-upgrade']) 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:
  mountall: Depends: makedev but it is not installed
            Depends: plymouth but it is not installed
  python2.6: Depends: libsqlite3-0 (>= 3.6.22) but it is not installed
  ubuntu-minimal: Depends: makedev but it is not installed
, stderr: E: Unmet dependencies. Try using -f.

Is this a problem in vmbuilder, or just a symptom of an unstable package
tree?

** Affects: vm-builder (Ubuntu)
     Importance: Undecided
         Status: New

-- 
vm-builder fails to resolve package dependency in vanilla system
https://bugs.launchpad.net/bugs/562575
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.



More information about the Ubuntu-server-bugs mailing list