[Bug 1245486] Re: package python-vm-builder 0.12.4+bzr488-0ubuntu1 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1

Antonio Messina arcimboldo at gmail.com
Wed Oct 30 10:45:27 UTC 2013


I am already using python 2.7:

antonio at kenny:~$ namei `which python`
f: /usr/bin/python
 d /
 d usr
 d bin
 l python -> python2.7
   - python2.7

antonio at kenny:~$ python --version
Python 2.7.5+

antonio at kenny:~$ sudo apt-get install ubuntu-vm-builder 
[sudo] password for antonio: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  python-vm-builder
The following NEW packages will be installed:
  python-vm-builder ubuntu-vm-builder
0 upgraded, 2 newly installed, 0 to remove and 2 not upgraded.
Need to get 0 B/418 kB of archives.
After this operation, 4,380 kB of additional disk space will be used.
Do you want to continue [Y/n]? 
Selecting previously unselected package python-vm-builder.
(Reading database ... 632750 files and directories currently installed.)
Unpacking python-vm-builder (from .../python-vm-builder_0.12.4+bzr488-0ubuntu1_all.deb) ...
Selecting previously unselected package ubuntu-vm-builder.
Unpacking ubuntu-vm-builder (from .../ubuntu-vm-builder_0.12.4+bzr488-0ubuntu1_all.deb) ...
Processing triggers for man-db ...
Setting up python-vm-builder (0.12.4+bzr488-0ubuntu1) ...
/usr/lib/python2.5/site-packages/VMBuilder/util.py:160: Warning: 'as' will become a reserved keyword in Python 2.6
Compiling /usr/lib/python2.5/site-packages/VMBuilder/util.py ...
  File "/usr/lib/python2.5/site-packages/VMBuilder/util.py", line 160
    except AttributeError as e:
                           ^
SyntaxError: invalid syntax

pycentral: pycentral pkginstall: error byte-compiling files (56)
pycentral pkginstall: error byte-compiling files (56)
dpkg: error processing python-vm-builder (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of ubuntu-vm-builder:
 ubuntu-vm-builder depends on python-vm-builder; however:
  Package python-vm-builder is not configured yet.

dpkg: error processing ubuntu-vm-builder (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          Errors were encountered while processing:
 python-vm-builder
 ubuntu-vm-builder
E: Sub-process /usr/bin/dpkg returned an error code (1)

-- 
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/1245486

Title:
  package python-vm-builder 0.12.4+bzr488-0ubuntu1 failed to
  install/upgrade: ErrorMessage: subprocess installed post-installation
  script returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/1245486/+subscriptions



More information about the Ubuntu-server-bugs mailing list