Debian安装Flash player失败(网络问题)后,在apt-get安装其他软件会出现如下错误:
Setting up flashplugin-downloader (11.0.1.152ubuntu1) ...
Downloading...
--2011-11-20 21:36:04--
Resolving archive.canonical.com... 91.189.88.33
Connecting to archive.canonical.com|91.189.88.33|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2011-11-20 21:36:08 ERROR 404: Not Found.
download failed
The Flash plugin is NOT installed.
dpkg: error processing flashplugin-downloader (--configure):
configured to not write apport reports
E: Sub-process /usr/bin/dpkg returned an error code (1)
删除失败的安装包:
#apt-get --purge remove 软件包名
或#dpkg -r 软件包名
如果不确定安装包名,查看
#cd/var/lib/dpkg/info
可用软件包名.*的形式列出,如:
#ls flashplugin-downloader.*
直接运行:
sudo apt-get --purge remove flashplugin-downloader
即解决了。