package lxc 0.7.5-3ubuntu52 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxc (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I was attempting to setup a juju enviroment using lxc as a local enviroment. Trying to install lxc failed with this error..
Setting up lxc (0.7.5-3ubuntu52) ...
start: Job failed to start
invoke-rc.d: initscript lxc-net, action "start" failed.
dpkg: error processing lxc (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
lxc
E: Sub-process /usr/bin/dpkg returned an error code (1)
Removing and re-installing doesn't change anything. I attempted to run the script manually, but it doesn't seem to exist?
ls -al /var/dpkg/info/lxc*
/var/lib/
ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: lxc 0.7.5-3ubuntu52
Uname: Linux 3.2.7 x86_64
ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
Date: Thu May 3 12:48:53 2012
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
SourcePackage: lxc
Title: package lxc 0.7.5-3ubuntu52 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
Turns out the kernel I am running does not support bridging. Changing the kernel fixes the issue