首 页文章中心

Linux学习网

您的位置Linux学习网 > Linux基本应用 > 文章内容

Ubuntu 删除安装异常OOoLatex

作者:佚名  来源:不详  发布时间:2008-7-20 6:19:00
添加源deb http://www.fyma.ucl.ac.be/ubuntu gutsy contrib安装OOoLatex出错,于是使用sudo dpkg --purge --force-remove-reinstreq ooolatex强制删除,也出错:

dpkg - warning, overriding problem because --force enabled:
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
(Reading database ... 242056 files and directories currently installed.)
Removing ooolatex ...
sed: can't read /usr/lib/openoffice/share/config/soffice.cfg/modules/simpress/accelerator/default.xml/default.xml: Not a directory
dpkg: error processing ooolatex (--purge):
subprocess post-removal script returned error exit status 2
Errors were encountered while processing:
ooolatex

解决办法:
1.删除文件 /usr/lib/openoffice/share/config/soffice.cfg/modules/simpress/accelerator/default.xml(default.xml可以先移到别的地方,删完后再移回);

2.执行sudo dpkg --purge --force-remove-reinstreq ooolatex
收藏本页到: 365Key | del.icio.us | | 添加到雅虎收藏+
  • 网站帮助 - 广告合作 - 网站地图