ubuntu不能定位软件包_Ubuntu上的“此软件包质量不佳”是什么意思?

ubuntu不能定位软件包

ubuntu不能定位软件包

this-package-is-of-bad-quality

Install many third-party .deb packages on Ubuntu – even mainstream, high-quality software like Google Chrome and Skype – and you will see an error saying the package is of bad quality. We will explain what this scary-looking error actually means.

在Ubuntu上安装许多第三方.deb软件包-甚至是主流的高质量软件,例如Google Chrome和Skype-都会看到错误消息,指出该软件包的质量很差。 我们将解释这个看上去可怕的错误的实际含义。

This error is usually a false alarm. You can generally go ahead and install “bad quality” packages in spite of the error message. The message only indicates that the package files don’t strictly comply with Debian packaging policy.

此错误通常是错误警报。 尽管出现错误消息,您通常还是可以继续安装“质量差”的程序包。 该消息仅表明软件包文件不严格遵守Debian软件包政策。

包裹真的很危险吗? (Is the Package Actually Dangerous?)

This error is rather scary – it says the package “violates the quality standards” and “could cause serious problems on your computer.” However, this is usually a false alarm. While the package doesn’t meet the package quality guidelines completely, it’s probably safe to install. If you are installing something like Google Chrome or Skype, you can go ahead and click the Ignore and Install button to continue. For most packages, this won’t cause your computer to blow up. You won’t even notice anything wrong.

该错误相当可怕-它表示该软件包“违反了质量标准”,并且“可能在计算机上引起严重的问题。” 但是,这通常是错误的警报。 尽管该软件包不完全符合软件包质量准则,但安装起来可能很安全。 如果要安装Google Chrome或Skype之类的产品,则可以继续并单击“忽略并安装”按钮以继续。 对于大多数软件包,这不会导致计算机崩溃。 您甚至都不会注意到任何错误。

chrome-ubuntu-software-center

实际问题是什么? (What’s the Actual Problem?)

You don’t have to guess whether the package is okay to install, however. You can expand the Details section to see the exact problem with the package.

但是,您不必猜测该软件包是否可以安装。 您可以展开“详细信息”部分以查看软件包的确切问题。

For Google Chrome, we can see that the Google Chrome package includes a cron job in the /etc/ directory. However, this file isn’t marked as a configuration file in the package. This is a rather nitpicky error – while Google should probably fix this problem so we don’t see this error message, you won’t experience any problems on your computer because you installed this package.

对于Google Chrome,我们可以看到Google Chrome软件包在/ etc /目录中包含了cron作业。 但是,该文件在软件包中未标记为配置文件。 这是一个相当挑剔的错误-尽管Google应该可以解决此问题,因此我们不会看到此错误消息,但由于安装了此软件包,因此您的计算机上不会遇到任何问题。

this-package-is-of-bad-quality-google-chrome

什么是林田? (What is Lintian?)

You will notice that the details section says that the package had errors during a “Lintian check.” You might be wondering what this means and why you should care.

您会注意到,“详细信息”部分显示该软件包在“ Lintian检查”期间出错。 您可能想知道这意味着什么以及为什么要关心。

Ubuntu is based on Debian and uses Debian packages (.deb packages). Most Debian packages don’t come from third-party websites – they are contained in your distribution’s software repositories. Ubuntu pulls most of the packages in its software packages right from the Debian’s software repositories. To ensure these packages are of high-quality, Debian has a detailed packaging policy.

Ubuntu基于Debian并使用Debian软件包(.deb软件包)。 大多数Debian软件包都不来自第三方网站-它们包含在发行版的软件存储库中。 Ubuntu的拉在其最软件包的软件包权从Debian的软件库。 为了确保这些软件包的质量,Debian制定了详细的包装政策

Lintian is an automated tool that checks Debian packages to ensure they comply with this policy. Lintian’s manual indicates that it was designed for use by package maintainers – they can use it to check their packages for problems before uploading them. Someone could even run Lintian on the entire package repository to identify problems.

Lintian是一个自动工具,可以检查Debian软件包以确保它们符合此策略。 Lintian的手册表明该软件包是为软件包维护者设计的,他们可以在上载软件包之前先检查软件包是否存在问题。 甚至有人可以在整个软件包存储库上运行Lintian以确定问题。

The Ubuntu Software Center uses Lintian to check .deb packages before you install them. It determines if they meet Debian’s strict packaging guidelines. A package that is “of bad quality” is just one that doesn’t meet these guidelines. Ubuntu actually ignores a lot of Lintian errors – but it highlights some Lintian errors that usually aren’t a concern.

在安装之前,Ubuntu软件中心使用Lintian检查.deb软件包。 它确定它们是否符合Debian的严格包装准则。 “质量低劣”的包装只是不符合这些准则的包装。 Ubuntu实际上忽略了很多Lintian错误-但它突出了通常不需要关注的一些Lintian错误。

lintian-errors-for-google-chrome

For the average user user, this message doesn’t necessarily mean much. You can usually go ahead and install the .deb file anyway, although you should ensure you trust the package’s source.

对于普通用户而言,此消息并不一定意味着太多。 尽管您应确保信任软件包的源,但通常可以继续安装.deb文件。



While it’s probably a good idea to check unknown, third-party .deb files before installing them and alert users to any problems, Ubuntu’s checks are too strict. This error only serves to train users to click “Ignore and Install” whenever they see such an error.

虽然在安装之前检查未知的第三方.deb文件并提醒用户任何问题可能是一个好主意,但Ubuntu的检查太严格了。 该错误仅用于训练用户在看到此类错误时单击“忽略并安装”。

翻译自: https://www.howtogeek.com/136640/htg-explains-what-does-this-package-is-of-bad-quality-mean-on-ubuntu/

ubuntu不能定位软件包

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值