panpanpdj 发表于 2008-9-20 15:03:03

要升级KDE4.1.1,手动升的,遇到问题求解(.so.文件问题)

# rpm -Uvh lib*.rpm
error: Failed dependencies:
      qt4-devel >= 4.4.0 is needed by libkdelibs4-devel-4.1.1-0.2mgc.i686
#

要装lib……,不过装的时候又要qt4那个,可是就是找不到啊,nihui,那包怎么找不到啊,还是依赖

[ 本帖最后由 panpanpdj 于 2008-9-20 23:21 编辑 ]

nihui 发表于 2008-9-20 15:13:18

不需要安装 devel 包的。
比如 libkdelibs4-devel 之类的都不用,否则装 qt4-devel 太大了。。

panpanpdj 发表于 2008-9-20 15:13:56

libkdelibs4-devel is needed by kdeaccessibility4-deve
l-4.1.1-0.1mgc.i686
      libkdelibs4-devel is needed by kdeadmin4-devel-4.1.1-
0.1mgc.i686
      libkdelibs4-devel is needed by kdebase4-runtime-devel
-4.1.1-0.2mgc.i686
      libkdelibs4-devel is needed by kdebase4-workspace-dev
el-4.1.1-0.1mgc.i686
      libkdepimlibs4-devel is needed by kdebase4-workspace-
devel-4.1.1-0.1mgc.i686
      kdeedu4 = 4.1.1 is needed by kdeedu4-devel-4.1.1-0.1m
gc.i686
      libkdelibs4-devel is needed by kdeedu4-devel-4.1.1-0.
1mgc.i686
      libopenbabel.so.2 is needed by kdeedu4-kalzium-4.1.1-
0.1mgc.i686
      libcfitsio.so.0 is needed by kdeedu4-kstars-4.1.1-0.1
mgc.i686
      libnova-0.12.so.1 is needed by kdeedu4-kstars-4.1.1-0
.1mgc.i686
      libgps.so.17 is needed by kdeedu4-marble-4.1.1-0.1mgc
.i686
      libgsl.so.0 is needed by kdeedu4-step-4.1.1-0.1mgc.i6
86
      libgslcblas.so.0 is needed by kdeedu4-step-4.1.1-0.1m
gc.i686
      libkdelibs4-devel is needed by kdegames4-devel-4.1.1-
0.1mgc.i686
      kdegraphics4 = 4.1.1 is needed by kdegraphics4-devel-
4.1.1-0.1mgc.i686
      libkdelibs4-devel is needed by kdegraphics4-devel-4.1
.1-0.1mgc.i686
      libdjvulibre.so.15 is needed by kdegraphics4-okular-4
.1.1-0.1mgc.i686
      libepub.so.0 is needed by kdegraphics4-okular-4.1.1-0
.1mgc.i686
      libpoppler-qt4.so.3 is needed by kdegraphics4-okular-
4.1.1-0.1mgc.i686
      libqca.so.2 is needed by kdegraphics4-okular-4.1.1-0.
1mgc.i686
      libspectre.so.1 is needed by kdegraphics4-okular-4.1.
1-0.1mgc.i686
      libkdelibs4-devel is needed by kdemultimedia4-devel-4
.1.1-0.1mgc.i686
      libkdelibs4-devel is needed by kdenetwork4-devel-4.1.
1-0.1mgc.i686
      libqca.so.2 is needed by kdenetwork4-kget-4.1.1-0.1mg
c.i686
      libotr.so.2 is needed by kdenetwork4-kopete-4.1.1-0.1
mgc.i686
      libqca.so.2 is needed by kdenetwork4-kopete-4.1.1-0.1
mgc.i686
      qca-ossl is needed by kdenetwork4-kopete-4.1.1-0.1mgc
.i686
      qca2 is needed by kdenetwork4-kopete-4.1.1-0.1mgc.i68
