Cannot build LXC container after botched install
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Unity8 Desktop Preview in LXC |
Fix Committed
|
Critical
|
Christopher Townsend | ||
unity8-lxc (Ubuntu) |
Fix Released
|
Critical
|
Christopher Townsend |
Bug Description
I accidently installed the package from the 15.10 repo rather than the PPA, this failed to install. Added the PPA, upgraded and running `unity8-lxc-setup` yields:
```
usage: unity8-lxc-setup [-h] [--rebuild] [--test SECONDS] [--destroy]
unity8-lxc-setup: error: The container already exists.
```
Whereas with the `--rebuild` flag:
```
[~]$ sudo unity8-lxc-setup --rebuild
Deleting current unity8-lxc container...
Creating the new unity8-lxc container...
Configuring the Unity8 LXC...
Traceback (most recent call last):
File "/usr/bin/
with open(os.
FileNotFoundError: [Errno 2] No such file or directory: '/var/lib/
```
Related branches
summary: |
- Cannot build LXC container + Cannot build LXC container after botched install |
Changed in unity8-preview-lxc: | |
status: | In Progress → Fix Committed |
Changed in unity8-lxc (Ubuntu): | |
status: | In Progress → Fix Released |
Thanks for reporting this. This error is due to xenial being open and active, but no lxc images of xenial exist yet. The code tries to be smart and use the latest Ubuntu development release (xenial in this case), but that lxc image doesn't exist yet.
I'm just going to hardcode wily for now until the xenial lxc image is available.