I found that my system had a /usr/sbin/policy-rc.d script which denied
all daemon start/restart. I have no idea where that came from, so I
deleted it and attempted to re-run the package configure.

The first attempt failed:

==========
[swarren@swarren-lx1 etc]$ sudo dpkg -a --configure
Setting up lxd (2.3-0ubuntu7~ubuntu14.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: 58: kill: No such process

Creating a new LXD bridge
error: not implemented
dpkg: error processing package lxd (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 lxd
==========

It turns out that was because lxd wasn't running. I'm not sure why lxd
wasn't running nor why the package update didn't start/restart it now
that policy-rc.d was deleted.

To solve that I ran "service lxd start" to restart it. After that the
package configured OK:

==========
[swarren@swarren-lx1 etc]$ sudo dpkg -a --configure
Setting up lxd (2.3-0ubuntu7~ubuntu14.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: 58: kill: No such process

Creating a new LXD bridge
Network lxdbr0 created
Configuring the new LXD bridge
Setting IPv4 network to 10.229.113.1/24
Setting IPv4 DHCP range to 10.229.113.2-10.229.113.254
Enabling IPv4 NAT
Done converting your bridge, renaming old configuration
Cleaning up lxd-bridge state files
==========

Strange...

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

Title:
  "error: not implemented" upgrading to 2.3-0ubuntu7~ubuntu14.04.1~ppa1

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to