我正在尝试从终端打开突触。gksudo synaptic
但出现了以下错误。
Traceback (most recent call last):
File "/usr/bin/gksudo", line 5, in <module>
import esudo.esudo as esudo
File "/usr/lib/python2.7/dist-packages/esudo/esudo.py", line 13, in <module>
from efl import ecore
ImportError: libecore.so.1: cannot open shared object file: No such file or directory
我sudo apt-get install --force-yes moksha packagekit bodhi-desktop-e17
后来用它安装和卸载了它,sudo apt-get remove --force-yes moksha packagekit bodhi-desktop-e17
然后我用它sudo apt-get clean && sudo apt-get remove && sudo apt-get autoclean && sudo apt-get autoremove
来清理电脑。但之后有些软件就不能用了。请问有人能帮我解决这个问题吗?
答案1
packagekit
先重新安装
sudo apt-get install packagekit
libecore1
现在通过以下方式安装或重新安装包
sudo apt-get install --reinstall libecore1
为什么?原因如下:
% apt-file search libecore.so.1
libecore1: /usr/lib/x86_64-linux-gnu/libecore.so.1
libecore1: /usr/lib/x86_64-linux-gnu/libecore.so.1.8.6