Public bug reported:

% sudo aptitude full-upgrade
The following packages will be upgraded: 
  lxc2 lxd lxd-client
...
 
Setting up lxd-client (2.3-0ubuntu3~ubuntu16.04.1~ppa1) ...
Setting up lxd (2.3-0ubuntu3~ubuntu16.04.1~ppa1) ...
Installing new version of config file /etc/init.d/lxd ...
Installing new version of config file /etc/init/lxd.conf ...

Old bridge configuration detected in /etc/default/lxd-bridge, upgrading
Unsetting deprecated profile options
Attempting to kill current lxd-bridge
/usr/lib/lxd/upgrade-bridge: 54: /usr/lib/lxd/upgrade-bridge: 
/usr/lib/lxd/lxd-bridge: not found
/usr/lib/lxd/upgrade-bridge: 58: kill: No such process

Bringing down and renaming existing bridge lxdbr0 to lxd-upgrade
Creating a new LXD bridge
Network lxdbr0 created
Moving the old bridge into place
Configuring the new LXD bridge
Setting IPv4 network to 10.217.241.1/24
Setting IPv4 DHCP range to 10.217.241.2-10.217.241.254
Enabling IPv4 NAT
Setting IPv6 network to fd1b:9dbb:c8d8:6af::1/64
error: Failed to run: ip -6 addr add dev lxdbr0 fd1b:9dbb:c8d8:6af::1/64: 
RTNETLINK answers: Permission denied
dpkg: error processing package lxd (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up qarte (3.3.0-0ubuntu1) ...
dpkg: dependency problems prevent configuration of lxc2:
 lxc2 depends on lxd; however:
  Package lxd is not configured yet.

dpkg: error processing package lxc2 (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates it's a follow-up 
error from a previous failure.
                            Processing triggers for systemd (229-4ubuntu10) ...
Processing triggers for ureadahead (0.100.0-19) ...
Errors were encountered while processing:
 lxd
 lxc2
E: Sub-process /usr/bin/dpkg returned an error code (1)
Failed to perform requested operation on package.  Trying to recover:
Setting up lxd (2.3-0ubuntu3~ubuntu16.04.1~ppa1) ...

Old bridge configuration detected in /etc/default/lxd-bridge, upgrading
Unsetting deprecated profile options
Attempting to kill current lxd-bridge
/usr/lib/lxd/upgrade-bridge: 54: /usr/lib/lxd/upgrade-bridge: 
/usr/lib/lxd/lxd-bridge: not found
/usr/lib/lxd/upgrade-bridge: 58: kill: No such process

Bringing down and renaming existing bridge lxdbr0 to lxd-upgrade
Creating a new LXD bridge
error: The network already exists
dpkg: error processing package lxd (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of lxc2:
 lxc2 depends on lxd; however:
  Package lxd is not configured yet.

dpkg: error processing package lxc2 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 lxd
 lxc2

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: lxd (not installed)
ProcVersionSignature: Ubuntu 4.4.0-38.57-lowlatency 4.4.19
Uname: Linux 4.4.0-38-lowlatency x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Date: Sat Oct  1 13:20:34 2016
DpkgHistoryLog:
 Start-Date: 2016-10-01  13:20:08
 Requested-By: marian (1602)
 Upgrade: lxc2:amd64 (2.2-0ubuntu1~ubuntu16.04.1~ppa1, 
2.3-0ubuntu3~ubuntu16.04.1~ppa1), qarte:amd64 (3.2.0-0ubuntu1, 3.3.0-0ubuntu1), 
lxd:amd64 (2.2-0ubuntu1~ubuntu16.04.1~ppa1, 2.3-0ubuntu3~ubuntu16.04.1~ppa1), 
lxd-client:amd64 (2.2-0ubuntu1~ubuntu16.04.1~ppa1, 
2.3-0ubuntu3~ubuntu16.04.1~ppa1)
ErrorMessage: subprocess installed post-installation script returned error exit 
status 1
InstallationDate: Installed on 2016-05-08 (146 days ago)
InstallationMedia: Ubuntu-MATE 16.04 LTS "Xenial Xerus" - Release amd64 
(20160420.1)
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.1
 apt  1.2.12~ubuntu16.04.1
SourcePackage: lxd
Title: package lxd (not installed) failed to install/upgrade: subprocess 
installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: lxd (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1629540

Title:
  package lxd (not installed) failed to install/upgrade: subprocess
  installed post-installation script returned error exit status 1

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to