Public bug reported: 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/lxd-bridge, upgrading Unsetting deprecated profile options Attempting to kill current lxd-bridge /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 /usr/lib/lxd/upgrade-bridge: 147: /usr/lib/lxd/upgrade-bridge: Syntax error: end of file unexpected (expecting "fi") 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: http://pastebin.ubuntu.com/23268764/ ** Affects: lxd (Ubuntu) Importance: Undecided Status: New ** Description changed: - Version 2.3-0ubuntu5 of the lxd package in yakkety contains a typo, - which breaks package installation: + 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/lxd-bridge, upgrading Unsetting deprecated profile options Attempting to kill current lxd-bridge /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 /usr/lib/lxd/upgrade-bridge: 147: /usr/lib/lxd/upgrade-bridge: Syntax error: end of file unexpected (expecting "fi") dpkg: error processing package lxd (--configure): - subprocess installed post-installation script returned error exit status 2 + 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: http://pastebin.ubuntu.com/23268764/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1629766 Title: Syntax error in /usr/lib/lxd/upgrade-bridge To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1629766/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
