从终端获取软件外来者
我用了
sudo apt-get install alien dpkg-dev debhelper build-essential
在Ubuntu 14.04获得终端的外包装。 但我得到了这个错误信息,找不到解决方案……这就是我在终端中得到的,
Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: dpkg-dev : Depends: libdpkg-perl (= 1.17.5ubuntu5) but 1.17.5ubuntu5.3 is to be installed Recommends: fakeroot but it is not going to be installed Recommends: libalgorithm-merge-perl but it is not going to be installed E: Unable to correct problems, you have held broken packages.
请帮帮我,我还是Linux的初学者……
对于Ubuntu 14.04的主存储库,可以使用package alien
和build-essential
。
首先确保您已从软件和更新启用了Main&Universe存储库:
主要组件包含免费软件的应用程序,可以自由重新分发,并得到Ubuntu团队的全面支持。 & Universe组件是免费,开源和Linux世界的快照。
以下命令也有助于启用主存储库和Universe存储库:
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) main universe" sudo apt-get update
然后安装包:
sudo apt-get update sudo apt-get install alien
如果您仍然有问题, 请检查您手动添加的额外存储库 (来自软件和更新>其他软件); 删除/清除它们。 然后尝试sudo apt-get update
, sudo apt-get install alien
sudo apt-get install -f
和sudo dpkg --configure -a
对修复依赖项和完成挂起配置也很有帮助。