Chinaunix首页 | 论坛 | 博客
  • 博客访问: 761838
  • 博文数量: 790
  • 博客积分: 40560
  • 博客等级: 大将
  • 技术积分: 5065
  • 用 户 组: 普通用户
  • 注册时间: 2008-08-28 16:29
文章分类

全部博文(790)

文章存档

2011年(1)

2008年(789)

我的朋友

分类: LINUX

2008-08-28 17:24:23

 
添加源deb安装OOoLatex出错,于是使用sudodpkg--purge--force-remove-reinstreqooolatex强制删除,也出错:

dpkg-warning,overridingproblembecause--forceenabled:
Packageisinaverybadinconsistentstate-youshould
reinstallitbeforeattemptingaremoval.
(Readingdatabase...242056filesanddirectoriescurrentlyinstalled.)
Removingooolatex...
sed:can''tread/usr/lib/openoffice/share/config/soffice.cfg/modules/simpress/accelerator/default.xml/default.xml:Notadirectory
dpkg:errorprocessingooolatex(--purge):
subprocesspost-removalscriptreturnederrorexitstatus2
Errorswereencounteredwhileprocessing:
ooolatex

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

2.执行sudodpkg--purge--force-remove-reinstreqooolatex

阅读(360) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~