package lxd (not installed) failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
% sudo aptitude full-upgrade
The following packages will be upgraded:
lxc2 lxd lxd-client
...
Setting up lxd-client (2.3-0ubuntu3~
Setting up lxd (2.3-0ubuntu3~
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/
Unsetting deprecated profile options
Attempting to kill current lxd-bridge
/usr/lib/
/usr/lib/
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.
Enabling IPv4 NAT
Setting IPv6 network to fd1b:9dbb:
error: Failed to run: ip -6 addr add dev lxdbr0 fd1b:9dbb:
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 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~
Old bridge configuration detected in /etc/default/
Unsetting deprecated profile options
Attempting to kill current lxd-bridge
/usr/lib/
/usr/lib/
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)
ProcVersionSign
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~
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)
RelatedPackageV
dpkg 1.18.4ubuntu1.1
apt 1.2.12~
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)
tags: | removed: need-duplicate-check |
Can you please paste the result of: net/ipv6/ conf/default/ disable_ ipv6 net/ipv6/ conf/all/ disable_ ipv6
- ls -lh /proc/sys/net
- cat /proc/sys/
- cat /proc/sys/
Thanks