[Bug 1135871] [NEW] arm containers should not use the /etc/default/lxc MIRROR variable

Serge Hallyn 1135871 at bugs.launchpad.net
Thu Feb 28 15:14:51 UTC 2013


Public bug reported:

I have a local apt-cacher-ng mirror which I also put in /etc/default/lxc
as the MIRROR to speed up container creation.  However, when I create
arm containers, lxc-create always fails with:

I: Running command: debootstrap --arch armhf --foreign --verbose --components=main,universe --include=vim,ssh precise /var/cache/lxc/precise/partial-armhf http://10.42.43.1:3142/archive.ubuntu.com/ubuntu
I: Retrieving Release
I: Retrieving Release.gpg
I: Checking Release signature
I: Valid Release signature (key id 630239CC130E1A7FD81A27B140976EAF437D05B5)
I: Retrieving Packages
I: Retrieving Packages
I: Retrieving Packages
E: Couldn't download dists/precise/main/binary-armhf/Packages

until I unset the MIRROR variable.

Perhaps this would be better fixed by switching to a 'proxy' variable
(and then respecting what is in /etc/apt/ for the proxy).  Or, the
ubuntu template should ignore the MIRROR variable for arm containers, as
they need to puse ports.ubuntu.com.

** Affects: lxc (Ubuntu)
     Importance: Medium
         Status: New

** Changed in: lxc (Ubuntu)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1135871

Title:
  arm containers should not use the /etc/default/lxc MIRROR variable

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



More information about the Ubuntu-server-bugs mailing list