flash 插件64位ubuntu解决办法?? 地址 http://ubuntuforums.org/showthre

CPU/显卡/打印机/USB设备等硬件问题
回复
luckyone
帖子: 94
注册时间: 2007-09-12 13:16

flash 插件64位ubuntu解决办法?? 地址 http://ubuntuforums.org/showthre

#1

帖子 luckyone » 2007-10-12 19:27

After several tests in order to make Flash Player working on Amd64 with nspluginwrapper based on the reading of varies how-to and in occasion of the definitive version of Flash Player 9 I have thought to write this guide, taking cue from the several one how-to that I have read; I synthetize the things that I have made in order to make it to work.
First of all we must install one series of libraries for compatibility with 32 bit
Indispensable is to install ia32-libs ia32-libs-gtk linux32 lib32asound2
Code:

sudo apt-get install ia32-libs ia32-libs-gtk linux32 lib32asound2

Installation of the nspluginwrapper

# Alternative n.1: using repository kindly offered by Janvitus:
add the respository and update the sources list: http://www.janvitus.netsons.org/repository/
installation:
Code:

sudo apt-get install nspluginwrapper gsfonts-x11

# end of Alternative 1

# Alternative n. 2:downloading the last version of .rpm files the Plugin and Viewer from his site and debianizing with alien
Download:
http://gwenole.beauchesne.info/proje...2-1.x86_64.rpm
http://gwenole.beauchesne.info/proje...2-1.x86_64.rpm
install alien
Code:

sudo apt-get install alien

Let’s go into the folder with the downloaded .rpm files (in my case /home/maurizio)
And convert the packages
Code:

sudo alien nspluginwrapper-0.9.91.2-1.x86_64.rpm
sudo alien nspluginwrapper-i386-0.9.91.2-1.x86_64.rpm

And install the packages
Code:

sudo dpkg -i nspluginwrapper-0.9.91.2-1.x86_64.deb
sudo dpkg -i nspluginwrapper-i386-0.9.91.2-1.x86_64.deb

#end of Alternative n. 2

Download flash player 9 from Adobe site http://fpdownload.macromedia.com/get...9_linux.tar.gz

WARNING: At this point, make sure to close every open browser.

Let’s go into the folder with the downloaded file and untar it
the “install_flash_player_9_linux” folder has been created
move the 2 files “libflashplayer.so” and “flashplayer.xpt” from that folder into the /usr/lib/mozilla/plugins folder
at last give the command
Code:

nspluginwrapper -i /usr/lib/mozilla/plugins/libflashplayer.so

if it is all right, it would have to return to the prompt without no messages

in the folder .mozilla/plugins/ in our /home we can see the file “npwrapper.libflashplayer.so”, created from the previous command.

Copy it into the folder /usr/lib/mozilla/plugins/ [Epiphany works]
and create a link (or copy it) into the folder /usr/lib/mozilla-firefox/plugins/ [now Firefox works, too]

Now, (if I remembered to write back all steps) it would work,
try going on http://www.youtube.com/ and watch a video.

In my system it works, for stability we will see.

Automatically translated text: http://www.google.com/intl/en/help/faq_translation.html
from: http://forum.ubuntu-it.org/index.php/topic,56771.0.html
luckyone
帖子: 94
注册时间: 2007-09-12 13:16

64位ubuntu flash安装, 求助!!

#2

帖子 luckyone » 2007-10-12 19:34

我用上面的方法,进行到下面步骤,
Let’s go into the folder with the downloaded file and untar it
the “install_flash_player_9_linux” folder has been created
move the 2 files “libflashplayer.so” and “flashplayer.xpt” from that folder into the /usr/lib/mozilla/plugins folder
at last give the command
Code:

nspluginwrapper -i /usr/lib/mozilla/plugins/libflashplayer.so
让我加代码:Code:

nspluginwrapper -i /usr/lib/mozilla/plugins/libflashplayer.so
请问,我在哪里加代码?????

