Syntax error in /usr/lib/lxd/upgrade-bridge
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Version 2.3-0ubuntu5 of the lxd package in yakkety contains a typo in a script, which breaks package installation:
Setting up lxd (2.3-0ubuntu5) ...
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/
Bringing down and renaming existing bridge lxdbr0 to lxd-upgrade
Creating a new LXD bridge
/usr/lib/
dpkg: error processing package lxd (--configure):
subprocess installed post-installation script returned error exit status 2
On closer inspection, there's an extra "t" on line 93, "fit" instead of "fi". Manually correcting this line and running "sudo apt-get install -f" solves the problem:
description: | updated |
Uploaded a fix for this. Sorry about it.