6
      libvncclient.so.0 is needed by kdenetwork4-krdc-4.1.1
-0.1mgc.i686
      libvncserver.so.0 is needed by kdenetwork4-krfb-4.1.1
-0.1mgc.i686
      libakonadiprotocolinternals.so.1 is needed by kdepim4
-akonadi-4.1.1-0.2mgc.i686
      libkdelibs4-devel is needed by kdepim4-devel-4.1.1-0.
2mgc.i686
      libakonadiprotocolinternals.so.1 is needed by kdepiml
ibs4-akonadi-4.1.1-0.2mgc.i686
      libkdelibs4-devel is needed by kdeplasma-addons-devel
-4.1.1-0.1mgc.i686
      libkdelibs4-devel is needed by kdesdk4-devel-4.1.1-0.
1mgc.i686
      libarchive.so.2 is needed by kdeutils4-ark-4.1.1-0.1m
gc.i686
      libzip.so.1 is needed by kdeutils4-ark-4.1.1-0.1mgc.i
686
      libkdelibs4-devel is needed by kdeutils4-devel-4.1.1-                                                             0.1mgc.i686
      libkdelibs4-devel is needed by kdewebdev4-devel-4.1.1                                                             -0.1mgc.i686

panpanpdj 发表于 2008-9-20 15:36:04

libopenbabel.so.2 is needed by kdeedu4-kalzium-4.1.1-0.1mgc.i686
      libcfitsio.so.0 is needed by kdeedu4-kstars-4.1.1-0.1mgc.i686
      libnova-0.12.so.1 is needed by kdeedu4-kstars-4.1.1-0.1mgc.i686
      libgps.so.17 is needed by kdeedu4-marble-4.1.1-0.1mgc.i686
      libgsl.so.0 is needed by kdeedu4-step-4.1.1-0.1mgc.i686
      libgslcblas.so.0 is needed by kdeedu4-step-4.1.1-0.1mgc.i686
      libkdelibs4-devel is needed by kdegames4-devel-4.1.1-0.1mgc.i686
      libdjvulibre.so.15 is needed by kdegraphics4-okular-4.1.1-0.1mgc.i686
      libepub.so.0 is needed by kdegraphics4-okular-4.1.1-0.1mgc.i686
      libpoppler-qt4.so.3 is needed by kdegraphics4-okular-4.1.1-0.1mgc.i686
      libqca.so.2 is needed by kdegraphics4-okular-4.1.1-0.1mgc.i686
      libspectre.so.1 is needed by kdegraphics4-okular-4.1.1-0.1mgc.i686
      libqca.so.2 is needed by kdenetwork4-kget-4.1.1-0.1mgc.i686
      libotr.so.2 is needed by kdenetwork4-kopete-4.1.1-0.1mgc.i686
      libqca.so.2 is needed by kdenetwork4-kopete-4.1.1-0.1mgc.i686
      qca-ossl is needed by kdenetwork4-kopete-4.1.1-0.1mgc.i686
      qca2 is needed by kdenetwork4-kopete-4.1.1-0.1mgc.i686
      libvncclient.so.0 is needed by kdenetwork4-krdc-4.1.1-0.1mgc.i686
      libvncserver.so.0 is needed by kdenetwork4-krfb-4.1.1-0.1mgc.i686
      libakonadiprotocolinternals.so.1 is needed by kdepim4-akonadi-4.1.1-0.2mgc.i686
      libakonadiprotocolinternals.so.1 is needed by kdepimlibs4-akonadi-4.1.1-0.2mgc.i686
      libarchive.so.2 is needed by kdeutils4-ark-4.1.1-0.1mgc.i686
      libzip.so.1 is needed by kdeutils4-ark-4.1.1-0.1mgc.i686
#            

上面那些so.1/2的不知道去啊找啊,我看大多是那种的

panpanpdj 发表于 2008-9-20 16:35:37