:roll: 详细点,我初级的菜鸟!!!
markpin
帖子: 49
注册时间: 2007-08-03 16:22

#3

帖子 markpin » 2007-10-23 15:03

我用上面的方法,进行到下面步骤,
sudo apt-get install ia32-libs ia32-libs-gtk linux32 lib32asound2
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
Reading state information... 完成
ia32-libs 已经是最新的版本了。
注意,我选了 ia32-libs 而非 ia32-libs-gtk
ia32-libs 已经是最新的版本了。
linux32 已经是最新的版本了。
lib32asound2 已经是最新的版本了。
您可能需要运行“apt-get -f install”来纠正下列错误:
下列的软件包有不能满足的依赖关系:
flashplugin-nonfree: 依赖: nspluginwrapper (>= 0.9.91.4-2ubuntu1) 但是 0.9.91.4-2 正要被安装
E: 有未能满足的依赖关系。请尝试不指明软件包的名字来运行“apt-get -f install”(也可以指定一个解决办法)。

apt-get -f install
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
Reading state information... 完成
正在更正依赖关系... 完成
将会安装下列额外的软件包:
nspluginwrapper
下列的软件包将被升级:
nspluginwrapper
共升级了 1 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 27 个软件未被升级。
需要下载 0B/111kB 的软件包。
解压缩后会消耗掉 168kB 的额外空间。
您希望继续执行吗?[Y/n]Y
(正在读取数据库 ... 系统当前总共安装有 155591 个文件和目录。)
正预备替换 nspluginwrapper 0.9.91.4-2 (使用 .../nspluginwrapper_0.9.91.5-1ubuntu1_amd64.deb) ...
正在解压缩将用于更替的包文件 nspluginwrapper ...
dpkg:处理 /var/cache/apt/archives/nspluginwrapper_0.9.91.5-1ubuntu1_amd64.deb (--unpack)时出错:
正试图覆盖“/usr/lib/nspluginwrapper/i386/linux/npviewer.bin”,它属于软件包 nspluginwrapper-i386
dpkg-deb: 子进程 paste 被信号(Broken pipe)终止了
Auto-update plugins from /usr/lib/mozilla/plugins
Looking for plugins in /usr/lib/mozilla/plugins
Update plugin /usr/lib/mozilla/plugins/npwrapper.libflashplayer.so
Update plugin /usr/lib/mozilla/plugins/flashplugin-alternative.so
nspluginwrapper ident mismatch, reinstalling plugin
Install plugin /usr/lib/flashplugin-nonfree/libflashplayer.so
into /usr/lib/mozilla/plugins/npwrapper.libflashplayer.so
Auto-update plugins from /usr/lib64/mozilla/plugins
Looking for plugins in /usr/lib64/mozilla/plugins
Update plugin /usr/lib64/mozilla/plugins/npwrapper.libflashplayer.so
NS4 plugin /usr/lib/flashplugin-nonfree/libflashplayer.so is already installed system-wide, removing wrapper
Remove plugin /usr/lib64/mozilla/plugins/npwrapper.libflashplayer.so
Update plugin /usr/lib64/mozilla/plugins/flashplugin-alternative.so
nspluginwrapper ident mismatch, reinstalling plugin
Install plugin /usr/lib/flashplugin-nonfree/libflashplayer.so
into /usr/lib/mozilla/plugins/npwrapper.libflashplayer.so
Auto-update plugins from /usr/lib/firefox/plugins
Looking for plugins in /usr/lib/firefox/plugins
Update plugin /usr/lib/firefox/plugins/npwrapper.libflashplayer.so
nspluginwrapper ident mismatch, reinstalling plugin
Install plugin /usr/lib/mozilla/plugins/libflashplayer.so
into /usr/lib/mozilla/plugins/npwrapper.libflashplayer.so
Update plugin /usr/lib/firefox/plugins/npwrapper.nphelix.so
Update plugin /usr/lib/firefox/plugins/flashplugin-alternative.so
nspluginwrapper ident mismatch, reinstalling plugin
Install plugin /usr/lib/flashplugin-nonfree/libflashplayer.so
into /usr/lib/mozilla/plugins/npwrapper.libflashplayer.so
Auto-update plugins from /usr/lib64/firefox/plugins
Looking for plugins in /usr/lib64/firefox/plugins
Update plugin /usr/lib64/firefox/plugins/npwrapper.libflashplayer.so
nspluginwrapper ident mismatch, reinstalling plugin
Install plugin /usr/lib/mozilla/plugins/libflashplayer.so
into /usr/lib/mozilla/plugins/npwrapper.libflashplayer.so
Update plugin /usr/lib64/firefox/plugins/npwrapper.nphelix.so
Update plugin /usr/lib64/firefox/plugins/flashplugin-alternative.so
nspluginwrapper ident mismatch, reinstalling plugin
Install plugin /usr/lib/flashplugin-nonfree/libflashplayer.so
into /usr/lib/mozilla/plugins/npwrapper.libflashplayer.so
Auto-update plugins from /root/.mozilla/plugins
Looking for plugins in /root/.mozilla/plugins
在处理时有错误发生:
/var/cache/apt/archives/nspluginwrapper_0.9.91.5-1ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

