出错啦,升级的时候
为什么会出现这个错误,难道还需要其他的包吗?# rpm -Uvh *.rpm
error: Failed dependencies:
libasound.so.2 is needed by acme-2.4.2-1
libasound.so.2(ALSA_0.9) is needed by acme-2.4.2-1
atk = 1.4.1 is needed by atk-devel-1.4.1-1
at-spi = 1.3.8 is needed by at-spi-devel-1.3.8-1
libexif.so.9 is needed by eog-2.4.1-1
esound = 0.2.32 is needed by esound-devel-0.2.32-1
gail = 1.4.1 is needed by gail-devel-1.4.1-1
gedit = 2.4.1 is needed by gedit-devel-2.4.1-2
glib2 = 2.2.3 is needed by glib2-devel-2.2.3-1
libcom_err.so.3 is needed by gnome-games-2.4.1.1-1
gnome-mag = 0.10.3 is needed by gnome-mag-devel-0.10.3-1
libasound.so.2 is needed by gnomemeeting-0.98.5-2
gnome-speech = 0.2.7 is needed by gnome-speech-devel-0.2.7-1
gnopernicus = 0.7.1 is needed by gnopernicus-devel-0.7.1-2
gok = 0.8.4 is needed by gok-devel-0.8.4-2
aalib >= 1.3 is needed by gstreamer-aalib-0.6.4-3
libaa.so.1 is needed by gstreamer-aalib-0.6.4-3
alsa-lib is needed by gstreamer-alsa-0.6.4-3
libasound.so.2 is needed by gstreamer-alsa-0.6.4-3
libasound.so.2(ALSA_0.9) is needed by gstreamer-alsa-0.6.4-3
gstreamer = 0.6.4-1 is needed by gstreamer-devel-0.6.4-1
libdv >= 0.9.5 is needed by gstreamer-dv-0.6.4-3
libdv.so.2 is needed by gstreamer-dv-0.6.4-3
liblavjpeg-1.6.so. is needed by gstreamer-jpegmmx-0.6.4-3
mjpegtools is needed by gstreamer-jpegmmx-0.6.4-3
lame >= 3.89 is needed by gstreamer-lame-0.6.4-3
libmp3lame.so.0 is needed by gstreamer-lame-0.6.4-3
libdvdread >= 0.9.0 is needed by gstreamer-libdvdread-0.6.4-3
libdvdread.so.3 is needed by gstreamer-libdvdread-0.6.4-3
libfame >= 0.9.0 is needed by gstreamer-libfame-0.6.4-3
libfame-0.9.so.0 is needed by gstreamer-libfame-0.6.4-3
libmad >= 0.13.0 is needed by gstreamer-mad-0.6.4-3
avifile is needed by gstreamer-windec-0.6.4-3
libaviplay-0.7.so.0 is needed by gstreamer-windec-0.6.4-3
gtksourceview = 0.7.0 is needed by gtksourceview-devel-0.7.0-1
gucharmap = 1.0.0 is needed by gucharmap-devel-1.0.0-2
libart_lgpl = 2.3.16 is needed by libart_lgpl-devel-2.3.16-1
libbonobo = 2.4.3 is needed by libbonobo-devel-2.4.3-1
libbonoboui = 2.4.3 is needed by libbonoboui-devel-2.4.3-1
libgnome = 2.4.0 is needed by libgnome-devel-2.4.0-1
libIDL = 0.8.3 is needed by libIDL-devel-0.8.3-1
librsvg2 = 2.4.0 is needed by librsvg2-devel-2.4.0-1
libwnck = 2.4.0.1 is needed by libwnck-devel-2.4.0.1-1
pango = 1.2.5 is needed by pango-devel-1.2.5-3 我用的系统是Fedora core 1 我也是同样的问题~~ :neutral: 看来是不能全部升级阿,我只升级了其中一部分. 晕倒,不能这样升级
需要几个其他的包
自己找一下关联的包在rpmfind.net 由于这些包是在 ML 下编译的,虽然我仔细地调整使之在 Redhat/Fedora 下也能运行,但2个平台的差异多少造成了一些问题,我们来分几种情况讨论。
1)libasound.so.2 问题
例: libasound.so.2 is needed by acme-2.4.2-1
这个库来自于 ALSA。ML 预设 ALSA,Fedora Core 1 和 Redhat 一样,预设的是 OSS。所有对这个库依赖造成的问题都可以解决,只要为 fedora 加装 alsa-lib 这个包,可以从 freshrpms.net 获得
2) 自己不认自己
例: atk = 1.4.1 is needed by atk-devel-1.4.1-1
这类问题,我就真的非常抱歉了,由于对 RPM SPEC 中几个数字理解不深,写法有误。在 ML 的 RPM 4.2 中没暴露出来,在 Fedora 1 的 RPM 4.2.1.中就暴露了。对这个问题的解决,需要重新打包。由于 gnome 2.6 正在紧张开发中,大家觉得是否还有必要为 Fedora 重包这些 stable 系列的包呢?欢迎续贴发表意见
在此之前,一个解决办法是用 --nodeps 安装这些问题包。由于程序无误,只是 RPM 包装问题,所以强制装上后是可以正常工作的。
3) gstreamer 问题
这是个很简单的小问题。gstreamer 依赖于众多 codec,如果该 codec 是你想要的,可以去网上搜寻同名包装上即可。如果不想要,那么相应的 gstreamer-xxx 包也不要了。既然这个包是在 ML 上编译的,那么相应的 codec ML 光盘里肯定可以找到。
ML == Magic Linux 1.2 PreN 最后,注意我的 rpms/ 目录下还有个 fedora 目录,里面的包是在 fedora 上做的。主要是为了解决 ML 和 Fedora 中 python 版本不同问题。如果你在 fedora 中使用,应用该目录中包替代 问题 2) 自己不认自己
这个是最麻烦的了,我在ML下编译的RPM都不认,呵呵,太有意思了. 问题 2) 自己不认自己
这个是最麻烦的了,我在ML下编译的RPM都不认,呵呵,太有意思了.
依赖性写法不对,要写成 1:a.b.c 这样的形式
页:
[1]