Public bug reported:

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]
                        [--update-lxc]
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/unity8-lxc-setup", line 128, in <module>
    with open(os.path.join(rootfs_path, "etc", "hostname"), "w+") as fd:
FileNotFoundError: [Errno 2] No such file or directory: 
'/var/lib/lxc/unity8-lxc/rootfs/etc/hostname'
```

** Affects: unity8-lxc (Ubuntu)
     Importance: Undecided
         Status: New

** Summary changed:

- Cannot build LXC container
+ Cannot build LXC container after botched install

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1509174

Title:
  Cannot build LXC container after botched install

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to