在 synaptic 上,我想安装 dkpg-dev,但 synaptic 需要为此降级 libdkpg-perl。允许这样做是个好主意,否则我会遇到包裹损坏的问题。在这种情况下,您使用什么经验法则?我有一个新安装的 Ubuntu 14.04。我怎么会遇到这个?谢谢你。.
.
------------------------------ 编辑 1
这是我的 sources.list:
# 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”
相当于降级
.
在终端中执行以下命令,以更新包源:
然后再次运行安装
dkpg-dev
:基于你的
sources.list
和一个空的/etc/apt/sources.list.d
,接受降级应该没有问题。你可以允许它,这不是问题。synaptic 提供的软件包是您要安装的软件包的依赖项。