Comment 2 for bug 939795

Revision history for this message
Serge Hallyn (serge-hallyn) wrote : Re: package lxc (not installed) failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

@Karl,

thanks for reporting this bug. I'm sorry it's causing you trouble.

To give an idea of why this happened, could you show the result of the following commands:

   ifconfig -a
   brctl show
   ps -ef | grep dnsmasq
   dpkg -l | grep dnsmasq
   cat /etc/default/lxc
   sudo stop lxc; sudo start lxc

Hopefully those will give an idea of what went wrong. Then, to get past this error, since you don't actually want lxc, you can try:

 sudo apt-get purge lxc

If that fails, then edit /etc/default/lxc and set USE_LXC_BRIDGE="false". Then do 'sudo apt-get install -f' followed by 'sudo apt-get purge lxc'.

Please let me know (by replying here) if you need any more help or if the above did not work.