← Back to team overview

touch-packages team mailing list archive

[Bug 1281793] Re: lxc packaging w/ bridge-utils is confused

 

On ubuntu 14.04, to remove lxc, first run:
service lxc-net stop
then
aptitude remove lxc

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

Title:
  lxc packaging w/ bridge-utils is confused

Status in “lxc” package in Ubuntu:
  Expired

Bug description:
  CloudFive:~/packages/cloud-installer/tools$ sudo apt-get autoremove
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  The following packages will be REMOVED:
    bridge-utils cloud-image-utils debootstrap distro-info euca2ools libboost-thread1.54.0 liblxc0
    librados2 librbd1 libseccomp2 lxc lxc-templates python-distro-info python-requestbuilder python3-lxc
    qemu-utils
  0 upgraded, 0 newly installed, 16 to remove and 440 not upgraded.
  After this operation, 12.9 MB disk space will be freed.
  Do you want to continue? [Y/n] y
  (Reading database ... 174629 files and directories currently installed.)
  Removing lxc-templates (1.0.0~rc3-0ubuntu1) ...
  Removing lxc (1.0.0~rc3-0ubuntu1) ...
  stop: Job failed while stopping
  invoke-rc.d: initscript lxc-net, action "stop" failed.
  dpkg: error processing package lxc (--remove):
   subprocess installed pre-removal script returned error exit status 1
  lxc-net start/running
  Removing cloud-image-utils (0.27-0ubuntu7) ...
  Removing debootstrap (1.0.59) ...
  Removing distro-info (0.12) ...
  Removing euca2ools (3.0.2-1ubuntu1) ...
  Removing qemu-utils (1.7.0+dfsg-3ubuntu2) ...
  Removing librbd1 (0.72.2-1) ...
  Removing librados2 (0.72.2-1) ...
  Removing libboost-thread1.54.0:amd64 (1.54.0-4ubuntu3) ...
  Removing python-distro-info (0.12) ...
  Removing python-requestbuilder (0.1.0~beta2-1) ...
  dpkg: python3-lxc: dependency problems, but removing anyway as you requested:
   lxc depends on python3-lxc.

  Removing python3-lxc (1.0.0~rc3-0ubuntu1) ...
  dpkg: liblxc0: dependency problems, but removing anyway as you requested:
   lxc depends on liblxc0 (= 1.0.0~rc3-0ubuntu1).

  Removing liblxc0 (1.0.0~rc3-0ubuntu1) ...
  Removing libseccomp2:amd64 (2.1.0+dfsg-1) ...
  dpkg: bridge-utils: dependency problems, but removing anyway as you requested:
   lxc depends on bridge-utils.

  Removing bridge-utils (1.5-6ubuntu2) ...
  Processing triggers for man-db (2.6.6-1) ...
  Processing triggers for libc-bin (2.18-0ubuntu6) ...
  Errors were encountered while processing:
   lxc
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  I'm not exactly sure what the problem is here, but autoremove should
  never break :-)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1281793/+subscriptions