unity8-lxc-setup local variable 'last_line' referenced before assignment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity8-lxc (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
On Ubuntu 16.04 Beta 2, "sudo unity8-lxc-setup" returns the following error.
Determining latest LXC image release...
Traceback (most recent call last):
File "/usr/bin/
current_release = get_latest_
File "/usr/bin/
release = last_line.
UnboundLocalError: local variable 'last_line' referenced before assignment.
To fix this, i edited script like that:
On line 76:
cmd = ['/usr/
added "--no-validate" parameter, because it did not return with validation :
cmd = ['/usr/
On line 132:
container.
added "--no-validate":
container.