在 Synaptic (Debian Wheezy) 如何对消息“...损坏的包...”做出反应?

在 Synaptic (Debian Wheezy) 如何对消息“...损坏的包...”做出反应?

synaptoc在 Debian-Wheezy 方面遇到了问题。

    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 Wheezy 升级到下一个版本吗?

答案1

您评论contribnon-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;

相关内容