[Bug 365054] Re: [Jaunty] exception occured in vmbuilder
Will Bryant
will.bryant at gmail.com
Mon Apr 4 05:19:10 UTC 2011
*** This bug is a duplicate of bug 352568 ***
https://bugs.launchpad.net/bugs/352568
I get this on Lucid (and it doesn't seem related to #352568 to me).
I ran with debug, but it produced no more output in the actual bit that
fails:
2011-04-04 17:06:50,987 DEBUG : Output from template '/etc/vmbuilder/ubuntu/timezone.tmpl': UTC
2011-04-04 17:06:50,987 DEBUG : ['chroot', '/tmp/tmp0SkIqz', 'dpkg-reconfigure', '-fnoninteractive', '-pcritical', 'tzdata']
2011-04-04 17:06:51,140 INFO :
2011-04-04 17:06:51,140 INFO : Current default time zone: 'Etc/UTC'
2011-04-04 17:06:51,143 INFO : Local time is now: Mon Apr 4 05:06:51 UTC 2011.
2011-04-04 17:06:51,144 INFO : Universal Time is now: Mon Apr 4 05:06:51 UTC 2011.
2011-04-04 17:06:51,144 INFO :
2011-04-04 17:06:51,173 DEBUG : Output from template '/etc/vmbuilder/ubuntu/locale.tmpl': LANG="C"
2011-04-04 17:06:51,174 DEBUG : ['chroot', '/tmp/tmp0SkIqz', 'locale-gen', 'C']
2011-04-04 17:06:51,183 ERROR : Process (['chroot', '/tmp/tmp0SkIqz', 'locale-gen', 'C']) returned 1. stdout: , stderr:
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 110, 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 156, in configure_os
self.suite.set_locale()
File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/ubuntu/dapper.py", line 350, in set_locale
self.run_in_target('locale-gen', lang)
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/tmp0SkIqz', 'locale-gen', 'C']) returned 1. stdout: , stderr:
To workaround, I ran vmbuilder under "LANG=en_US.utf8".
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in Ubuntu.
https://bugs.launchpad.net/bugs/365054
Title:
[Jaunty] exception occured in vmbuilder
More information about the Ubuntu-server-bugs
mailing list