← Back to team overview

touch-packages team mailing list archive

[Bug 1511875] Re: Can't upgrade from 15.10 Wily to 16.04 Xenial in LXC container

 

I encountered a similar problem when upgrading a container from 13.04 to
13.10.

The problem was that the listed dependencies for ubuntu-release-
upgrader-core were not sufficient.

The solution was to install python-apt.  (Even that was a bit difficult;
I had to manually create an empty file,
/etc/python2.7/sitecustomize.py).

If python-apt doesn't solve the problem, then you could try searching
for other missing dependencies.  Here's one way to do that:

(1) List the reverse-dependencies of ubuntu-release-upgrader-core:

apt-cache rdepends ubuntu-release-upgrader-core

On ubuntu-14.04 the reverse-dependencies include update-manager-core.

(2)  List the dependencies of update-manager-core,

apt-cache depends update-manager-core

Try installing some or all of these dependencies and see whether it
solves the problem.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1511875

Title:
  Can't upgrade from 15.10 Wily to 16.04 Xenial in LXC container

Status in lxc package in Ubuntu:
  New
Status in ubuntu-release-upgrader package in Ubuntu:
  New

Bug description:
  When I try to upgrade from 15.10 Wily to 16.04 Xenial (actual
  development version) within an LXC container, the upgrade script hangs
  at the message „Calculating the changes”.

  Steps to reproduce:
  1. Make an LXC container with Wily (quickest option is to use lxc-create -t download, choose ubuntu, wily, amd64/i386).
  2. Boot up the container, log in, „apt-get -y install ubuntu-release-upgrader-core”.
  3. Start the upgrade with „do-release-upgrade -d”.

  You will see that the upgrade process will hang at the message
  „Calculating the changes”.

  The process which hangs: „/usr/bin/python3 /tmp/ubuntu-release-
  upgrader-1mpotr5d/xenial --mode=server --frontend=DistUpgradeViewText
  --devel-release”

  With strace, it is revealed that the process hangs at a „futex” system call:
  futex(0x7f4190000c10, FUTEX_WAIT_PRIVATE, 0, NULL

  This system call never returns, the process must be interrupted with
  CTRL-C or kill.

  Upgrading to any previous release within an LXC container works
  without problems, therefore I consider it as a regression.

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


References