I have just done a do-release-upgrade -m server from
Linux boson 3.19.0-31-generic #36-Ubuntu SMP Wed Oct 7 15:04:02 UTC 2015 x86_64 Linux-3.19.0-31-generic-x86_64-with-Ubuntu-15.04-vivid
to
Linux boson 4.2.0-16-generic #19-Ubuntu SMP Thu Oct 8 15:35:06 UTC 2015 x86_64 Linux-4.2.0-16-generic-x86_64-with-Ubuntu-15.10-wily
I had imagined that the LXC containers would automagically be upgraded too. However, although uname -r returns 4.2.0-16-generic which confirms that the kernel is on Wily, doing an apt-get update shows that the container is still pointed at the Vivid repository.
do-release-upgrade while attached to the container returns bash: do-release-upgrade: command not found.
How do I upgrade the LXC containers too? Is there a tool available?
(I don't have X installed)