我在直接使用 Adobe Flash 插件时遇到了一些困难。
$ sudo apt-get 删除 --purge adobe-flashplugin flashplugin* nspluginwrapper
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'flashplugin-installer' for regex 'flashplugin*'
Note, selecting 'flashplugin-downloader' for regex 'flashplugin*'
Note, selecting 'adobe-flashplugin' for regex 'flashplugin*'
Note, selecting 'flashplugin-nonfree-extrasound' for regex 'flashplugin*'
Note, selecting 'flashplugin' for regex 'flashplugin*'
Note, selecting 'flashplugin-nonfree' for regex 'flashplugin*'
Note, selecting 'adobe-flashplugin' instead of 'flashplugin-nonfree'
Package nspluginwrapper is not installed, so not removed
Package flashplugin-installer is not installed, so not removed
Package adobe-flashplugin is not installed, so not removed
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
adobe-flash-properties-gtk : Depends: adobe-flashplugin (= 11.1.102.55-0oneiric1) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
$ sudo apt-get install --reinstall adobe-flashplugin
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
adobe-flashplugin
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/6 709 kB of archives.
After this operation, 19,0 MB of additional disk space will be used.
dpkg: regarding .../adobe-flashplugin_11.1.102.55-0oneiric1_amd64.deb containing adobe-flashplugin:
adobe-flashplugin conflicts with flashplugin-downloader
flashplugin-downloader:i386 (version 11.1.102.55ubuntu0.11.10.1) is present and installed.
dpkg: error processing /var/cache/apt/archives/adobe-flashplugin_11.1.102.55-0oneiric1_amd64.deb (--unpack):
conflicting packages - not installing adobe-flashplugin
Errors were encountered while processing:
/var/cache/apt/archives/adobe-flashplugin_11.1.102.55-0oneiric1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
编辑:sudo apt-get 删除 flashplugin-downloader
Reading package lists... Done
Building dependency tree
Reading state information... Done
Virtual packages like 'flashplugin-downloader' can't be removed
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
adobe-flash-properties-gtk : Depends: adobe-flashplugin (= 11.1.102.55-0oneiric1) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
编辑#2:#apt-get -f 安装
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
adobe-flashplugin
The following NEW packages will be installed:
adobe-flashplugin
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/6 709 kB of archives.
After this operation, 19,0 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
dpkg: regarding .../adobe-flashplugin_11.1.102.55-0oneiric1_amd64.deb containing adobe-flashplugin:
adobe-flashplugin conflicts with flashplugin-downloader
flashplugin-downloader:i386 (version 11.1.102.55ubuntu0.11.10.1) is present and installed.
dpkg: error processing /var/cache/apt/archives/adobe-flashplugin_11.1.102.55-0oneiric1_amd64.deb (--unpack):
conflicting packages - not installing adobe-flashplugin
Errors were encountered while processing:
/var/cache/apt/archives/adobe-flashplugin_11.1.102.55-0oneiric1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
sudo apt-get update 的输出 -https://gist.github.com/1716225
...
W: Failed to fetch http://ppa.launchpad.net/sevenmachines/flash/ubuntu/dists/oneiric/main/source/Sources 404 Not Found
...
我正在使用 ubuntu 11.10
有什么想法吗?
答案1
如果我自己弄清楚了。
我跑$ apt-config dump|grep Archit 它给了
APT::Architecture "amd64";
APT::Architectures "";
APT::Architectures:: "amd64";
我通过运行修复了这个问题:
$ sudo -s
# echo "foreign-architecture i386" > /etc/dpkg/dpkg.cfg.d/multiarch
# apt-get update
然后更新包。
答案2
adobe-flashplugin 与 flashplugin-downloader 冲突
请卸载 flashplugin-downloader:
sudo apt-get remove flashplugin-downloader
如果您在安装 Flash 时遇到问题,我建议您尝试使用 flashplugin-installer 和 flashplugin64-installer 软件包。但是,在删除 flashplugin-downloader 后,您的第二个命令应该会成功