升级错误

ikerib

当我执行apt-get update // apt-get upgrade时,无论我做什么,我都会收到此错误:

root@debian:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 curl : Depends: libcurl3 (= 7.26.0-1+wheezy3) but 7.21.0-2.1+squeeze2 is installed
 multiarch-support : Depends: libc6 (>= 2.13-5) but 2.11.3-4 is installed
E: Unmet dependencies. Try using -f.
root@debian:~#

这不是我的服务器,所以我不知道里面安装了什么,我唯一了解的是我需要将php从5.2最低版本升级到5.3。告诉我已经安装了Zend Server,但我也不知道哪个版本。我尝试的第一件事就是这个,每次遇到此错误。cat / etc / issue说:Debian GNU / Linux 6.0 \ n \ l

这是我的/etc/apt/sources.list:

root@debian:~# cat /etc/apt/sources.list

# deb cdrom:[Debian GNU/Linux 6.0.6 _Squeeze_ - Official i386 NETINST Binary-1 20120930-15:55]/ squeeze main

#deb cdrom:[Debian GNU/Linux 6.0.6 _Squeeze_ - Official i386 NETINST Binary-1 20120930-15:55]/ squeeze main

deb http://ftp.es.debian.org/debian/ squeeze main
deb-src http://ftp.es.debian.org/debian/ squeeze main

deb http://security.debian.org/ squeeze/updates main
deb-src http://security.debian.org/ squeeze/updates main

# squeeze-updates, previously known as 'volatile'
deb http://ftp.es.debian.org/debian/ squeeze-updates main
deb-src http://ftp.es.debian.org/debian/ squeeze-updates main
deb http://ftp2.de.debian.org/debian squeeze main non-free
deb http://repos.zend.com/zend-server/deb server non-free
root@debian:~#

这是我使用apt-get install -f curl的输出:

root@debian:~# apt-get install -f curl
Reading package lists... Done
Building dependency tree
Reading state information... Done
curl is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 curl : Depends: libcurl3 (= 7.26.0-1+wheezy3) but 7.21.0-2.1+squeeze2 is to be installed
 multiarch-support : Depends: libc6 (>= 2.13-5) but 2.11.3-4 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
迈克尔·汉普顿

原始错误也提供了解决方案:

You might want to run 'apt-get -f install' to correct these.

如果您以前没有看过,则必须精确地运行该命令。否则,您将获得:

Try 'apt-get -f install' with no packages (or specify a solution).

这通常可以解决问题。

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

升级后的MySQL语法错误

来自分类Dev

内核升级失败-depmod语法错误?

来自分类Dev

升级到CodeIgniter 3后,“ SQL语法错误”

来自分类Dev

Laravel从5.1错误升级到5.2.0

来自分类Dev

升级到ActiveRecord :: ConnectionNotEstablished错误

来自分类Dev

升级到Swift 1.2后的错误

来自分类Dev

升级到0.60.5后的ReactWebViewManager错误

来自分类Dev

升级到Swift 1.2后的错误

来自分类Dev

升级到Laravel 5反射错误

来自分类Dev

升级到5.2后出现错误

来自分类Dev

升级到 20.04 后证书错误

来自分类Dev

升级到Rails时错误的参数数量错误

来自分类Dev

升级到Spring 4.2后出现ContentNegotiatingViewResolver MediaTypes错误

来自分类Dev

升级到Umbraco 6后发生TinyMCE错误

来自分类Dev

升级到iOS8后定位服务错误

来自分类Dev

升级到Visual Studio 2015会出现错误

来自分类Dev

Theano从0.7升级到前沿后的错误

来自分类Dev

自升级到Ruby 2.2.0以来的符号查找错误

来自分类Dev

升级到Apache 2.4.6后出现错误

来自分类Dev

升级到Spark 1.3.0的JAVA_HOME错误

来自分类Dev

使用pip升级到numba 0.16会导致错误

来自分类Dev

升级到gradle 2.1.0原因–无法扩展ZIP错误

来自分类Dev

升级到Spring Security 4.0.0后出现403错误

来自分类Dev

升级到12.04后出现的Apt错误

来自分类Dev

Dropwizard从0.6.2升级到0.7.1错误

来自分类Dev

Android批注升级到4.0.0生成错误

来自分类Dev

自升级到MAMP v 3.5以来的SQL错误

来自分类Dev

尝试升级到1.22时MediaWiki DB连接错误

来自分类Dev

在MAC上升级到JDK 8后出现错误