Public bug reported: In ubuntu 12.04:
"sudo lxc-create -t ubuntu -n foobar -- -r lucid" fails after a while. Workaround is "sudo rm -rf /var/cache/lxc". It'd be nice if it didn't go stale like that. Log of the failure: No config file specified, using the default config debootstrap is /usr/sbin/debootstrap Checking cache download in /var/cache/lxc/lucid/rootfs-amd64 ... Copy /var/cache/lxc/lucid/rootfs-amd64 to /var/lib/lxc/foobar/rootfs ... Copying rootfs to /var/lib/lxc/foobar/rootfs ... Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: iso-codes python-apt python-gnupginterface python-pycurl python-support unattended-upgrades Suggested packages: isoquery python-apt-dbg python-gtk2 python-vte python-apt-doc libcurl4-gnutls-dev python-pycurl-dbg bsd-mailx The following NEW packages will be installed: iso-codes python-apt python-gnupginterface python-pycurl python-software-properties python-support unattended-upgrades 0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded. Need to get 2992kB of archives. After this operation, 15.2MB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu/ lucid/main iso-codes 3.12.1-1 [2642kB] Get:2 http://archive.ubuntu.com/ubuntu/ lucid-updates/main python-apt 0.7.94.2ubuntu6.4 [187kB] Get:3 http://archive.ubuntu.com/ubuntu/ lucid/main python-support 1.0.4ubuntu1 [32.0kB] Get:4 http://archive.ubuntu.com/ubuntu/ lucid/main python-gnupginterface 0.3.2-9.1 [19.1kB] Get:5 http://archive.ubuntu.com/ubuntu/ lucid-updates/main unattended-upgrades 0.55ubuntu7 [21.2kB] Get:6 http://archive.ubuntu.com/ubuntu/ lucid/main python-pycurl 7.19.0-3 [60.1kB] Err http://archive.ubuntu.com/ubuntu/ lucid-updates/main python-software-properties 0.75.10.2 404 Not Found [IP: 91.189.92.200 80] Err http://security.ubuntu.com/ubuntu/ lucid-security/main python-software-properties 0.75.10.2 404 Not Found [IP: 91.189.92.190 80] Fetched 2962kB in 4s (650kB/s) Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/s/software-properties/python-software-properties_0.75.10.2_all.deb 404 Not Found [IP: 91.189.92.190 80] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? failed to execute template 'ubuntu' aborted ** Affects: lxc (Ubuntu) Importance: Undecided Status: New -- 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/1075736 Title: "lxc-create -u ubuntu" fails if /var/cache/lxc too old? To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1075736/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs