Can't do erlang releases due to missing file, broken link
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
erlang (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
When trying to do a erlang release from within rebar I get:
[...]
==> rel (generate)
ERROR: Unable to generate spec: read file info /usr/lib/
ERROR: Unexpected error: rebar_abort
ERROR: generate failed while processing /home/ubuntu/
This is due to a broken link from
$ ls -l /usr/lib/
lrwxrwxrwx 1 root root 16 Feb 11 09:47 /usr/lib/
$ ls -l /usr/lib/
ls: cannot access '/usr/lib/
Temporary solution:
$ sudo touch /usr/lib/
System:
# lsb_release -rd
Description: Ubuntu 16.04 LTS
Release: 16.04
# apt-cache policy erlang
erlang:
Installed: 1:18.3-
Candidate: 1:18.3-
Version table:
*** 1:18.3-
500 http://
100 /var/lib/
Apparently the file missing is supposedly to be created by erlang-mode
# apt-cache policy erlang-mode
erlang-mode:
Installed: 1:18.3-
Candidate: 1:18.3-
Version table:
*** 1:18.3-
500 http://
100 /var/lib/
Status changed to 'Confirmed' because the bug affects multiple users.