下面为解决一些问题的过程,慢慢看
<panpanpdj> 有新问题了,是关于so.那种包的
<nihui> haha~~
<panpanpdj> 手动还真难弄
<nihui> 我只好自己整理了...
<panpanpdj> 那这还升的了不
<panpanpdj> magic.lst里的源有的好像是不能用的
<nihui> compiz: Obsoletes: beryl-core
<nihui> 这个比较奇怪...
<nihui> apt-get check
<panpanpdj> compiz: Obsoletes: beryl-core      不要太奇怪,我这主要是被我搞的太厉害
<nihui> 两者需要删掉一个
<panpanpdj> 我用智能包管理器删掉了一个
<panpanpdj> 现在是BERYL
<panpanpdj> 不行把它也删了
<nihui> 上传 rpm 包真慢哦..
<panpanpdj> 呵呵,nihui辛苦了
<nihui> 我一点儿也不辛苦...
<panpanpdj> 我发现我这遇到的问题比较多
<panpanpdj> 估计主要是因为我搞的太厉害了
<nihui> apt-get check 发现问题么?
<panpanpdj> 现在KDE3.5.10挺好的,速度又稳定
<panpanpdj> 没有
<panpanpdj> # apt-get check
<panpanpdj> Reading Package Lists... Done
<panpanpdj> Building Dependency Tree... Done
<panpanpdj> #   
<panpanpdj> 出来是这
<panpanpdj> 后面不知道怎么搞
<nihui> apt-get dist-upgrade
<panpanpdj> The following packages have unmet dependencies:
<panpanpdj>   compiz: Obsoletes: beryl-core
<panpanpdj>   util-linux-ng: Obsoletes: util-linux (< 2.13.1)
<panpanpdj> E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
<panpanpdj> 要不要把beryl删了
<nihui> 不需要吧
<nihui> magic linux 2.1-rc2 吧~
<panpanpdj> 是的
<panpanpdj> 是不是系统里有些东西被我弄坏掉了
<panpanpdj> 所以会出现这种问题
<nihui> 没有弄坏~
<nihui> 就是这样子,我这边也是这样...
<panpanpdj> rpm http://mirrors.lcuc.org.cn/magiclinux/apt/2.1/ unstable os extras gnome
<panpanpdj> 好像这个址的源都不能用了
<panpanpdj> 用智能包管理器更新的时候提示这个源怎么的,是乱码不能看是什么意思
<panpanpdj> 刷新
<nihui> apt-get update
<nihui> apt-get dist-upgrade
<nihui> 再试试
<panpanpdj> 估计得把lcuc的源加上#号吧,现在卡住了
<nihui> 好办法~
<nihui> so.××× 都是库..
<panpanpdj> 还是老样子
<panpanpdj> 现在是只留了公社的源,其它的都加#号了
<nihui> util-linux-ng: Obsoletes: util-linux (< 2.13.1)<-- 还有?
<panpanpdj> 没了
<panpanpdj> 其它的还在
<panpanpdj> 呵呵,不好意思,没看仔细
<nihui> compiz: Obsoletes: beryl-core<-- 这个还是在的?
<panpanpdj> The following packages have unmet dependencies:
<panpanpdj>   compiz: Obsoletes: beryl-core
<panpanpdj> E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
<panpanpdj> rpm http://apt.magiclinux.org/magic/2.1 unstable os extras gnome
<panpanpdj> rpm-src http://apt.magiclinux.org/magic/2.1 unstable os extras gnome
<nihui> beryl-core 删掉试试吧......
<panpanpdj> 现在源里只留下这两个没#号
<panpanpdj> 好的,等等
<panpanpdj> 好了
<panpanpdj> Need to get 88.9MB/255MB of archives.
<panpanpdj> After unpacking 78.8MB disk space will be freed.
<panpanpdj> Do you want to continue?    
<nihui> 找你需要的升级
<panpanpdj> 来个例子   指令
<nihui> 比如你只需要升级 amarok2,可以 apt-get install amarok2 即可
<nihui> 比如你只需要升级 amarok2 和 kdebase4-workspace,可以 apt-get install amarok2 kdebase4-workspace
<panpanpdj> 好的,我试试
<panpanpdj> Package libopenbabel.so.2 has no available version, but exists in the database.
<panpanpdj> This typically means that the package was mentioned in a dependency and
<panpanpdj> never uploaded, has been obsoleted or is not available with the contents
<panpanpdj> of sources.list
<panpanpdj> E: Package libopenbabel.so.2 has no installation candidate
<panpanpdj> # apt-get install libopenbabel.so.2
<nihui> apt-get install openbabel
<panpanpdj> libopenbabel.so.2 is needed by kdeedu4-kalzium-4.1.1-0.1mgc.i686
<nihui> kde4related 的源...
<panpanpdj> 估计我没这个源
<panpanpdj> 找到了
<nihui> rpm http://wiki.magiclinux.org/ftp/nihui kde4 kde4related
<nihui> 就是这个
<panpanpdj> rpm http://wiki.magiclinux.org/ftp/nihui kde4 kde4related kde41x qt44x kde4apps
<nihui> 就是这个~~
<panpanpdj> 好了,再下了
<panpanpdj> 在
<panpanpdj> 是不是install之前得先update一下啊
<nihui> y
<panpanpdj> 看来我还不是一般的笨哦
<nihui> ......
<panpanpdj> libcfitsio.so.0 is needed by kdeedu4-kstars-4.1.1-0.1mgc.i686
<panpanpdj>         libnova-0.12.so.1 is needed by kdeedu4-kstars-4.1.1-0.1mgc.i686
<panpanpdj>         libgps.so.17 is needed by kdeedu4-marble-4.1.1-0.1mgc.i686
<panpanpdj>         libgsl.so.0 is needed by kdeedu4-step-4.1.1-0.1mgc.i686
<panpanpdj>         libgslcblas.so.0 is needed by kdeedu4-step-4.1.1-0.1mgc.i686
<panpanpdj>         libkdelibs4-devel is needed by kdegames4-devel-4.1.1-0.1mgc.i686
<panpanpdj>         libdjvulibre.so.15 is needed by kdegraphics4-okular-4.1.1-0.1mgc.i686
<panpanpdj>         libepub.so.0 is needed by kdegraphics4-okular-4.1.1-0.1mgc.i686
<panpanpdj>         libpoppler-qt4.so.3 is needed by kdegraphics4-okular-4.1.1-0.1mgc.i686
<panpanpdj>         libqca.so.2 is needed by kdegraphics4-okular-4.1.1-0.1mgc.i686
<panpanpdj>         libspectre.so.1 is needed by kdegraphics4-okular-4.1.1-0.1mgc.i686
<panpanpdj>         libqca.so.2 is needed by kdenetwork4-kget-4.1.1-0.1mgc.i686
<panpanpdj>         libotr.so.2 is needed by kdenetwork4-kopete-4.1.1-0.1mgc.i686
<panpanpdj>         libqca.so.2 is needed by kdenetwork4-kopete-4.1.1-0.1mgc.i686
<panpanpdj>         qca-ossl is needed by kdenetwork4-kopete-4.1.1-0.1mgc.i686
<panpanpdj>         qca2 is needed by kdenetwork4-kopete-4.1.1-0.1mgc.i686
<panpanpdj>         libvncclient.so.0 is needed by kdenetwork4-krdc-4.1.1-0.1mgc.i686
<panpanpdj>         libvncserver.so.0 is needed by kdenetwork4-krfb-4.1.1-0.1mgc.i686
<panpanpdj>         libakonadiprotocolinternals.so.1 is needed by kdepim4-akonadi-4.1.1-0.2mgc.i686
<panpanpdj>         libakonadiprotocolinternals.so.1 is needed by kdepimlibs4-akonadi-4.1.1-0.2mgc.i686
<panpanpdj>         libarchive.so.2 is needed by kdeutils4-ark-4.1.1-0.1mgc.i686
<panpanpdj>         libzip.so.1 is needed by kdeutils4-ark-4.1.1-0.1mgc.i686
<panpanpdj> 现在还有这么多so的
<nihui> ................................................
<panpanpdj> 能不能弄个install *什么的
<panpanpdj> 我也不知道怎么我这差这么多东西
<nihui> flood ...
<nihui> 不用手动安装啊~
<panpanpdj> 怎么自动装
<panpanpdj> 我也不想手动了
<panpanpdj> 我再试试智能包管理器
<panpanpdj> 上次升KDE4.1.0的时候挺顺的
<nihui> 你把手动下载的 rpm 包移动到 /var/lib/smart/packages(root 权限)
<panpanpdj> 好的
<nihui> 你想用 apt-get 还是智能包?
<panpanpdj> 哪个都行,能升上去就行
<nihui> 你想要用哪个呢??
<nihui> 那就智能包吧
<panpanpdj> 行
<nihui> 还是 apt-get
<nihui> 智能包有乱码..
<panpanpdj> 嗯
<nihui> 移动到 /var/cache/apt/archives 里面
<nihui> 然后 apt-get install ×××××
<panpanpdj> 好的,等下,在弄
<panpanpdj> 好了
<panpanpdj> 对了,我下的包都是kde开头的
<panpanpdj> 是不是还应该下点其它的啊
<panpanpdj> 比如lib开头的
<nihui> apt-get 能自动下载的
<panpanpdj> 那直接apt-get disk-upgrade   行不行
<nihui> 你贴出来吧
<panpanpdj> 这段对话是要的,我贴到帖子里的

