我试图使用以下脚本修复 texlive http://mirror.ctan.org/systems/texlive/tlnet/update-tlmgr-latest.sh
这弄乱了我的 /usr/bin 目录。现在我收到此错误
bash: /usr/lib/command-not-found: /usr/bin/python3: bad interpreter: Permission denied
不知何故,现在我没有 python 2.7。
sudo apt update 也不再起作用。
我正在使用 Ubuntu 16.04
如何解决此错误
尝试1:
从官网下载python 2.7.6“.tar”并尝试
./configure
出现错误
./configure.lineno: line 473: expr: command not found
回声 $PATH
/home/USER/anaconda3/bin:/bin:/condabin:/home/USER/gv:/home/USER/bin:/home/USER/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/USER/g09/bsd:/home/USER/g09/local:/home/USER/g09/extras:/home/USER/g09