← Back to team overview

touch-packages team mailing list archive

[Bug 1490110] Re: package lxc 1.1.3-0ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 100

 

Hi Serge,

Sorry for the long delay in replying, I overlooked the email
notification.

Yes that is almost correct, I add previously installed the ppa:ubuntu-
lxc/lxd-stable (so the LXD one not ppa:ubuntu-lxc/stable as you
mentioned) in Vivid. But before doing the upgrade I installed the ppa-
purge tool and used it to remove this ppa (which was by the way the only
3rd party source on my system).

After a successful ppa-purge, I went on and did a do-release-upgrade
which then failed, or actually it did not complete successfully. So I
was still able to reboot the machine and Wily was the new system. LXC
was broken after the reboot. But I did: "apt update; apt upgrade; apt
full-upgrade" which fixed the it by properly installing LXC.

One thing was then missing from the upgrade process: because of the
failure with the LXC package, the cleaning at the end of the upgrade
(when executing do-release-upgrade) did not happen. So I had lots of
obsolete or dandling packages which I had to look for and remove
manually.

I guess a way to reproduce it is:

  1. Install Ubuntu 15.04
  2. Make sure the system is up to date: apt update; apt full-upgrade; reboot
  3. Install from the Ubuntu repository the following packages: lxc lxc-templates
  4. Install ppa:ubuntu-lxc/lxd-stable and install the following packages: lxc lxd lxc-templates
  5. (I don't think a reboot is necessary to proceed, but I'm not 100% sure)
  6. Install ppa-purge and remove the installed ppa from step 3 (this should install back the previous packages from the Ubuntu repos)
  7. Perform a release upgrade to Wily: di-release-upgrade -d
  8. Boom! (or at least it did that on 2 machines here!) :-)

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

Title:
  package lxc 1.1.3-0ubuntu1 failed to install/upgrade: subprocess
  installed post-installation script returned error exit status 100

Status in lxc package in Ubuntu:
  Incomplete

Bug description:
  Error during do-releas-update -d from 15.04

  ProblemType: Package
  DistroRelease: Ubuntu 15.10
  Package: lxc 1.1.3-0ubuntu1
  ProcVersionSignature: Ubuntu 4.1.0-3.3-generic 4.1.3
  Uname: Linux 4.1.0-3-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.18-0ubuntu7
  Architecture: amd64
  Date: Sat Aug 29 10:13:04 2015
  DuplicateSignature: package:lxc:1.1.3-0ubuntu1:subprocess installed post-installation script returned error exit status 100
  ErrorMessage: subprocess installed post-installation script returned error exit status 100
  InstallationDate: Installed on 2015-08-13 (15 days ago)
  InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
  ProcCmdline: BOOT_IMAGE=/vmlinuz-4.1.0-3-generic.efi.signed root=/dev/mapper/ubuntu--vg-root ro quiet splash vt.handoff=7
  SourcePackage: lxc
  Title: package lxc 1.1.3-0ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 100
  UpgradeStatus: Upgraded to wily on 2015-08-29 (0 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/1490110/+subscriptions


References