Can't create vivid lxc on trusty
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxc (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
When I create a vivid lxc in trusty like this:
lxc-create -t ubuntu -n vivid-lxc -- -r vivid
I get this error at the end:
Hit http://
Reading package lists... Done │······
Reading package lists... Done │······
Building dependency tree... Done │······
Package lxcguest 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 │······
E: Package 'lxcguest' has no installation candidate │······
affects: | lxc → lxc (Ubuntu) |
A partial workaround is to use the download template:
sudo lxc-create --name vivid -t download -- --dist ubuntu --release vivid --arch amd64
This yields a bootable container but it's still a bit weird: mine didn't get an IP address, one needs to lxc-attach to it and post-configure some items before it's usable via ssh as containers for other releases.
The ifup/ifdown scripts don't work because they're looking for files in /var/run which no longer exist; similarly, trying to dhclient eth0 fails with a problem setting up name resolution somewhere in /var/run: /etc/resolv.conf -> ../run/ resolvconf/ resolv. conf
So it's a bit flaky even with the download template.