Missing or wrong symlink - /usr/bin/python2 can not be found
Bug #1770449 reported by
Alexander Micke
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
getmail (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Ubuntu 18.04 LTS / getmail 5.5-3
When you run "getmail" after doing the configuration you recieve the following error:
"bash: /usr/bin/getmail: /usr/bin/python2: bad interpreter: No such file or directory"
This is caused by the first line of the getmail script stating "#!/usr/
When checking "/usr/bin" you do not find a symlink for "python2" linking to "python2.7" (but there is one for "python3" linking to "python3.6").
Executing
"sudo ln -s /usr/bin/python2.7 /usr/bin/python2"
adds the missing symlink and solves the problem.
In case this bug can not be addressed to "getmail" i kindly ask for indulgence - this is my first bug report ever.
tags: | added: bionic |
To post a comment you must log in.
For me, "sudo apt-get install python" also created the symlink for python2.