我有一个synaptoc问题,与Debian有关.
uname -a
Linux primergy 3.2.0-4-686-pae #1 SMP Debian 3.2.65-1+deb7u1 i686 GNU/Linux在尝试为libaudit1应用安装时,它说:
Could not apply changes!
Fix broken packages first.*我编辑了/etc/apt/sources.list,并在这里添加了一些更多的条目(来自类似的问题):
# problem with synaptic 2015-05-21 (from stack-exchange):
deb http://ftp.ua.debian.org/debian jessie main # contrib non-free #
#deb-src http://ftp.ua.debian.org/debian jessie main # contrib non-free #
deb http://ftp.ua.debian.org/debian jessie-updates main # contrib non-free #
#deb-src http://ftp.ua.debian.org/debian jessie-updates main # contrib non-free #我刚试过了,错误又发生了!不变:)
天赋赋予:
root@primergy:/home/kampmann# aptitude why libaudit1
i adduser Depends passwd (>= 1:4.0.12)
p passwd Depends libaudit1 (>= 1:2.2.1)
root@primergy:/home/kampmann# aptitude why-not libaudit1
Unable to find a reason to remove libaudit1.
root@primergy:/home/kampmann# aptitude why passwd
i libuuid1 Depends passwd
root@primergy:/home/kampmann# aptitude why libuuid1
i libxapian22 Depends libuuid1 (>= 2.16)
root@primergy:/home/kampmann# aptitude why adduser
i red5-server Depends adduser (>= 3.11)
root@primergy:/home/kampmann# 有什么原因我不能安装libaudit1吗?
一般说:我想升级我的系统,大约有1800条这样的消息!
第二,我做了以下工作:
root@primergy:/home/kampmann# apt-get install libaudit1
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:
libglib2.0-0 : Breaks: glib-networking (< 2.33.12) but 2.32.3-1 is to be installed
N: Ignoring file 'skype-debian.old' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'mono' in directory '/etc/apt/sources.list.d/' as it has no filename extension
N: Ignoring file 'skype-debian.old' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'mono' in directory '/etc/apt/sources.list.d/' as it has no filename extension
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
root@primergy:/home/kampmann# 我的问题是:我是否必须将Debian升级到下一个版本?
发布于 2015-05-21 12:38:18
您可以注释contrib和non-free,使用以下sources.list:
第一个来源规则是:
deb http://ftp.debian.org/debian/ wheezy main contrib non-free然后:
apt-get update ; apt-get -f install ; apt-get install libaudit1;https://unix.stackexchange.com/questions/204801
复制相似问题