尝试安装adobe-flashplugin时,’adobe-flashplugin与flashplugin-downloader冲突’错误

我正在努力直接使用我的adobe flash插件。

$ sudo apt-get remove –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 install

 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

有什么想法吗?

如果弄清楚自己。

我运行$ 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 

然后更新包。

adobe-flashplugin与flashplugin-downloader冲突

请卸载flashplugin-downloader:

 sudo apt-get remove flashplugin-downloader 

如果您在安装Flash时遇到麻烦,我建议尝试使用flashplugin-installer软件包各自的flashplugin64-installer。 但是,删除flashplugin-downloader后,第二个命令应该会成功