[lxc-users] 16.04 -> 18.04 Upgrade problems

Stéphane Graber stgraber at ubuntu.com
Sat Apr 21 21:16:43 UTC 2018


On Sat, Apr 21, 2018 at 03:24:52PM -0400, Pete Osborne wrote:
> Hi Folks,
> 
> I decided to upgrade my 16.04 LTS system to 18.04 LTS today and when
> upgrading LXD I'm seeing the following:
> 
> Setting up lxd (3.0.0-0ubuntu4) ...
> Old bridge configuration detected in /etc/default/lxd-bridge, upgrading
> Unsetting deprecated profile options
> Error: The following containers failed to update (profile change still
> saved):
>  - xps-container1: Failed to load raw.lxc
> 
> dpkg: error processing package lxd (--configure):
>  installed lxd package post-installation script subprocess returned error
> exit status 1
> Errors were encountered while processing:
>  lxd
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> 
> Can someone point me in a direction to remediate the issue,
> 
> Thanks,
> Pete

This suggests that your xps-container1 container or one of your profiles
is using raw.lxc to directly set LXC configuration keys. One of those
configuration key must be deprecated or renamed in liblxc 3.0 causing
the problem.

To fix this, you should edit your raw.lxc to use the appropriate liblxc
config key and then re-run the upgrade.


-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20180421/e4958ef4/attachment.sig>


More information about the lxc-users mailing list