vmbuilder fails with dist-upgrade with release xenial; remove vm-builder from zesty
Bug #1618899 reported by
André Freitas
This bug report is a duplicate of:
Bug #1260062: Please remove vmbuilder from the archive in 14.04.
Edit
Remove
This bug affects 11 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
auto-upgrade-testing (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
sandbox-upgrader (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned | ||
vm-builder (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
lsb_release -rd
Description: Ubuntu 16.04 LTS
Release: 16.04
---------
apt-cache policy python-vm-builder
python-vm-builder:
Installed: 0.12.4+
Candidate: 0.12.4+
Version table:
*** 0.12.4+
500 http://
500 http://
100 /var/lib/
---------
When creating a guest with the release xenial, the creation fails in dist-upgrade, because /etc/sudoers has been changed. With release trusty, the creation works.
The output is attached in log.txt
Changed in vm-builder (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Low |
To post a comment you must log in.
Hi, this bug affecting me on Trusty too. I've found a workaround solution here: askubuntu. com/questions/ 819844/ kvm-vmbuilder- fails
http://
patch /usr/lib/ python2. 7/dist- packages/ VMBuilder/ plugins/ ubuntu/ dapper. py<<EOT
self. call_hook( 'fix_ownership' , manifest)
@@ -72,7 +72,7 @@
def update(self): in_target( 'apt-get' , '-y', '--force-yes', 'dist-upgrade', in_target( 'apt-get' , '-y', '--force-yes', '--option= Dpkg::Options: :=--force- confnew' , 'dist-upgrade',
env={ 'DEBIAN_FRONTEND' : 'noninteractive' })
- self.run_
+ self.run_
def install_ authorized_ keys(self) : Dpkg::Options: :=--force- confnew' option.
EOT
Or edit it manually and add --option=