Debian
如何在 PowerPC debian 上添加 Flash 支持
我有一台執行 Debian 的 PowerBook G4。
我按照 debian wiki的說明進行操作,但對於安裝,它只是說
安裝 flashplugin-nonfree(來自 contrib 部分)。
我不確定那是什麼意思,所以我就跑了
apt-get install flashplugin-nonfree
但是得到了這個錯誤
Reading package lists... Done Building dependency tree Reading state information... Done Package flashplugin-nonfree is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'flashplugin-nonfree' has no installation candidate
這是我的
sources.list
-編輯:# # deb cdrom:[Debian GNU/Linux 7.3.0 _Wheezy_ - Official powerpc CD Binary-1 20131215-05:55]/ wheezy main deb cdrom:[Debian GNU/Linux 7.3.0 _Wheezy_ - Official powerpc CD Binary-1 20131215-05:55]/ wheezy main deb http://ftp.us.debian.org/debian/ wheezy main contrib non-free deb-src http://ftp.us.debian.org/debian/ wheezy main deb http://security.debian.org/ wheezy/updates main deb-src http://security.debian.org/ wheezy/updates main # wheezy-updates, previously known as 'volatile' deb http://ftp.us.debian.org/debian/ wheezy-updates main deb-src http://ftp.us.debian.org/debian/ wheezy-updates main deb http://ppa.launchpad.net/webupd8team/java/ubuntu precise main deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu precise main
新答案
對不起,我不夠謹慎。
在 PowerPC 上沒有對 Flash 的官方支持,您唯一的選擇是免費外掛“ gnash ”
sudo apt-get install gnash browser-plugin-gnash
舊答案
要將非免費應用程序添加到您的安裝源,請修改文件
/etc/apt/sources.list
:sudo 'the_editor_of_your_choice' /etc/apt/source.list
~~將行編輯
deb http://ftp.us.debian.org/debian/ wheezy-updates main
為
deb http://ftp.us.debian.org/debian/ wheezy-updates main contrib non-free
~~編輯2:
deb http://ftp.us.debian.org/debian/ wheezy main
或
deb http://ftp.us.debian.org/debian/ wheezy main contrib non-free
然後執行那些行
#this is for updating ths list of app available in repository after the update made to your `source.list` file sudo apt-get update # You might want to run this command to upgrade your packages: sudo apt-get upgrade #this is the command to install flash on debian once you activate the nonfree and contrib repositories sudo apt-get install flashplugin-nonfree #this seems to be the command to update according to the [debian wiki][2] sudo update-flashplugin-nonfree --install
這應該可以解決問題。