lxc-create of an armhf container fails in saucy

Bug #1212820 reported by Jani Monoses
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lxc (Ubuntu)
Fix Released
High
Stéphane Graber

Bug Description

sudo lxc-create -n saucy-armhf -t ubuntu -- -a armhf -r saucy

Package iproute:amd64 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  iproute2:amd64 iproute2

E: Package 'iproute:amd64' has no installation candidate
lxc-create: failed to execute template 'ubuntu'
lxc-create: aborted

iproute seems removed from saucy
Removing isc-dhcp-client and changing iproute to iproute2 in /usr/share/lxc/templates/lxc-ubuntu allows lxc-create to successfully complete

Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Thanks for reporting this bug. This appears to be due to the following block in the ubuntu template:

        # Finally update the lists and install upstart using the host architecture
        chroot $rootfs apt-get update
        chroot $rootfs apt-get install --force-yes -y --no-install-recommends upstart:${hostarch} mountall:${hostarch} iproute:${hostarch} isc-dhcp-client:${hostarch}

It looks as though this should be iproute2:${hostarch}, but I"m not sure which releases this is true for.

Changed in lxc (Ubuntu):
status: New → Triaged
importance: Undecided → High
assignee: nobody → Stéphane Graber (stgraber)
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Looks like it's saucy only, as raring still shows iproute:amd64 existing.

Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

(Assigned to stgraber because he may know of a cleaner way to fix this than to put in a specific check for 13.10 or higher release or doing a separate 'apt-get install iproute:${hostarch} || true')

Revision history for this message
Stéphane Graber (stgraber) wrote :

I believe this was fixed within the last couple of weeks.

Changed in lxc (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.