Chinaunix首页 | 论坛 | 博客
  • 博客访问: 149071
  • 博文数量: 25
  • 博客积分: 406
  • 博客等级: 一等列兵
  • 技术积分: 330
  • 用 户 组: 普通用户
  • 注册时间: 2011-02-15 01:18
文章分类

全部博文(25)

文章存档

2014年(1)

2013年(6)

2012年(10)

2011年(8)

分类: 嵌入式

2012-02-26 02:52:36

在安装ubuntu软件的过,如果您手抖安装了flashplugin-nonfree,悲催的历程就开始了。
无法继续安装其他软件,flashplugin-nonfree也不能被卸载:

日志如下:
=========================================
正在设置 flashplugin-nonfree (10.2.159.1ubuntu0.8.04.1) ...
cd: 148: can't cd to /var/cache/flashplugin-nonfree
dpkg:处理 flashplugin-nonfree (--configure)时出错:
 子进程 已安装 post-installation 脚本 返回了错误号 2
在处理时有错误发生:
=========================================

下面是解决该问题的方法:

sudo rm /var/lib/dpkg/info/flashplugin-nonfree.prerm

sudo dpkg --remove --force-remove-reinstreq flashplugin-nonfree
sudo dpkg --purge --force-remove-reinstreq flashplugin-nonfree
阅读(1979) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~