尼吗12.04,狗日的,安个软件那么依赖,要把人整死呀!

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

求助,Ubuntu 12.04安装软件无休止的依赖问题怎么解决 ?

#1

帖子 fengyecaizi » 2012-04-30 9:41

:em20 在Ubuntu 12.04 上安装软件总是出现无休止的依赖问题,自己去一个个找,一个个按,很麻烦~~
无论是在软件中心还是新德立,还是用apt-get安装软件总是出现依赖问题,有没有自动解决依赖问题的办法呀 ?
我记得之前的Ubuntu 10.10 apt-get可以自动解决依赖问题,但存在依赖时,会自动提示要不要安装依赖软件包,可是12.04就不行了。哎~~
求高手指点~~
头像
peteryeh64
论坛版主
帖子: 9386
注册时间: 2008-12-20 15:43
系统: 家kubuntu20.04
来自: 心靈深處

Re: 求助,Ubuntu 12.04安装软件无休止的依赖问题怎么解决 ?

#2

帖子 peteryeh64 » 2012-04-30 10:27

試試看...

代码: 全选

sudo apt-get install -f
[论坛版主行为规定]+[PITIVI簡易教程]+[ubuntu裝迅雷]
[releases.ubuntu.com]+[cdimage.ubuntu.com]+[old-releases.ubuntu.com]
[學ubuntu必須拜讀懶蝸牛"笨兔兔的故事"=viewtopic.php?f=112&t=162040][Linux明日的希望在中國]
fengyecaizi
帖子: 42
注册时间: 2012-04-29 9:12

Re: 求助,Ubuntu 12.04安装软件无休止的依赖问题怎么解决 ?

#3

帖子 fengyecaizi » 2012-05-01 15:03

-f, --fix-broken
Fix; attempt to correct a system with broken dependencies in place.
This option, when used with install/remove, can omit any packages
to permit APT to deduce a likely solution. If packages are
specified, these have to completely correct the problem. The option
is sometimes necessary when running APT for the first time; APT
itself does not allow broken package dependencies to exist on a
system. It is possible that a system's dependency structure can be
so corrupt as to require manual intervention (which usually means
using dselect(1) or dpkg --remove to eliminate some of the
offending packages). Use of this option together with -m may
produce an error in some situations. Configuration Item:
APT::Get::Fix-Broken.
可见apt-get install -f 也不能从根本解决循环依赖问题, 只是暂时忽略依赖问题吧,试了下还是不行。
rediscover
帖子: 3173
注册时间: 2010-01-13 23:26

Re: 求助,Ubuntu 12.04安装软件无休止的依赖问题怎么解决 ?

#4

帖子 rediscover » 2012-05-01 15:05

关掉multiarch就没问题了。
Here I am.
Ubuntu 桌面培训 - 全中文官方文档,含汉化截图,提供PDF
fengyecaizi
帖子: 42
注册时间: 2012-04-29 9:12

Ubuntu 12.04 安装时不选安装第三方软件会不会造成大量的包依赖问题呀 ?

#5

帖子 fengyecaizi » 2012-05-01 15:29

最近新装了 Ubuntu 12.04 的系统,现在问题是,安装个什么软件都要解决很麻烦的软件包依赖问题。
我现在怀疑是因为安装Ubuntu 12.04 时,没选安装第三方软件造成的。
不知道各位有安装12.04时,有没有选择安装第三方软件 ?或者出现大量的软件包依赖问题。
fengyecaizi
帖子: 42
注册时间: 2012-04-29 9:12

尼吗12.04,狗日的,安个软件那么依赖,要把人整死呀!

#6

帖子 fengyecaizi » 2012-05-01 15:53

前几天装的12.04,今天想安个虚拟机。尼吗,头大了。
fengyecaizi@fengyecaizi-ThinkPad-SL410:~/Downloads$ sudo apt-get install virtualbox
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:
libcairo-perl : Depends: perlapi-5.14.2 but it is not installable
libgamin0 : Conflicts: libfam0
Conflicts: libfam0c102
libglib-perl : Depends: perlapi-5.14.2 but it is not installable
libgnome2-gconf-perl : Depends: perlapi-5.12.3 but it is not installable
libgnome2-wnck-perl : Depends: perlapi-5.12.3 but it is not installable
libgoo-canvas-perl : Depends: perlapi-5.12.3 but it is not installable
libgtk2-perl : Depends: perlapi-5.14.2 but it is not installable
libgtk2-trayicon-perl : Depends: perlapi-5.12.3 but it is not installable
libgtk2-unique-perl : Depends: perlapi-5.12.3 but it is not installable
liblocale-gettext-perl : PreDepends: perl-base (>= 5.14.2-3) but 5.10.1-17squeeze3 is to be installed
PreDepends: perlapi-5.14.2 but it is not installable
libnet-dbus-perl : Depends: perlapi-5.12.3 but it is not installable
libpango-perl : Depends: perlapi-5.14.2 but it is not installable
libperl5.14 : Depends: perl-base (= 5.14.2-6ubuntu2) but 5.10.1-17squeeze3 is to be installed
libpurple0 : Depends: perl-base (>= 5.14.2-6ubuntu2) but 5.10.1-17squeeze3 is to be installed
Depends: perlapi-5.14.2 but it is not installable
libtext-charwidth-perl : Depends: perl-base (>= 5.14.2-3) but 5.10.1-17squeeze3 is to be installed
Depends: perlapi-5.14.2 but it is not installable
libtext-iconv-perl : Depends: perl-base (>= 5.14.2-6) but 5.10.1-17squeeze3 is to be installed
Depends: perlapi-5.14.2 but it is not installable
libuuid-perl : Depends: perl-base (>= 5.14.2-6ubuntu1) but 5.10.1-17squeeze3 is to be installed
Depends: perlapi-5.14.2 but it is not installable
libwww-perl : Depends: libhtml-tree-perl but it is not installable
Depends: libhttp-cookies-perl but it is not installable
Depends: libhttp-message-perl but it is not installable
Depends: libhttp-negotiate-perl but it is not installable
Depends: liblwp-mediatypes-perl but it is not installable
Depends: liblwp-protocol-https-perl but it is not installable
Depends: libnet-http-perl but it is not installable
Depends: libwww-robotrules-perl but it is not installable
Recommends: libhtml-form-perl but it is not installable
Recommends: libhtml-format-perl but it is not installable
Recommends: libhttp-daemon-perl but it is not installable
Recommends: libmailtools-perl but it is not installable
libxml-parser-perl : Depends: perlapi-5.12.3 but it is not installable
perl : Depends: perl-base (= 5.14.2-6ubuntu2) but 5.10.1-17squeeze3 is to be installed
virtualbox : Depends: libgsoap1 but it is not going to be installed
Recommends: virtualbox-dkms (= 4.1.12-dfsg-2) but it is not going to be installed or
virtualbox-source (= 4.1.12-dfsg-2) but it is not going to be installed
Recommends: virtualbox-qt (= 4.1.12-dfsg-2) but it is not going to be installed
这么多依赖这么多问题,依赖中有依赖,简直是子子孙孙无穷匮也。
头像
b33e
帖子: 3874
注册时间: 2011-06-07 14:20

