我从软件中心安装了 Adobe Flash 插件。安装花了很长时间,从未完成。
重新启动后,软件包被标记为已安装,但 Firefox 仍然说它缺少这个插件。我尝试从软件中心卸载它,但它只是说永远“删除”。
我能做些什么?
更新
$ sudo apt-get install flashplugin-installer
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
我猜这是因为它仍然被“删除”(尽管软件中心窗口已关闭)。
更新 2
重启后:
$ sudo apt-get install flashplugin-installer
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
更新 3
$ sudo dpkg --configure -a
Setting up flashplugin-installer (10.1.85.3ubuntu1) ...
Downloading...
--2010-10-17 11:18:31-- http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_10.1.85.3.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... Read error (Connection reset by peer) in headers.
Retrying.
--2010-10-17 11:21:41-- (try: 2) http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_10.1.85.3.orig.tar.gz
Connecting to archive.canonical.com|91.189.88.33|:80... connected.
HTTP request sent, awaiting response... Read error (Connection reset by peer) in headers.
Retrying.
--2010-10-17 11:22:04-- (try: 3) http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_10.1.85.3.orig.tar.gz
Connecting to archive.canonical.com|91.189.88.33|:80... connected.
HTTP request sent, awaiting response... Read error (Connection reset by peer) in headers.
Retrying.
--2010-10-17 11:22:52-- (try: 4) http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_10.1.85.3.orig.tar.gz
Connecting to archive.canonical.com|91.189.88.33|:80... connected.
HTTP request sent, awaiting response...
而且我想它会继续...
更新 4
似乎这是相关的:https ://bugs.launchpad.net/ubuntu/+source/software-center/+bug/661979?comments=all
更新 5
我尝试先将其删除,然后使用以下命令再次安装apt-get
:
$ sudo apt-get remove flashplugin-installer
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
flashplugin-installer
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 188kB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 120250 files and directories currently installed.)
Removing flashplugin-installer ...
$ sudo apt-get install flashplugin-installer
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
xulrunner-1.9 firefox-3.0 konqueror-nsplugins msttcorefonts
ttf-bitstream-vera ttf-dejavu ttf-xfree86-nonfree xfs
The following NEW packages will be installed:
flashplugin-installer
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/20.0kB of archives.
After this operation, 188kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously deselected package flashplugin-installer.
(Reading database ... 120229 files and directories currently installed.)
Unpacking flashplugin-installer (from .../flashplugin-installer_10.1.85.3ubuntu1_i386.deb) ...
Setting up flashplugin-installer (10.1.85.3ubuntu1) ...
Downloading...
--2010-10-17 11:26:48-- http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_10.1.85.3.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... Read error (Connection reset by peer) in headers.
Retrying.
--2010-10-17 11:27:34-- (try: 2) http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_10.1.85.3.orig.tar.gz
Connecting to archive.canonical.com|91.189.88.33|:80... connected.
HTTP request sent, awaiting response...
问题是 flashplugin-installer 实际上是从 Canonical 的合作伙伴存储库下载 flash tar.gz(即使未启用)。似乎存储库最近经常关闭。我不是第一次看到这个问题。直接从 Adobe 获取 deb 文件http://get.adobe.com/flashplayer/