红联Linux门户
Linux帮助

Ubuntu 11.04解决“The package is of bad quality”问题

发布时间:2015-02-05 21:26:34来源:linux网站作者:bentutu

在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

(最好的那行命令是安装依赖)


2.通过Gdebi安装.deb包

原先默认安装方式就是通过此方式,现在Ubuntu改为通过Ubuntu软件中心了

安装Gdebi

sudo apt-get install gdebi gdebi-core

然后右击软件包,选择“Gdebi安装软件包”。

当然,我们也可以设置“Gdebi安装软件包”为默认安装deb包的方式:

右键单击deb包,属性—打开方式—“GDebi软件包安装程序”即可。