[求助]升级过新,导致依赖关系破坏,该怎么做?

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
whyzebra
帖子: 7
注册时间: 2009-03-20 10:10

[求助]升级过新,导致依赖关系破坏,该怎么做?

#1

帖子 whyzebra » 2009-04-10 14:34

apt-get install -f 出现下列提示:

正在更正依赖关系... 失败。
下列的软件包有不能满足的依赖关系:
libperl5.10: 依赖: perl-base (= 5.10.0-11.1ubuntu2) 但是 5.10.0-19 已经安装了
perl: 依赖: perl-base (= 5.10.0-11.1ubuntu2) 但是 5.10.0-19 已经安装了
E: 错误,pkgProblemResolver::Resolve 发生故障,这可能是有软件包被要求保持现状的缘故。
E: 无法更正依赖关系

之前perl-base是手动升级的,过新了……

之前用的是学校的更新源,软件更新基本瘫痪,有错误
现在只保留官方更新,稍微好一点,但上面两个perl和libperl还是损坏状态

搜过类似的问题,都没有人回答
现在发帖求助,有人知道该怎么办么?

谢谢!
头像
Hello World!
帖子: 3051
注册时间: 2008-06-23 15:19
系统: ���������
来自: 北欧某国
联系:

Re: [求助]升级过新,导致依赖关系破坏,该怎么做?

#2

帖子 Hello World! » 2009-04-10 14:48

更换一下软件源试试,选择一个统一的、比较全的软件源,然后再运行 apt=get install -f,也许有用。
http://noie.name 网站改版中。
whyzebra
帖子: 7
注册时间: 2009-03-20 10:10

Re: [求助]升级过新,导致依赖关系破坏,该怎么做?

#3

帖子 whyzebra » 2009-04-12 13:57

谢谢答复!

还有比主服务器更新的么?是什么?
头像
karron
帖子: 6226
注册时间: 2005-06-11 14:03
来自: 不明真相的群众
联系:

Re: [求助]升级过新,导致依赖关系破坏,该怎么做?

#4

帖子 karron » 2009-04-12 14:20

Maybe your software repository version doesn't match your OS. please check your sources.list. Or configure your repository via GUI tool.
我的blog,关于技术,软件,linux,vim <---- 所有博客均被河蟹.
whyzebra
帖子: 7
注册时间: 2009-03-20 10:10

Re: [求助]升级过新,导致依赖关系破坏,该怎么做?

#5

帖子 whyzebra » 2009-04-12 15:50

thank you for your answer
that's my source.list below
i couldn't find anything wrong


# deb cdrom:[Ubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.5)]/ intrepid main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.


## 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.

## 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.

## Uncomment the following two lines to add software from the 'backports'
## repository.
## 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.
# deb http://cn.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ intrepid-backports main restricted universe multiverse

## 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 intrepid partner
# deb-src http://archive.canonical.com/ubuntu intrepid partner

# Line commented out by installer because it failed to verify:
# deb http://security.ubuntu.com/ubuntu intrepid-security main restricted
# Line commented out by installer because it failed to verify:
# deb-src http://security.ubuntu.com/ubuntu intrepid-security main restricted
# Line commented out by installer because it failed to verify:
# deb http://security.ubuntu.com/ubuntu intrepid-security universe
# Line commented out by installer because it failed to verify:
# deb-src http://security.ubuntu.com/ubuntu intrepid-security universe
# Line commented out by installer because it failed to verify:
# deb http://security.ubuntu.com/ubuntu intrepid-security multiverse
# Line commented out by installer because it failed to verify:
# deb-src http://security.ubuntu.com/ubuntu intrepid-security multiverse
# deb http://ftp.sjtu.edu.cn/ubuntu/ intrepid main multiverse restricted universe
# deb http://debian.ustc.edu.cn/ubuntu/ intrepid main multiverse restricted universe
# deb http://ubuntu.uestc.edu.cn/ubuntu/ intrepid main multiverse restricted universe
# deb ftp://ubuntu.realss.cn/ubuntu/ intrepid main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ intrepid universe main restricted
deb http://security.ubuntu.com/ubuntu/ intrepid-security universe main restricted
deb http://archive.ubuntu.com/ubuntu/ intrepid-updates universe main restricted
deb http://archive.ubuntu.com/ubuntu/ intrepid-proposed universe main restricted


but i noticed the line: "it failed to verify"
is there anything wrong with it?

or maybe i misunderstand your words?
whyzebra
帖子: 7
注册时间: 2009-03-20 10:10

Re: [求助]升级过新,导致依赖关系破坏,该怎么做?

#6

帖子 whyzebra » 2009-04-12 16:27

ok
i got it

选中perlbase,选择强制版本,downgrade到以前的版本即可


3Q all the same
回复