Chinaunix首页 | 论坛 | 博客
  • 博客访问: 723661
  • 博文数量: 823
  • 博客积分: 10000
  • 博客等级: 上将
  • 技术积分: 5165
  • 用 户 组: 普通用户
  • 注册时间: 2008-08-21 15:52
文章分类

全部博文(823)

文章存档

2011年(1)

2008年(822)

我的朋友

分类: LINUX

2008-08-21 17:50:46


添加源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 下载本文示例代码
阅读(301) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~