flashplugin安装失败处理, 导致APT-GET出错的问题

来源:互联网 发布:ug10.0编程教程pdf 编辑:程序博客网 时间:2024/06/13 23:59

Debian安装Flash player失败(网络问题)后,在apt-get安装其他软件会出现如下错误:

Setting up flashplugin-downloader (11.0.1.152ubuntu1) ...

Downloading...

--2011-11-20 21:36:04--  http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_11.0.1.152.orig.tar.gz

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):

 subprocess installed post-installation script returned error exit status 1

configured to not write apport reports

                                      Errors were encountered while processing:

 flashplugin-downloader

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

即解决了