Re: 尼吗12.04,狗日的,安个软件那么依赖,要把人整死呀!

#7

帖子 b33e » 2012-05-01 16:03

提示原文:
You might want to run 'apt-get -f install' to correct these:
头像
b33e
帖子: 3874
注册时间: 2011-06-07 14:20

Re: Ubuntu 12.04 安装时不选安装第三方软件会不会造成大量的包依赖问题呀 ?

#8

帖子 b33e » 2012-05-01 16:11

从来都是拔网线安装,不会有问题的
fengyecaizi
帖子: 42
注册时间: 2012-04-29 9:12

Re: 尼吗12.04,狗日的,安个软件那么依赖,要把人整死呀!

#9

帖子 fengyecaizi » 2012-05-01 16:26

我试了下sudo apt-get -f install virtualbox
还是一样,没起任何作用呢,要崩溃了。
fengyecaizi
帖子: 42
注册时间: 2012-04-29 9:12

Re: Ubuntu 12.04 安装时不选安装第三方软件会不会造成大量的包依赖问题呀 ?

#10

帖子 fengyecaizi » 2012-05-01 16:33

请问楼上那位高手,为啥现在新装的12.04,安装软件会出现很麻烦的依赖问题,依赖包中又有依赖包。
我之前用过Ubuntu 10.10,也是10.10发布的时装的,根本就没这么头痛的依赖包问题。
想来想去,最大的可能就是
Ubuntu 12.04 Unity桌面系统搞得鬼。
Ubuntu 10.10 是Gnome的桌面系统就没这么头大的依赖包问题。
感觉很多软件是要依赖以前的Gnome桌面系统的
导致安装软件,时候要依赖大量的Gnome包。
不得不把差不多全部的Gnome库或者包,一个个补上去。
fengyecaizi
帖子: 42
注册时间: 2012-04-29 9:12

Re: 求助,Ubuntu 12.04安装软件无休止的依赖问题怎么解决 ?

#11

帖子 fengyecaizi » 2012-05-01 16:51

请问楼上的那位高手,如何才能关闭multiarch ?
头像
b33e
帖子: 3874
注册时间: 2011-06-07 14:20

Re: Ubuntu 12.04 安装时不选安装第三方软件会不会造成大量的包依赖问题呀 ?

#12

帖子 b33e » 2012-05-01 17:05

fengyecaizi, unity也是基于gnome的
fengyecaizi
帖子: 42
注册时间: 2012-04-29 9:12

我呢个草,Ubuntu 12.04 默认是CD版发行的,难怪那么多依赖问题。

#13

帖子 fengyecaizi » 2012-05-01 17:30

搞了半天,才知道自己下了个CD版,难怪那么多的依赖,这几天都被它搞的崩溃了。
头像
枫叶饭团
帖子: 14683
注册时间: 2010-06-16 1:05
系统: Mac OS X
来自: Tencent
联系:

Re: 我呢个草,Ubuntu 12.04 默认是CD版发行的,难怪那么多依赖问题。

#14

帖子 枫叶饭团 » 2012-05-01 17:31

???有区别?
头像
YeLee
论坛版主
帖子: 26406
注册时间: 2008-08-13 8:48
系统: Fundu i64
来自: 东海硇州,一双管钥。
联系:

Re: 我呢个草,Ubuntu 12.04 默认是CD版发行的,难怪那么多依赖问题。

#15

帖子 YeLee » 2012-05-01 17:44


什么情况?
◎当我站在道德的高度上俯视别人的时候,发现自己是多么渺小。
♥执着但不偏激,反对而不排斥,坚决捍卫矛盾体的存在方式。
★★★天气预报★★★
fcitx-yatable一个可以使用的码表输入法
[教程]几个实例攻克软件编译难关
Gentoo Development Guide
字体相关
回复