感谢支持
我们一直在努力

Ubuntu中删除安装异常的OOoLatex

首先在Ubuntu中添加源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

赞(0) 打赏
转载请注明出处:服务器评测 » Ubuntu中删除安装异常的OOoLatex
分享到: 更多 (0)

听说打赏我的人,都进福布斯排行榜啦!

支付宝扫一扫打赏

微信扫一扫打赏