[Bug 1490110] Re: package lxc 1.1.3-0ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 100
Huygens
huygens_25 at yahoo.fr
Wed Oct 14 07:27:22 UTC 2015
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
Server Team, 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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1490110/+subscriptions
More information about the Ubuntu-server-bugs
mailing list