64位kubuntu札記

1、安裝32位程序

64位系統下默認是不能安裝32位程序的,下面以安裝foxit爲例:

首先安張32位庫
sudo apt-get install ia32-libs*
sudo apt-get install getlibs #如果沒有,到這個地址下http://frozenfox.freehostia.com/cappy/
然後就可以安裝32位包
安裝時加--force-architecture
然後用getlibs安裝依賴庫,如
sudo dpkg -i --force-architecture foxitreader*.deb
sudo getlibs foxitreader

 

2、添加額外的非開源軟件庫

Mediubuntu 已經支持Ubuntu 11.10 ,其軟件源已經升級

命令方法添加Medibuntu,打開終端,輸入下面命令

sudo wget --output-document=/etc/apt/sources.list.d/medibuntu.list http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list && sudo apt-get --quiet update && sudo apt-get --yes --quiet --allow-unauthenticated install medibuntu-keyring && sudo apt-get --quiet updatesudo apt-get update

sudo apt-get install app-install-data-medibuntu apport-hooks-medibuntu

 

3、修復軟件包依賴

中途中斷安裝容易破壞軟件包依賴

首先,解除先前安裝程序的lock權限

sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/loc

然後,dpkg 被中斷

sudo dpkg --configure -a

接着,修復軟件包依賴

sudo apt-get -f install

 

4、關機後電源不關閉

由於不兼容主板的acpi,kubuntu可能在關機後無法自動切斷電源,更明顯的是安裝系統的時候如果不禁用acpi就無法安裝。ACPI總開關一般有一下選項

force|off|ht|strict|noirq
force表示強制啓用;off表示強制禁用;noirq表示不要將ACPI用於IRQ路由;ht表示只運行足夠的ACPI來支持超線程;strict表示降低對不嚴格遵循ACPI規格的平臺的兼容性。

(更多參數詳見linux公社)

碰到無法安裝系統或無法切斷電源,需要設置acpi=off或者acpi=force。

sudo kate /boot/grub/grub.cfg

找到linux    /vmlinuz...在後面加入acpi=off即可,如

linux    /vmlinuz-3.0.0-12-generic root=UUID=128dc8b4-9c4b-4014-99eb-0c20fd619b07 acpi=force ro   quiet splash


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章