在 synaptic 上,我想安装 dkpg-dev,但 synaptic 需要为此降级 libdkpg-perl。允许这样做是个好主意吗,否则我会遇到损坏的软件包问题。在这种情况下,您使用什么经验法则?我新安装了 Ubuntu 14.04。我怎么会遇到这种情况?谢谢。。
。
-------------------------------- 编辑1
这是我的来源列表:
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ trusty main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty main restricted
## Major bug fix updates produced after the final release of the
## distribution.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ trusty universe
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ trusty multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ trusty multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu trusty partner
# deb-src http://archive.canonical.com/ubuntu trusty partner
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu trusty main
deb-src http://extras.ubuntu.com/ubuntu trusty main
并且我的 /etc/apt/sources.list.d/ 是空的
.-------------------------------- 编辑2
实际上,我重新安装了 libdkpg-perl。
“已安装版本:1.17.5ubuntu5.3 和最新版本:1.17.5ubuntu5”
我不确定我是怎么得到这个结果的。是不是因为我的 sources.list ?
重新安装后,我有:
“已安装版本:1.17.5ubuntu5 和最新版本:1.17.5ubuntu5”
相当于降级
。
答案1
在终端中执行以下命令,以更新包源:
sudo apt-get update
然后再次运行安装dkpg-dev
:
sudo apt-get install dkpg-dev
根据您的sources.list
和空的/etc/apt/sources.list.d
,接受降级应该没有问题。
答案2
您可以允许,这没问题。synaptic 提供的软件包是您要安装的软件包的依赖项。