在运行时sudo apt-get update
,命令在linux mint 18.2 Cinnamon 32位上给出以下错误:
/usr/bin/apt-get: 1: /usr/bin/apt-get: ELF: not found
/usr/bin/apt-get: 1: /usr/bin/apt-get: Syntax error: Unterminated quoted string
您的apt-get
二进制文件某种程度上已损坏(“ ELF”是ELF签名的一部分,但您的内核无法识别出它,因此您的shell尝试将其作为脚本运行)。您需要重新安装它:
wget https://launchpad.net/ubuntu/+source/apt/1.2.26/+build/14435269/+files/apt_1.2.26_i386.deb
sudo dpkg -i apt_1.2.26_i386.deb
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句