Comment 12 for bug 1000174

Revision history for this message
Robert Blenis (rblenis) wrote : Re: [Bug 1000174] Re: package lxc 0.7.5-3ubuntu54 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

rblenis@rblenis-laptop:/etc/init$ sudo stop lxc-net
stop: Unknown instance:
rblenis@rblenis-laptop:/etc/init$ sudo start lxc-net
start: Job failed to start

On Thu, May 17, 2012 at 8:41 AM, Serge Hallyn <email address hidden>wrote:

> Quoting Robert Blenis (<email address hidden>):
> > should I remove the 'console output' line from the init config file
> > first?
>
> No, it's what will hopefully show errors in your terminal.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1000174
>
> Title:
> package lxc 0.7.5-3ubuntu54 failed to install/upgrade: subprocess
> installed post-installation script returned error exit status 1
>
> Status in “lxc” package in Ubuntu:
> Incomplete
>
> Bug description:
> ran:
> sudo apt-get install mdadm
> and got the following:
> ---------------------------------------------------------
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following packages were automatically installed and are no longer
> required:
> libglew1.5 libglewmx1.5
> Use 'apt-get autoremove' to remove them.
> The following NEW packages will be installed:
> mdadm
> 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
> 1 not fully installed or removed.
> Need to get 360 kB of archives.
> After this operation, 863 kB of additional disk space will be used.
> Get:1 http://us.archive.ubuntu.com/ubuntu/ precise/main mdadm amd64
> 3.2.3-2ubuntu1 [360 kB]
> Fetched 360 kB in 1s (247 kB/s)
> Preconfiguring packages ...
> dpkg: warning: parsing file '/var/lib/dpkg/available' near line 47141
> package 'handbrake-gtk':
> error in Version string 'svn3918ppa1~maverick1': version number does not
> start with digit
> Selecting previously unselected package mdadm.
> (Reading database ... 270405 files and directories currently installed.)
> Unpacking mdadm (from .../mdadm_3.2.3-2ubuntu1_amd64.deb) ...
> Processing triggers for ureadahead ...
> ureadahead will be reprofiled on next reboot
> Processing triggers for doc-base ...
> Processing 6 added doc-base files...
> Registering documents with scrollkeeper...
> Processing triggers for man-db ...
> Setting up lxc (0.7.5-3ubuntu54) ...
> 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
> Setting up mdadm (3.2.3-2ubuntu1) ...
> No apport report written because MaxReports is reached already
> Generating
> mdadm.conf... done.
> Removing any system startup links for /etc/init.d/mdadm-raid ...
> update-initramfs: deferring update (trigger activated)
> * Starting MD monitoring service mdadm --monitor
> [ OK ]
> Processing triggers for initramfs-tools ...
> update-initramfs: Generating /boot/initrd.img-3.2.0-24-generic
> W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
> Errors were encountered while processing:
> lxc
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> ------------------------------------------------------------------------------
>
> after which I cleared out the /var/crash directory and reran: sudo
> apt-get install mdadm, and got:
>
> ----------------------------------------------------------------------------
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> mdadm is already the newest version.
> The following packages were automatically installed and are no longer
> required:
> libglew1.5 libglewmx1.5
> Use 'apt-get autoremove' to remove them.
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> 1 not fully installed or removed.
> After this operation, 0 B of additional disk space will be used.
> Do you want to continue [Y/n]? y
> Setting up lxc (0.7.5-3ubuntu54) ...
> 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)
>
> ProblemType: Package
> DistroRelease: Ubuntu 12.04
> Package: lxc 0.7.5-3ubuntu54
> ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
> Uname: Linux 3.2.0-24-generic x86_64
> ApportVersion: 2.0.1-0ubuntu7
> AptOrdering: lxc: Configure
> Architecture: amd64
> Date: Wed May 16 06:49:27 2012
> DpkgTerminalLog:
> Setting up lxc (0.7.5-3ubuntu54) ...
> 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
> DuplicateSignature:
> Setting up lxc (0.7.5-3ubuntu54) ...
> 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
> ErrorMessage: subprocess installed post-installation script returned
> error exit status 1
> InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64
> (20100816.1)
> SourcePackage: lxc
> Title: package lxc 0.7.5-3ubuntu54 failed to install/upgrade: subprocess
> installed post-installation script returned error exit status 1
> UpgradeStatus: Upgraded to precise on 2012-04-27 (18 days ago)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1000174/+subscriptions
>

--
Robert Blenis