?
fox0296
帖子: 3
注册时间: 2008-02-03 12:24

#4

帖子 fox0296 » 2008-02-03 12:44

我的 错误 与楼上的一样
求解决办法 !!!!!


sudo apt-get install ia32-libs ia32-libs-gtk linux32 lib32asound2
[sudo] password for liufei:
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
Reading state information... 完成
ia32-libs 已经是最新的版本了。
ia32-libs 设定为手动安装.
注意,我选了 ia32-libs 而非 ia32-libs-gtk
ia32-libs 已经是最新的版本了。
lib32asound2 已经是最新的版本了。
lib32asound2 设定为手动安装.
您可能需要运行“apt-get -f install”来纠正下列错误:
下列的软件包有不能满足的依赖关系:
flashplugin-nonfree: 依赖: nspluginwrapper (>= 0.9.91.4-2ubuntu1) 但是 0.9.91.2-2 正要被安装
util-linux: 冲突: linux32
E: 有未能满足的依赖关系。请尝试不指明软件包的名字来运行“apt-get -f install”(也可以指定一个解决办法)。
liufei@Liuf:~$ apt-get -f install
E: 无法打开锁文件 /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
liufei@Liuf:~$ sudo apt-get -f install
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
Reading state information... 完成
正在更正依赖关系... 完成
将会安装下列额外的软件包:
nspluginwrapper
下列的软件包将被升级:
nspluginwrapper
共升级了 1 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件未被升级。
需要下载 0B/111kB 的软件包。
解压缩后会消耗掉 176kB 的额外空间。
您希望继续执行吗?[Y/n]y
(正在读取数据库 ... 系统当前总共安装有 101659 个文件和目录。)
正预备替换 nspluginwrapper 0.9.91.2-2 (使用 .../nspluginwrapper_0.9.91.5-1ubuntu1_amd64.deb) ...
正在解压缩将用于更替的包文件 nspluginwrapper ...
dpkg:处理 /var/cache/apt/archives/nspluginwrapper_0.9.91.5-1ubuntu1_amd64.deb (--unpack)时出错:
正试图覆盖“/usr/lib/nspluginwrapper/i386/linux/npviewer.bin”,它属于软件包 nspluginwrapper-i386
在处理时有错误发生:
/var/cache/apt/archives/nspluginwrapper_0.9.91.5-1ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
头像
dr_liu
帖子: 42
注册时间: 2008-01-07 16:53

#5

帖子 dr_liu » 2008-02-08 20:24

试试装开源的gnash flash player ,新立得搜一下安装它代替adobe的。
头像
titainium
帖子: 689
注册时间: 2006-12-02 12:25

#6

帖子 titainium » 2008-02-14 13:21

gnash flash player这个有64位的?


正在考虑转向amd64,关注。
Titainium
回复