unity8-lxc-setup crashed with FileNotFoundError in __main__: [Errno 2] No such file or directory: '/var/lib/lxc/unity8-lxc/rootfs/etc/hostname'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Unity8 Desktop Preview in LXC |
Fix Released
|
High
|
Christopher Townsend | ||
unity8-lxc (Ubuntu) |
Fix Released
|
High
|
Christopher Townsend |
Bug Description
I just did:
sudo apt-add-repository ppa:unity8-
sudo apt-get update
sudo apt-get upgrade (nothing to do)
sudo apt-get install unity8-lxc
$ sudo unity8-lxc-setup
#######
open: No such file or directory
not using seed file /var/lib/
Read /var/lib/
No relevent local data found - I will be downloading the whole file. If that's not what you want, CTRL-C out. You should specify the local file is the old version of the file to download with -i (you might have to decompress it with gzip -d first). Or perhaps you just have no data that helps download the file
rename: Invalid cross-device link
rename: Invalid cross-device link
mount: /var/lib/
mount: /var/lib/
Unpacking the ISO image...
umount: /var/lib/
umount: /var/lib/
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/
Will delete and retry...
ProblemType: Crash
DistroRelease: Ubuntu 15.04
Package: unity8-lxc 1.0.2+15.
ProcVersionSign
Uname: Linux 3.18.0-12-generic x86_64
NonfreeKernelMo
ApportVersion: 2.15.1-0ubuntu4
Architecture: amd64
Date: Thu Feb 5 12:50:55 2015
ExecutablePath: /usr/bin/
InstallationDate: Installed on 2015-01-08 (27 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Alpha amd64 (20150108)
InterpreterPath: /usr/bin/python3.4
PackageArchitec
ProcCmdline: /usr/bin/python3 /usr/bin/
PythonArgs: ['/usr/
SourcePackage: unity8-lxc
Title: unity8-lxc-setup crashed with FileNotFoundError in __main__: [Errno 2] No such file or directory: '/var/lib/
Traceback:
Traceback (most recent call last):
File "/usr/bin/
with open(os.
FileNotFoundError: [Errno 2] No such file or directory: '/var/lib/
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
Related branches
- Stephen M. Webb (community): Approve
-
Diff: 38 lines (+10/-6)1 file modifiedbin/unity8-lxc-setup (+10/-6)
tags: | removed: need-duplicate-check |
Changed in unity8-lxc (Ubuntu): | |
importance: | Undecided → Medium |
information type: | Private → Public |
Changed in unity8-lxc (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in unity8-preview-lxc: | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Christopher Townsend (townsend) |
milestone: | none → 1.0.3 |
Changed in unity8-preview-lxc: | |
status: | In Progress → Fix Committed |
status: | Fix Committed → Fix Released |
https:/ /bugs.launchpad .net/ubuntu/ +source/ testdrive/ +bug/680138 Seems like it worked around a similar issue.
I have everything relevant to this command on the same btrfs filesystem.
I can reproduce with just: lxc/unity8- lxc/ubuntu- next.iso -o /var/lib/ lxc/unity8- lxc/ubuntu- next.iso http:// cdimage. ubuntu. com/ubuntu- desktop- next/daily- live/current/ vivid-desktop- amd64.iso. zsync
zsync -i /var/lib/