Chinaunix

标题: apt报错 [打印本页]

作者: arnk    时间: 2009-08-03 18:13
标题: apt报错
系统Debian lenny
错误信息如下:
E: 软件包 adobe-flashplugin 需要重新安装,但是我无法找到相应的安装文件。
我不是问怎么安装adobe-flashplugin的,只是想问下,怎么别让apt包管理程序宕在这里,不干事情了。
例如:
arnk@debian4arnk:~/bak$ sudo apt-get upgrade
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
E: 软件包 adobe-flashplugin 需要重新安装,但是我无法找到相应的安装文件。

宕在这里
又例如:
arnk@debian4arnk:~/bak$ sudo apt-get install netbeans
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
E: 软件包 adobe-flashplugin 需要重新安装,但是我无法找到相应的安装文件。

又宕在这里
这样apt就不能用了呀!能不能不让它管这个软件的事了,然后照常工作,不能因为这个错误影响到全局阿!
但是事实上我已经安装好了adobe-flashplugin,是通过下载官网的.gz文件,然后解压到指定目录安装好的,iceweasel也已经显示了。

kao
我发现这还不是最要命的,
如:
arnk@debian4arnk:~$ sudo dpkg -l | grep flash
iFR adobe-flashplugin                    10.0.32.18-1                 Adobe Flash Player plugin version 10
arnk@debian4arnk:~$ sudo apt-get --purge remove adobe-flashplugin
正在读取软件包列表... 完成
正在分析软件包的依赖关系树     
正在读取状态信息... 完成     
E: 软件包 adobe-flashplugin 需要重新安装,但是我无法找到相应的安装文件。

想将其卸载也不行了。我该怎么办?
作者: arnk    时间: 2009-08-03 18:25
Some times you might see the following error message when you try to install any package using apt-get or synaptic
E: The package webmin needs to be reinstalled, but I can’t find an archive for it.E: The package mfc8500lpr needs to be reinstalled, but I can’t find an archive for it.

This error might be with any package inthe above examples webmin and mfc8500lpr packages this error mostlyoccour when you try to install a debian package in to ubuntu system
Error
E: The package package name needs to be reinstalled, but I can’t find an archive for it.
Package name in the above error could be any package
Solution
Run the following command
For webmin Pakage
dpkg --remove --force-remove-reinstreq webmin
You can replace webmin to any of your package name which is giving the error
上面所说的似乎和我的情况类似,但我执行dpkg --remove --force-remove-reinstreq adobe-flashplugin后依然让我崩溃。问题的原因是我在我的debian系统上安装了一个用于ubuntu系统的flashplugin的deb包,导致了这个问题。
dpkg:警告:由于开启了 --force 选项,以下问题被忽略:
该软件包现在的状态极为不妥 - 您最好能
在删除它之前再重新安装一次。
(正在读取数据库 ... 系统当前总共安装有 93095 个文件和目录。)
正在删除 adobe-flashplugin ...
update-alternatives: error: 无 iceape-flashplugin 的替换项。
update-alternatives: error: 无 iceape-flashplugin 的替换项。
dpkg:处理 adobe-flashplugin (--purge)时出错:
子进程 已安装的 pre-removal 脚本 返回了错误号 2
postinst called with argument `abort-remove'
dpkg: 作下列清理工作时发生错误:
子进程 已安装的 post-installation 脚本 返回了错误号 1
在处理时有错误发生:
adobe-flashplugin

[ 本帖最后由 arnk 于 2009-8-3 18:26 编辑 ]
作者: emmoblin    时间: 2009-08-03 22:03
上面好像就是强行把包删掉吧




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2