QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1508|回复: 9

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

[复制链接]
发表于 2008-9-20 15:03:03 | 显示全部楼层 |阅读模式
[root@pandong KDE4.1]# rpm -Uvh lib*.rpm
error: Failed dependencies:
        qt4-devel >= 4.4.0 is needed by libkdelibs4-devel-4.1.1-0.2mgc.i686
[root@pandong KDE4.1]#  

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

[ 本帖最后由 panpanpdj 于 2008-9-20 23:21 编辑 ]
发表于 2008-9-20 15:13:18 | 显示全部楼层
不需要安装 devel 包的。
比如 libkdelibs4-devel 之类的都不用,否则装 qt4-devel 太大了。。
回复

使用道具 举报

 楼主| 发表于 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
回复

使用道具 举报

 楼主| 发表于 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
[root@pandong KDE4.1]#            

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

使用道具 举报

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

使用道具 举报

 楼主| 发表于 2008-9-20 17:47:12 | 显示全部楼层
现在问题严重了,KDE4进去都没桌面了,更虽说图标什么的,鼠标右击没反应,壁纸也不知道哪去了,留着表示是透明色的壁纸
回复

使用道具 举报

发表于 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 为什么一直没有实现这个功能我比较奇怪……)
这个问题有可能是删包删的多了。
回复

使用道具 举报

 楼主| 发表于 2008-9-20 23:18:03 | 显示全部楼层
beryl我已经删掉了,晚上又用智能包管理器装了其它的以kde开头的包,不过没装有-devel的
现在的KDE4依然进去没有桌面,不知何故。当时升4.0.5 &&4.1.0挺顺利的
桌面进不去是不是和这些因为缺so.文件而装上去的包有关?

呵呵,今天辛苦nihui了
回复

使用道具 举报

发表于 2008-9-20 23:27:22 | 显示全部楼层
ML 的软件包已经全乱了。这点确实因起了不少的问题……
回复

使用道具 举报

 楼主| 发表于 2008-9-21 01:25:32 | 显示全部楼层
呵呵,你们来做,我来试验好了
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-27 07:37 , Processed in 0.050796 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表