LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1321|回复: 5

[已解决〕装ubuntu的flash deb后,synaptic打不开了

[复制链接]
发表于 2009-7-11 21:44:24 | 显示全部楼层 |阅读模式
debian squeeze
因安装install_flash_player_10_linux,按提示操作后就出错了。谁有办法修复一下?

以前有个人发过同样的帖子,但我好像不行
http://www.linuxsir.cn/bbs/thread352767.html
http://www.linuxquestions.org/qu ... hive-for-it-727572/

lenovo@debian:~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree      
Reading state information... Done
E: The package adobe-flashplugin needs to be reinstalled, but I can't find an archive for it.

同时哪位朋友共享一下这个文件
/var/lib/dpkg/info/adobe-flashplugin.prerm

谢谢
helai
发表于 2009-7-11 23:20:11 | 显示全部楼层
你把它删了不就得了:
  1. sudo apt-get remove --purge adobe-flashplugin
复制代码

假如你的 Debian 源里加了 contrib 的话,直接装 flashplugin-nonfree 就是。

或者直接把 libflashplayer.so 放 ~/.mozilla/plugins/ 里也行,不需要搞那么复杂。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-7-12 06:51:53 | 显示全部楼层
还是不行,现在是骑虎难下

lenovo@debian:~$ sudo apt-get remove --purge adobe-flashplugin
Reading package lists... Done
Building dependency tree      
Reading state information... Done
E: The package adobe-flashplugin needs to be reinstalled, but I can't find an archive for it.

lenovo@debian:~$ sudo dpkg --purge adobe-flashplugin
dpkg: error processing adobe-flashplugin (--purge):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
adobe-flashplugin
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-7-12 08:00:37 | 显示全部楼层
已经解决

sudo rm /var/lib/dpkg/info/adobe-flashplugin.prerm
lenovo@debian:~/Desktop$ sudo dpkg -i adobe-flashplugin_10.0.22.87-2_i386.deb
(Reading database ... 201798 files and directories currently installed.)
Preparing to replace adobe-flashplugin 10.0.22.87-2 (using adobe-flashplugin_10.0.22.87-2_i386.deb) ...
Unpacking replacement adobe-flashplugin ...
Setting up adobe-flashplugin (10.0.22.87-2) ...
update-alternatives: using /usr/lib/adobe-flashplugin/libflashplayer.so to provide /usr/lib/iceape/plugins/flashplugin-alternative.so (iceape-flashplugin) in auto mode.
update-alternatives: using /usr/lib/adobe-flashplugin/libflashplayer.so to provide /usr/lib/iceweasel/plugins/flashplugin-alternative.so (iceweasel-flashplugin) in auto mode.
update-alternatives: using /usr/lib/adobe-flashplugin/libflashplayer.so to provide /usr/lib/mozilla/plugins/flashplugin-alternative.so (mozilla-flashplugin) in auto mode.
update-alternatives: using /usr/lib/adobe-flashplugin/libflashplayer.so to provide /usr/lib/firefox/plugins/flashplugin-alternative.so (firefox-flashplugin) in auto mode.
update-alternatives: using /usr/lib/adobe-flashplugin/libflashplayer.so to provide /usr/lib/xulrunner/plugins/flashplugin-alternative.so (xulrunner-flashplugin) in auto mode.
update-alternatives: using /usr/lib/adobe-flashplugin/libflashplayer.so to provide /usr/lib/midbrowser/plugins/flashplugin-alternative.so (midbrowser-flashplugin) in auto mode.
update-alternatives: using /usr/lib/adobe-flashplugin/libflashplayer.so to provide /usr/lib/xulrunner-addons/plugins/flashplugin-alternative.so (xulrunner-addons-flashplugin) in auto mode.
lenovo@debian:~/Desktop$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

adobe 网站上的DEB 包不能用在DEBIAN上
http://get.adobe.com/flashplayer/
而ubuntu的包到是可以的
https://launchpad.net/ubuntu/har ... plugin/10.0.22.87-2

谢谢!
helai
回复 支持 反对

使用道具 举报

发表于 2009-7-12 08:12:43 | 显示全部楼层
这两天遇到同样问题,按照你的方法解决了,谢谢!!!
Post by helai;2005350

sudo rm /var/lib/dpkg/info/adobe-flashplugin.prerm
sudo dpkg -i adobe-flashplugin_10.0.22.87-2_i386.deb  

不过我最后安装是在Adobe网上的DEB包:
install_flash_player_10_linux.deb
回复 支持 反对

使用道具 举报

发表于 2009-7-12 08:31:12 | 显示全部楼层
debian和ubuntu的deb包有什么区别?

我对deb包的理解是安装的时候自动在某个地方创建一些目录、文件,修改一些配置文件
这样理解对吗?

如果是这样的话,ubuntu的包在debian上只要满足依赖,应该就能装了吧,毕竟ubuntu下目录结构、文件位置都和debian没什么区别啊(iceweasel和icedove除外吧)
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表