在13.10上,我尝试安装软件包python-pypdf。我在安装过程中出了一个错误,无法骑上它。
我试过sudo dpkg --remove python-pypdf,sudo dpkg --purge python-pypdf和sudo apt-get -f install
我总是会犯一个错误
Paramétrage de python-pypdf (1.13-1) ...
Traceback (most recent call last):
File "/usr/sbin/update-python-modules", line 449, in <module>
shutil.rmtree(dir)
File "/usr/lib/python2.7/shutil.py", line 232, in rmtree
onerror(os.path.islink, path, sys.exc_info())
File "/usr/lib/python2.7/shutil.py", line 230, in rmtree
raise OSError("Cannot call rmtree on a symbolic link")
OSError: Cannot call rmtree on a symbolic link
dpkg: erreur de traitement de python-pypdf (--configure) :
le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1
Des erreurs ont été rencontrées pendant l'exécution :
python-pypdf
E: Sub-process /usr/bin/dpkg returned an error code (1)知道我该怎么解决这个问题吗?
发布于 2014-03-05 08:26:44
尝试下面的命令强制删除python-pypdf,
sudo dpkg -P --force-remove-reinstreq python-pypdf然后再运行安装,
sudo apt-get install python-pypdfhttps://askubuntu.com/questions/429703
复制相似问题