首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在Synaptic (Debian ),如何对消息“.坏包.”作出反应?

在Synaptic (Debian ),如何对消息“.坏包.”作出反应?
EN

Unix & Linux用户
提问于 2015-05-21 11:42:54
回答 1查看 268关注 0票数 1

我有一个synaptoc问题,与Debian有关.

代码语言:javascript
复制
    uname -a
    Linux primergy 3.2.0-4-686-pae #1 SMP Debian 3.2.65-1+deb7u1 i686 GNU/Linux

在尝试为libaudit1应用安装时,它说:

代码语言:javascript
复制
    Could not apply changes!
    Fix broken packages first.*

我编辑了/etc/apt/sources.list,并在这里添加了一些更多的条目(来自类似的问题):

代码语言:javascript
复制
    # 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 #

我刚试过了,错误又发生了!不变:)

天赋赋予:

代码语言:javascript
复制
   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条这样的消息!

第二,我做了以下工作:

代码语言:javascript
复制
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升级到下一个版本?

EN

回答 1

Unix & Linux用户

发布于 2015-05-21 12:38:18

您可以注释contribnon-free,使用以下sources.list:

第一个来源规则是:

代码语言:javascript
复制
deb http://ftp.debian.org/debian/ wheezy main contrib non-free

然后:

代码语言:javascript
复制
apt-get update ; apt-get -f install ; apt-get install libaudit1;
票数 0
EN
页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/204801

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档