- 论坛徽章:
- 0
|
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 in the above examples webmin and mfc8500lpr packages this error mostly occour 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 脚本 返回了错误号 2postinst called with argument `abort-remove'dpkg: 作下列清理工作时发生错误:子进程 已安装的 post-installation 脚本 返回了错误号 1在处理时有错误发生:adobe-flashplugin |
|
|