[Bug 1498493] Re: postinst uses python when not available

Scott Moser smoser at ubuntu.com
Tue Sep 22 13:35:07 UTC 2015


note, the failure here was seen in maas.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Leaving 'diversion of /etc/init/ureadahead.conf to /etc/init/ureadahead.conf.disabled by cloud-init'
/var/lib/dpkg/info/cloud-init.postinst: 59: /var/lib/dpkg/info/cloud-init.postinst: python: not found
Unexpected error while running command.
Command: ['chroot', '/tmp/tmpdfazn9w5/target', 'dpkg-reconfigure', '--frontend=noninteractive', 'cloud-init']
Exit code: 127
Reason: -
Stdout: ''
Stderr: ''
Installation failed with exception: Unexpected error while running command.
Command: ['curtin', 'curthooks']
Exit code: 3
Reason: -
Stdout: b"Ign http://archive.ubuntu.com wily InRelease  
Ign http://archive.ubuntu.com wily-updates InRelease  
Ign http://archive.ubuntu.com wily-security InRelease  
Get:1 http://archive.ubuntu.com wily Release.gpg [933 B]  
Get:2 http://archive.ubuntu.com wily-updates Release.gpg [933 B]  
Get:3 http://archive.ubuntu.com wily-security Release.gpg [933 B]  
Get:4 http://archive.ubuntu.com wily Release [217 kB]  
Get:5 http://archive.ubuntu.com wily-updates Release [63.5 kB]  
Get:6 http://archive.ubuntu.com wily-security Release [63.5 kB]  
Get:7 http://archive.ubuntu.com wily/main amd64 Packages [1421 kB]  
Get:8 http://archive.ubuntu.com wily/restricted amd64 Packages [16.0 kB]  
Get:9 http://archive.ubuntu.com wily/universe amd64 Packages [6721 kB]  
Get:10 http://archive.ubuntu.com wily/multiverse amd64 Packages [138 kB]  
Get:11 http://archive.ubuntu.com wily/main Translation-en [838 kB]  
Get:12 http://archive.ubuntu.com wily/multiverse Translation-en [107 kB]  
Get:13 http://archive.ubuntu.com wily/restricted Translation-en [4334 B]  
Get:14 http://archive.ubuntu.com wily/universe Translation-en [4593 kB]  
Get:15 http://archive.ubuntu.com wily-updates/main amd64 Packages [28 B]  
Get:16 http://archive.ubuntu.com wily-updates/restricted amd64 Packages [28 B]  
Get:17 http://archive.ubuntu.com wily-updates/universe amd64 Packages [28 B]  
Get:18 http://archive.ubuntu.com wily-updates/multiverse amd64 Packages [28 B]  
Get:19 http://archive.ubuntu.com wily-updates/main Translation-en [28 B]  
Get:20 http://archive.ubuntu.com wily-updates/multiverse Translation-en [28 B]  
Get:21 http://archive.ubuntu.com wily-updates/restricted Translation-en [28 B]  
Get:22 http://archive.ubuntu.com wily-updates/universe Translation-en [28 B]  
Get:23 http://archive.ubuntu.com wily-security/main amd64 Packages [28 B]  
Get:24 http://archive.ubuntu.com wily-security/restricted amd64 Packages [28 B]  
Get:25 http://archive.ubuntu.com wily-security/universe amd64 Packages [28 B]  
Get:26 http://archive.ubuntu.com wily-security/multiverse amd64 Packages [28 B]  
Get:27 http://archive.ubuntu.com wily-security/main Translation-en [28 B]  
Get:28 http://archive.ubuntu.com wily-security/multiverse Translation-en [28 B]  
Get:29 http://archive.ubuntu.com wily-security/restricted Translation-en [28 B]  
Get:30 http://archive.ubuntu.com wily-security/universe Translation-en [28 B]  
Fetched 14.2 MB in 18s (748 kB/s)  
Reading package lists...  
Reading package lists...  
Building dependency tree...  
Reading state information...  
linux-generic is already the newest version.  
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.  
Leaving 'diversion of /etc/init/ureadahead.conf to /etc/init/ureadahead.conf.disabled by cloud-init'  
Stdout: b"Ign http://archive.ubuntu.com wily InRelease
  Ign http://archive.ubuntu.com wily-updates InRelease
  Ign http://archive.ubuntu.com wily-security InRelease
  Get:1 http://archive.ubuntu.com wily Release.gpg [933 B]
  Get:2 http://archive.ubuntu.com wily-updates Release.gpg [933 B]
  Get:3 http://archive.ubuntu.com wily-security Release.gpg [933 B]
  Get:4 http://archive.ubuntu.com wily Release [217 kB]
  Get:5 http://archive.ubuntu.com wily-updates Release [63.5 kB]
  Get:6 http://archive.ubuntu.com wily-security Release [63.5 kB]
  Get:7 http://archive.ubuntu.com wily/main amd64 Packages [1421 kB]
  Get:8 http://archive.ubuntu.com wily/restricted amd64 Packages [16.0 kB]
  Get:9 http://archive.ubuntu.com wily/universe amd64 Packages [6721 kB]
  Get:10 http://archive.ubuntu.com wily/multiverse amd64 Packages [138 kB]
  Get:11 http://archive.ubuntu.com wily/main Translation-en [838 kB]
  Get:12 http://archive.ubuntu.com wily/multiverse Translation-en [107 kB]
  Get:13 http://archive.ubuntu.com wily/restricted Translation-en [4334 B]
  Get:14 http://archive.ubuntu.com wily/universe Translation-en [4593 kB]
  Get:15 http://archive.ubuntu.com wily-updates/main amd64 Packages [28 B]
  Get:16 http://archive.ubuntu.com wily-updates/restricted amd64 Packages [28 B]
  Get:17 http://archive.ubuntu.com wily-updates/universe amd64 Packages [28 B]
  Get:18 http://archive.ubuntu.com wily-updates/multiverse amd64 Packages [28 B]
  Get:19 http://archive.ubuntu.com wily-updates/main Translation-en [28 B]
  Get:20 http://archive.ubuntu.com wily-updates/multiverse Translation-en [28 B]
  Get:21 http://archive.ubuntu.com wily-updates/restricted Translation-en [28 B]
  Get:22 http://archive.ubuntu.com wily-updates/universe Translation-en [28 B]
  Get:23 http://archive.ubuntu.com wily-security/main amd64 Packages [28 B]
  Get:24 http://archive.ubuntu.com wily-security/restricted amd64 Packages [28 B]
  Get:25 http://archive.ubuntu.com wily-security/universe amd64 Packages [28 B]
  Get:26 http://archive.ubuntu.com wily-security/multiverse amd64 Packages [28 B]
  Get:27 http://archive.ubuntu.com wily-security/main Translation-en [28 B]
  Get:28 http://archive.ubuntu.com wily-security/multiverse Translation-en [28 B]
  Get:29 http://archive.ubuntu.com wily-security/restricted Translation-en [28 B]
  Get:30 http://archive.ubuntu.com wily-security/universe Translation-en [28 B]
  Fetched 14.2 MB in 18s (748 kB/s)
  Reading package lists...
  Reading package lists...
  Building dependency tree...
  Reading state information...
  linux-generic is already the newest version.
  0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
  Leaving 'diversion of /etc/init/ureadahead.conf to /etc/init/ureadahead.conf.disabled by cloud-init'
  /var/lib/dpkg/info/cloud-init.postinst: 59: /var/lib/dpkg/info/cloud-init.postinst: python: not found
  Unexpected error while running command.
  Command: ['chroot', '/tmp/tmpdfazn9w5/target', 'dpkg-reconfigure', '--frontend=noninteractive', 'cloud-init']
  Exit code: 127
  Reason: -
  Stdout: ''
  Stderr: ''
  "
Stderr: ''

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-init in Ubuntu.
https://bugs.launchpad.net/bugs/1498493

Title:
  postinst uses python when not available

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1498493/+subscriptions



More information about the Ubuntu-server-bugs mailing list