在Ubuntu 11.04中,安裝deb軟件包的時候會遇到錯誤提示:
The package is of bad quality
The installation of a package which violates the quality standards isn’t allowed. This could cause serious problems on your computer. Please contact the person or organisation who provided this package file and include the details beneath.
在安裝過程中會很煩人喲,雖然不經常出現,但總是問題。解決這個除非修正deb軟件包。另外一個方法就是不通過“Ubuntu軟件中心”安裝deb包,而是通過其他途徑如如命令dpkg或Gdebi。
注意,有些軟件包確實是很糟糕,但大多數還是質量可靠的,只是存在少量問題。這樣安裝也是存在風險的。
#1 通過dpkg 安裝.deb包
加入下載的.deb包存放在~/Downloads文件夾下,就可以使用命令來安裝.deb包了:
cd ~/Downloads
sudo dpkg -i *.deb
sudo apt-get install -f
(最好的那行命令是安裝依賴)