← Back to team overview

touch-packages team mailing list archive

[Bug 1504496] Re: package lxc 1.1.4-0ubuntu0.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

 

** Changed in: lxc (Ubuntu Wily)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1504496

Title:
  package lxc 1.1.4-0ubuntu0.1 failed to install/upgrade: subprocess
  installed post-installation script returned error exit status 1

Status in lxc package in Ubuntu:
  Fix Released
Status in lxc source package in Vivid:
  Fix Released
Status in lxc source package in Wily:
  Fix Released

Bug description:
  A dist-upgrade failed in the maintainer scripts while trying to
  restart the lxc networking, I think:

  Reading package lists... Done
  The following NEW packages will be installed:
    linux-image-3.19.0-31-generic{a} linux-image-extra-3.19.0-31-generic{a} 
    linux-signed-image-3.19.0-31-generic{a} 
  The following packages will be upgraded:
    juju juju-core juju-local liblxc1 linux-image-generic linux-libc-dev linux-signed-image-generic 
    lxc lxc-templates mutt python3-lxc 
  The following packages are RECOMMENDED but will NOT be installed:
    citadel-mta courier-mta dma dma:i386 esmtp-run exim4-daemon-heavy exim4-daemon-light 
    lsb-invalid-mta masqmail msmtp-mta nullmailer opensmtpd postfix qmail-run sendmail-bin ssmtp 
    xmail 
  11 packages upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
  Need to get 0 B/90.5 MB of archives. After unpacking 259 MB will be used.
  Do you want to continue? [Y/n/?] 
  (Reading database ... 357199 files and directories currently installed.)
  Preparing to unpack .../python3-lxc_1.1.4-0ubuntu0.1_amd64.deb ...
  Unpacking python3-lxc (1.1.4-0ubuntu0.1) over (1.1.2-0ubuntu3.2) ...
  Preparing to unpack .../lxc-templates_1.1.4-0ubuntu0.1_amd64.deb ...
  Unpacking lxc-templates (1.1.4-0ubuntu0.1) over (1.1.2-0ubuntu3.2) ...
  Preparing to unpack .../liblxc1_1.1.4-0ubuntu0.1_amd64.deb ...
  Unpacking liblxc1 (1.1.4-0ubuntu0.1) over (1.1.2-0ubuntu3.2) ...
  Preparing to unpack .../lxc_1.1.4-0ubuntu0.1_amd64.deb ...
  Unpacking lxc (1.1.4-0ubuntu0.1) over (1.1.2-0ubuntu3.2) ...
  Selecting previously unselected package linux-image-3.19.0-31-generic.
  Preparing to unpack .../linux-image-3.19.0-31-generic_3.19.0-31.36_amd64.deb ...
  Done.
  Unpacking linux-image-3.19.0-31-generic (3.19.0-31.36) ...
  Selecting previously unselected package linux-image-extra-3.19.0-31-generic.
  Preparing to unpack .../linux-image-extra-3.19.0-31-generic_3.19.0-31.36_amd64.deb ...
  Unpacking linux-image-extra-3.19.0-31-generic (3.19.0-31.36) ...
  Preparing to unpack .../linux-image-generic_3.19.0.31.30_amd64.deb ...
  Unpacking linux-image-generic (3.19.0.31.30) over (3.19.0.30.29) ...
  Preparing to unpack .../linux-libc-dev_3.19.0-31.36_amd64.deb ...
  Unpacking linux-libc-dev:amd64 (3.19.0-31.36) over (3.19.0-30.34) ...
  Selecting previously unselected package linux-signed-image-3.19.0-31-generic.
  Preparing to unpack .../linux-signed-image-3.19.0-31-generic_3.19.0-31.36_amd64.deb ...
  Unpacking linux-signed-image-3.19.0-31-generic (3.19.0-31.36) ...
  Preparing to unpack .../linux-signed-image-generic_3.19.0.31.30_amd64.deb ...
  Unpacking linux-signed-image-generic (3.19.0.31.30) over (3.19.0.30.29) ...
  Preparing to unpack .../mutt_1.5.23-3ubuntu1_amd64.deb ...
  Unpacking mutt (1.5.23-3ubuntu1) over (1.5.23-3) ...
  Preparing to unpack .../juju-core_1.24.6-0ubuntu1~15.04.1_amd64.deb ...
  Unpacking juju-core (1.24.6-0ubuntu1~15.04.1) over (1.23.2-0ubuntu1~14.10.1~juju1) ...
  Preparing to unpack .../juju_1.24.6-0ubuntu1~15.04.1_all.deb ...
  Unpacking juju (1.24.6-0ubuntu1~15.04.1) over (1.23.2-0ubuntu1~14.10.1~juju1) ...
  Preparing to unpack .../juju-local_1.24.6-0ubuntu1~15.04.1_all.deb ...
  Unpacking juju-local (1.24.6-0ubuntu1~15.04.1) over (1.23.2-0ubuntu1~14.10.1~juju1) ...
  Processing triggers for man-db (2.7.0.2-5) ...
  Processing triggers for ureadahead (0.100.0-19) ...
  ureadahead will be reprofiled on next reboot
  Processing triggers for doc-base (0.10.6) ...
  Processing 1 changed doc-base file...
  Registering documents with scrollkeeper...
  Processing triggers for gnome-menus (3.10.1-0ubuntu5) ...
  Processing triggers for desktop-file-utils (0.22-1ubuntu3) ...
  Processing triggers for bamfdaemon (0.5.1+15.04.20150202-0ubuntu1) ...
  Rebuilding /usr/share/applications/bamf-2.index...
  Processing triggers for mime-support (3.58ubuntu1) ...
  Setting up liblxc1 (1.1.4-0ubuntu0.1) ...
  Setting up python3-lxc (1.1.4-0ubuntu0.1) ...
  Setting up lxc (1.1.4-0ubuntu0.1) ...
  Installing new version of config file /etc/apparmor.d/lxc/lxc-default-with-nesting ...
  Installing new version of config file /etc/bash_completion.d/lxc ...
  Installing new version of config file /etc/init/lxc.conf ...
  Job for lxc-net.service failed. See "systemctl status lxc-net.service" and "journalctl -xe" for details.
  invoke-rc.d: initscript lxc-net, action "start" failed.
  dpkg: error processing package lxc (--configure):
   subprocess installed post-installation script returned error exit status 1
  dpkg: dependency problems prevent configuration of lxc-templates:
   lxc-templates depends on lxc (>= 0.8.0~rc1-4ubuntu43); however:
    Package lxc is not configured yet.

  dpkg: error processing package lxc-templates (--configure):
   dependency problems - leaving unconfigured
  Setting up linux-image-3.19.0-31-generic (3.19.0-31.36) ...
  No apport report written because the error message indicates it's a follow-up error from a previous failure.
        Running depmod.
  update-initramfs: deferring update (hook will be called later)
  Examining /etc/kernel/postinst.d.
  run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.19.0-31-generic /boot/vmlinuz-3.19.0-31-generic
  run-parts: executing /etc/kernel/postinst.d/dkms 3.19.0-31-generic /boot/vmlinuz-3.19.0-31-generic
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.19.0-31-generic /boot/vmlinuz-3.19.0-31-generic
  update-initramfs: Generating /boot/initrd.img-3.19.0-31-generic
  run-parts: executing /etc/kernel/postinst.d/pm-utils 3.19.0-31-generic /boot/vmlinuz-3.19.0-31-generic
  run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 3.19.0-31-generic /boot/vmlinuz-3.19.0-31-generic
  run-parts: executing /etc/kernel/postinst.d/update-notifier 3.19.0-31-generic /boot/vmlinuz-3.19.0-31-generic
  run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.19.0-31-generic /boot/vmlinuz-3.19.0-31-generic
  Generating grub configuration file ...
  Found linux image: /boot/vmlinuz-3.19.0-31-generic
  Found initrd image: /boot/initrd.img-3.19.0-31-generic
  Found linux image: /boot/vmlinuz-3.19.0-30-generic
  Found initrd image: /boot/initrd.img-3.19.0-30-generic
  Adding boot menu entry for EFI firmware configuration
  done
  Setting up linux-image-extra-3.19.0-31-generic (3.19.0-31.36) ...
  run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.19.0-31-generic /boot/vmlinuz-3.19.0-31-generic
  run-parts: executing /etc/kernel/postinst.d/dkms 3.19.0-31-generic /boot/vmlinuz-3.19.0-31-generic
  run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.19.0-31-generic /boot/vmlinuz-3.19.0-31-generic
  update-initramfs: Generating /boot/initrd.img-3.19.0-31-generic
  run-parts: executing /etc/kernel/postinst.d/pm-utils 3.19.0-31-generic /boot/vmlinuz-3.19.0-31-generic
  run-parts: executing /etc/kernel/postinst.d/unattended-upgrades 3.19.0-31-generic /boot/vmlinuz-3.19.0-31-generic
  run-parts: executing /etc/kernel/postinst.d/update-notifier 3.19.0-31-generic /boot/vmlinuz-3.19.0-31-generic
  run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.19.0-31-generic /boot/vmlinuz-3.19.0-31-generic
  Generating grub configuration file ...
  Found linux image: /boot/vmlinuz-3.19.0-31-generic
  Found initrd image: /boot/initrd.img-3.19.0-31-generic
  Found linux image: /boot/vmlinuz-3.19.0-30-generic
  Found initrd image: /boot/initrd.img-3.19.0-30-generic
  Adding boot menu entry for EFI firmware configuration
  done
  Setting up linux-image-generic (3.19.0.31.30) ...
  Setting up linux-libc-dev:amd64 (3.19.0-31.36) ...
  Setting up linux-signed-image-3.19.0-31-generic (3.19.0-31.36) ...
  Generating grub configuration file ...
  Found linux image: /boot/vmlinuz-3.19.0-31-generic
  Found initrd image: /boot/initrd.img-3.19.0-31-generic
  Found linux image: /boot/vmlinuz-3.19.0-30-generic
  Found initrd image: /boot/initrd.img-3.19.0-30-generic
  Adding boot menu entry for EFI firmware configuration
  done
  Setting up linux-signed-image-generic (3.19.0.31.30) ...
  Setting up mutt (1.5.23-3ubuntu1) ...
  Setting up juju-core (1.24.6-0ubuntu1~15.04.1) ...
  update-alternatives: using /usr/lib/juju-1.24.6/bin/juju to provide /usr/bin/juju (juju) in auto mode
  Setting up juju (1.24.6-0ubuntu1~15.04.1) ...
  dpkg: dependency problems prevent configuration of juju-local:
   juju-local depends on lxc (>= 1.0.0~alpha1-0ubuntu14); however:
    Package lxc is not configured yet.
   juju-local depends on lxc-templates; however:
    Package lxc-templates is not configured yet.

  dpkg: error processing package juju-local (--configure):
   dependency problems - leaving unconfigured
  No apport report written because the error message indicates it's a follow-up error from a previous failure.
        Processing triggers for libc-bin (2.21-0ubuntu4) ...
  Processing triggers for ureadahead (0.100.0-19) ...
  Errors were encountered while processing:
   lxc
   lxc-templates
   juju-local
  E: Sub-process /usr/bin/dpkg returned an error code (1)
  Failed to perform requested operation on package.  Trying to recover:
  Setting up lxc (1.1.4-0ubuntu0.1) ...
  Job for lxc-net.service failed. See "systemctl status lxc-net.service" and "journalctl -xe" for details.
  invoke-rc.d: initscript lxc-net, action "start" failed.
  dpkg: error processing package lxc (--configure):
   subprocess installed post-installation script returned error exit status 1
  dpkg: dependency problems prevent configuration of lxc-templates:
   lxc-templates depends on lxc (>= 0.8.0~rc1-4ubuntu43); however:
    Package lxc is not configured yet.

  dpkg: error processing package lxc-templates (--configure):
   dependency problems - leaving unconfigured
  dpkg: dependency problems prevent configuration of juju-local:
   juju-local depends on lxc (>= 1.0.0~alpha1-0ubuntu14); however:
    Package lxc is not configured yet.
   juju-local depends on lxc-templates; however:
    Package lxc-templates is not configured yet.

  dpkg: error processing package juju-local (--configure):
   dependency problems - leaving unconfigured
  Errors were encountered while processing:
   lxc
   lxc-templates
   juju-local
                                           
  Current status: 0 updates [-11].

  ProblemType: Package
  DistroRelease: Ubuntu 15.04
  Package: lxc 1.1.4-0ubuntu0.1
  ProcVersionSignature: Ubuntu 3.19.0-30.34-generic 3.19.8-ckt6
  Uname: Linux 3.19.0-30-generic x86_64
  ApportVersion: 2.17.2-0ubuntu1.5
  Architecture: amd64
  Date: Fri Oct  9 11:56:01 2015
  DuplicateSignature: package:lxc:1.1.4-0ubuntu0.1:subprocess installed post-installation script returned error exit status 1
  ErrorMessage: subprocess installed post-installation script returned error exit status 1
  InstallationDate: Installed on 2014-05-29 (497 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
  ProcCmdline: BOOT_IMAGE=/vmlinuz-3.19.0-30-generic.efi.signed root=/dev/mapper/ubuntu--vg-root ro quiet splash vt.handoff=7
  SourcePackage: lxc
  Title: package lxc 1.1.4-0ubuntu0.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
  UpgradeStatus: Upgraded to vivid on 2015-05-05 (156 days ago)
  defaults.conf:
   lxc.network.type = veth
   lxc.network.link = lxcbr0
   lxc.network.flags = up
   lxc.network.hwaddr = 00:16:3e:xx:xx:xx

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1504496/+subscriptions


References