panpanpdj 发表于 2008-9-20 17:47:12

现在问题严重了,KDE4进去都没桌面了,更虽说图标什么的,鼠标右击没反应,壁纸也不知道哪去了,留着表示是透明色的壁纸

jiangtao9999 发表于 2008-9-20 22:16:55

compiz 本来就和 beryl 不兼容,他们其实本来就是一个东西,不过 beryl 的思想更激进。所以把 compiz 扩展了后叫做 beryl 。
不过那也是过去的事情了。现在 beryl 回到了 compiz ,改叫 compiz-fusion 成为了 compiz 的扩展。

之后你的包之间的依赖,很明显,不想装 devel 包,但是只删掉了 kdelibs-devel ,其他的devel 却保留,其他的包都依赖于 kdelibs-devel 这个 kde 最核心的 devel 包,这个解决很简单,不要装全部的 -devel 包就行了。

之后依赖 .so 的问题,这个是因为当前系统的 rpm 数据库没有这些 so 文件,所以只能显示出被依赖的 so 而不是包名字。(RH8 时代,我都是手动设置安装 rpm-db 这个包,这样 RH8 里面安装依赖没有被满足的话,会自动在数据库里面搜索被依赖的包替换 so 文件的输出。ML 为什么一直没有实现这个功能我比较奇怪……)
这个问题有可能是删包删的多了。

panpanpdj 发表于 2008-9-20 23:18:03

beryl我已经删掉了,晚上又用智能包管理器装了其它的以kde开头的包,不过没装有-devel的
现在的KDE4依然进去没有桌面,不知何故。当时升4.0.5 &&4.1.0挺顺利的
桌面进不去是不是和这些因为缺so.文件而装上去的包有关?

呵呵,今天辛苦nihui了

jiangtao9999 发表于 2008-9-20 23:27:22

ML 的软件包已经全乱了。这点确实因起了不少的问题……

panpanpdj 发表于 2008-9-21 01:25:32

呵呵,你们来做,我来试验好了
页: [1]
查看完整版本: 要升级KDE4.1.1,手动升的,遇到问题求解(.so.文件问题)