LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 2497|回复: 14

终于忍受不了了,决定发个贴问问,关于fedora8的几个问题

[复制链接]
发表于 2007-12-29 13:18:49 | 显示全部楼层 |阅读模式
不知道有没有教育网的兄弟装了fedora8的。我装了8,首先是yum源的问题,教育网连不上国外的网络。我自己添加了上海交大的源如下建立了sjtu.repos
[updates]
name=Fedora updates

baseurl=ftp://ftp.sjtu.edu.cn/fedora/linux/updates/$releasever/$basearch/

enabled=1

gpgcheck=0


[fedora]
name=Fedora $releasever - $basearch

baseurl=ftp://ftp.sjtu.edu.cn/fedora/linux/releases/$releasever/Everything/$basearch/os/

enabled=1

gpgcheck=1

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY


[freshrpms]
name=Fedora Core $releasever - $basearch - Freshrpms

baseurl=ftp://ftp.sjtu.edu.cn/freshrpms/ayo/fedora/linux/$releasever/$basearch/freshrpms/

enabled=1

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-freshrpms
gpgcheck=0

然后添加livna的源,首先在windows下用代理下了livna-release-8.rpm,还有打开 http://rpm.livna.org/RPM-LIVNA-GPG-KEY ,把里面的内有保存。登录到fedora下安装了livn-release-8.rpm,然后导入key,我是把刚才导入的保存的文件命名为RPM-LIVNA-GPG-KEY并保存到桌面,然后导入rpm --import /root/Desktop/RPM-LIVNA-GPG-KEY ,再添加yum源
[livna]
name=Livna for Fedora Core $releasever - $basearch - Base
baseurl=
        ftp://ftp3.tsinghua.edu.cn/mirror/livna/fedora/$releasever/$basearch/
        ftp://166.111.8.205/mirror/livna/fedora/$releasever/$basearch/
        http://rpm.livna.org/fedora/$releasever/$basearch/
        http://livna.cat.pdx.edu/fedora/$releasever/$basearch/
        http://wftp.tu-chemnitz.de/pub/linux/livna/fedora/$releasever/$basearch/
        http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/fedora/$releasever/$basearch/
        http://mirror.atrpms.net/livna/fedora/$releasever/$basearch/
        ftp://mirrors.tummy.com/pub/rpm.livna.org/fedora/$releasever/$basearch/
failovermethod=priority
#mirrorlist=http://rpm.livna.org/mirrorlist-7
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna

里面的  ftp://ftp3.tsinghua.edu.cn/mirror/livna/fedora/$releasever/$basearch/
        ftp://166.111.8.205/mirror/livna/fedora/$releasever/$basearch/
是我自己添加的!


yum源添加完了就开始安装软件,先是安装reciteword 黑客背单词

yum install reciteword
没问题,成功的安装了!然后想装stardict星际译王 yum install reciteword 然后就出现错误说缺少依赖关系。本想把错误copy下来无奈现在发现仓库里尽然没有这个包,记得缺少espeak ,就又转到window下找个espeak-1.28-1.fc8.i386.rpm包,无奈安装时现在又出现Missing Dependency: libportaudio.so.2 is needed by package espeak

不理就继续安装其他东西,安装totem-xine播放器。
yum remove totem
yum install totem-xine
可是找个rmvb文件发现播放不了!
Totem could not play 'file:///media/disk-2/dongxiexidu_3522_q.rmvb'.
A problem occurred while loading a library or a decoder (cook.so).
于是就网上找答案,说要安装xine-lib,就在yum上找一下有关xine的
[root@renqin ~]# yum list |grep xine
Repository updates is listed more than once in the configuration
Repository fedora is listed more than once in the configuration
totem-xine.i386                          2.20.1-1.lvn8          installed      
xine-lib.i386                            1.1.8-4.fc8            installed      
xine-lib-arts.i386                       1.1.8-4.fc8            installed      
gxine.i386                               0.5.11-1.fc7           freshrpms      
totem-xine-devel.i386                    2.20.1-1.lvn8          livna           
totem-xine-galago.i386                   2.20.1-1.lvn8          livna           
totem-xine-lirc.i386                     2.20.1-1.lvn8          livna           
totem-xine-mozplugin.i386                2.20.1-1.lvn8          livna           
xine.i386                                0.99.5-1.lvn8          livna           
xine-lib-extras-nonfree.i386             1.1.8-6.lvn8           livna           
xine-lib-moles.i386                      1.1.8-1.fc8            freshrpms      
xine-skins.noarch                        1.10-1.fc              freshrpms      
[root@renqin ~]#

于是 yum install xine-lib-extras-nonfree.i386
又出现:
        Error: Missing Dependency: libx264.so.56 is needed by package ffmpeg-libs
        Error: Missing Dependency: libmp4v2.so.0 is needed by package faac

不知道怎么做,我想不可能就找这些包下载再安装吧!!!放弃!
又想安装audacious 播放器,仓库里没有这个包!到ftp里搜索了个audacious-1.3.2-1.fc8.i386.rpm安装,又出现
Missing Dependency: audacious-plugins >= 1.3.0 is needed by package audacious
Missing Dependency: libaudacious.so.5 is needed by package audacious

又放弃了,继续装其他东西!
yum -y install gstreamer-plugins*
出现一堆:
Error: Missing Dependency: gstreamer-devel is needed by package gstreamer-plugins-bad-devel
Error: Missing Dependency: libfusion-1.0.so.0 is needed by package gstreamer-plugins-bad
Error: Missing Dependency: libWildMidi.so.0 is needed by package gstreamer-plugins-bad
Error: Missing Dependency: libSDL_gfx.so.0 is needed by package mjpegtools
Error: Missing Dependency: libgmyth.so.0 is needed by package gstreamer-plugins-bad-extras
Error: Missing Dependency: libid3tag.so.0 is needed by package gstreamer-plugins-ugly
Error: Missing Dependency: libmp4v2.so.0 is needed by package faac
Error: Missing Dependency: libSoundTouch.so.1 is needed by package gstreamer-plugins-bad-extras
Error: Missing Dependency: libtimidity-0.1.so.0 is needed by package gstreamer-plugins-bad
Error: Missing Dependency: libx264.so.56 is needed by package gstreamer-plugins-bad
Error: Missing Dependency: libcdaudio.so.1 is needed by package gstreamer-plugins-bad
Error: Missing Dependency: libsidplay.so.1 is needed by package gstreamer-plugins-ugly
Error: Missing Dependency: libdirect-1.0.so.0 is needed by package gstreamer-plugins-bad
Error: Missing Dependency: libdirectfb-1.0.so.0 is needed by package gstreamer-plugins-bad
Error: Missing Dependency: libdvdread.so.3 is needed by package gstreamer-plugins-ugly

再安装yum install -y ffmpeg mjpegtools出现
Error: Missing Dependency: libSDL_gfx.so.0 is needed by package mjpegtools
Error: Missing Dependency: libmp4v2.so.0 is needed by package faac



结果就这样了,发现我装什么总缺少依赖关系什么的 。。到现在只成功安装了totem-xine,却还是播不了任何东西。不知道究竟什么原因,yum不是可以自己解决依赖关系的吗?是不是因为现在fedora8的源不全,所以很多都解决不了!!
帖子又长又臭,我搞了两三天什么都搞不好,网络又很不好,下载包都经常要转到windows下用代理下载!!!好郁闷!不知道有没有人发现跟我一样的问题!还是我自己有什么搞错了 !!!不想再这样毫无结果搞下去!所以 决定发个贴,问一下!不知道是不是我什么东西搞错了 !
发表于 2007-12-29 13:25:53 | 显示全部楼层
找找代理服务器吧,这可能是最简单的方法了。
回复 支持 反对

使用道具 举报

发表于 2007-12-29 13:58:19 | 显示全部楼层
Post by shawn.p.huang;1801036
找找代理服务器吧,这可能是最简单的方法了。


不在教育网不知道教育网的痛苦啊,代理及其不稳定,速度慢不说,基本上就找不到(也许每个地方不同)!
好不容易找到北邮的,下载速度有3M,结果现在学校限速,只剩100k不到了,郁闷
回复 支持 反对

使用道具 举报

发表于 2007-12-29 14:00:10 | 显示全部楼层
Post by zidane114;1801034
不知道有没有教育网的兄弟装了fedora8的。我装了8,首先是yum源的问题,教育网连不上国外的网络。我自己添加了上海交大的源如下建立了sjtu.repos
[updates]
name=Fedora updates

baseurl=ftp://ftp.sjtu.edu.cn/fedora/linux/updates/$releasever/$basearch/

enabled=1

gpgcheck=0


[fedora]
name=Fedora $releasever - $basearch

baseurl=ftp://ftp.sjtu.edu.cn/fedora/linux/releases/$releasever/Everything/$basearch/os/

enabled=1

gpgcheck=1

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY


[freshrpms]
name=Fedora Core $releasever - $basearch - Freshrpms

baseurl=ftp://ftp.sjtu.edu.cn/freshrpms/ayo/fedora/linux/$releasever/$basearch/freshrpms/

enabled=1

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-freshrpms
gpgcheck=0

然后添加livna的源,首先在windows下用代理下了livna-release-8.rpm,还有]打开http://rpm.livna.org/RPM-LIVNA-G ... 存的文件命名

没看懂是什么问题,教育网是连不上国外,也连不上大部分的公网。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-12-29 15:01:49 | 显示全部楼层
Post by leave22;1801056
不在教育网不知道教育网的痛苦啊,代理及其不稳定,速度慢不说,基本上就找不到(也许每个地方不同)!
好不容易找到北邮的,下载速度有3M,结果现在学校限速,只剩100k不到了,郁闷


不知道你说的北邮代理是什么?我就发现http://proxy.ipcn.org/这个代 ... 可以上网页! 不可以作为yum代理!
回复 支持 反对

使用道具 举报

发表于 2007-12-29 16:48:10 | 显示全部楼层
不是有个yum提速的贴么
回复 支持 反对

使用道具 举报

发表于 2007-12-29 17:44:09 | 显示全部楼层
最简单的办法是只依靠官方源,
不要用livna之类的软件源。因为官方源的依赖关系是最完整的,其他的源我都不大放心。
建议安装的时候同时装上开发工具。
如果是官方源里没有的软件,找来源码自己编译就可以了,例如mplayer之类。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-12-29 20:10:33 | 显示全部楼层
Post by drsu;1801150
最简单的办法是只依靠官方源,
不要用livna之类的软件源。因为官方源的依赖关系是最完整的,其他的源我都不大放心。
建议安装的时候同时装上开发工具。
如果是官方源里没有的软件,找来源码自己编译就可以了,例如mplayer之类。


drsu说的很好!我同意你说自己编译的,有时间我自己试一下,还是个freshman,不大会弄,还有源码不知道从哪里找?
另外只用官方源之说,似乎很多软件包在官方源里都找不到!
回复 支持 反对

使用道具 举报

发表于 2007-12-29 20:34:00 | 显示全部楼层
Post by zidane114;1801079
不知道你说的北邮代理是什么?我就发现http://proxy.ipcn.org/这个代 ... 可以上网页! 不可以作为yum代理!

忘记说是北邮的fc源了
ipcn两个小时换一次换密码,而且造成浏览器firefox频繁假死。郁闷的很。所以最后办教育网直通车了
回复 支持 反对

使用道具 举报

发表于 2007-12-29 20:45:30 | 显示全部楼层
Post by zidane114;1801034
不知道有没有教育网的兄弟装了fedora8的。我装了8,首先是yum源的问题,教育网连不上国外的网络。我自己添加了上海交大的源如下建立了sjtu.repos
[updates]
name=Fedora updates

baseurl=ftp://ftp.sjtu.edu.cn/fedora/linux/updates/$releasever/$basearch/

enabled=1

gpgcheck=0


[fedora]
name=Fedora $releasever - $basearch

baseurl=ftp://ftp.sjtu.edu.cn/fedora/linux/releases/$releasever/Everything/$basearch/os/

enabled=1

gpgcheck=1

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY


[freshrpms]
name=Fedora Core $releasever - $basearch - Freshrpms

baseurl=ftp://ftp.sjtu.edu.cn/freshrpms/ayo/fedora/linux/$releasever/$basearch/freshrpms/

enabled=1

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-freshrpms
gpgcheck=0

然后添加livna的源,首先在windows下用代理下了livna-release-8.rpm,还有打开 http://rpm.livna.org/RPM-LIVNA-GPG-KEY ,把里面的内有保存。登录到fedora下安装了livn-release-8.rpm,然后导入key,我是把刚才导入的保存的文件命名为RPM-LIVNA-GPG-KEY并保存到桌面,然后导入rpm --import /root/Desktop/RPM-LIVNA-GPG-KEY ,再添加yum源
[livna]
name=Livna for Fedora Core $releasever - $basearch - Base
baseurl=
        ftp://ftp3.tsinghua.edu.cn/mirror/livna/fedora/$releasever/$basearch/
        ftp://166.111.8.205/mirror/livna/fedora/$releasever/$basearch/
        http://rpm.livna.org/fedora/$releasever/$basearch/
        http://livna.cat.pdx.edu/fedora/$releasever/$basearch/
        http://wftp.tu-chemnitz.de/pub/linux/livna/fedora/$releasever/$basearch/
        http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/fedora/$releasever/$basearch/
        http://mirror.atrpms.net/livna/fedora/$releasever/$basearch/
        ftp://mirrors.tummy.com/pub/rpm.livna.org/fedora/$releasever/$basearch/
failovermethod=priority
#mirrorlist=http://rpm.livna.org/mirrorlist-7
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna

里面的  ftp://ftp3.tsinghua.edu.cn/mirror/livna/fedora/$releasever/$basearch/
        ftp://166.111.8.205/mirror/livna/fedora/$releasever/$basearch/
是我自己添加的!


yum源添加完了就开始安装软件,先是安装reciteword 黑客背单词

yum install reciteword
没问题,成功的安装了!然后想装stardict星际译王 yum install reciteword 然后就出现错误说缺少依赖关系。本想把错误copy下来无奈现在发现仓库里尽然没有这个包,记得缺少espeak ,就又转到window下找个espeak-1.28-1.fc8.i386.rpm包,无奈安装时现在又出现Missing Dependency: libportaudio.so.2 is needed by package espeak

不理就继续安装其他东西,安装totem-xine播放器。
yum remove totem
yum install totem-xine
可是找个rmvb文件发现播放不了!
Totem could not play 'file:///media/disk-2/dongxiexidu_3522_q.rmvb'.
A problem occurred while loading a library or a decoder (cook.so).
于是就网上找答案,说要安装xine-lib,就在yum上找一下有关xine的
[root@renqin ~]# yum list |grep xine
Repository updates is listed more than once in the configuration
Repository fedora is listed more than once in the configuration
totem-xine.i386                          2.20.1-1.lvn8          installed      
xine-lib.i386                            1.1.8-4.fc8            installed      
xine-lib-arts.i386                       1.1.8-4.fc8            installed      
gxine.i386                               0.5.11-1.fc7           freshrpms      
totem-xine-devel.i386                    2.20.1-1.lvn8          livna           
totem-xine-galago.i386                   2.20.1-1.lvn8          livna           
totem-xine-lirc.i386                     2.20.1-1.lvn8          livna           
totem-xine-mozplugin.i386                2.20.1-1.lvn8          livna           
xine.i386                                0.99.5-1.lvn8          livna           
xine-lib-extras-nonfree.i386             1.1.8-6.lvn8           livna           
xine-lib-moles.i386                      1.1.8-1.fc8            freshrpms      
xine-skins.noarch                        1.10-1.fc              freshrpms      
[root@renqin ~]#

于是 yum install xine-lib-extras-nonfree.i386
又出现:
        Error: Missing Dependency: libx264.so.56 is needed by package ffmpeg-libs
        Error: Missing Dependency: libmp4v2.so.0 is needed by package faac

不知道怎么做,我想不可能就找这些包下载再安装吧!!!放弃!
又想安装audacious 播放器,仓库里没有这个包!到ftp里搜索了个audacious-1.3.2-1.fc8.i386.rpm安装,又出现
Missing Dependency: audacious-plugins >= 1.3.0 is needed by package audacious
Missing Dependency: libaudacious.so.5 is needed by package audacious

又放弃了,继续装其他东西!
yum -y install gstreamer-plugins*
出现一堆:
Error: Missing Dependency: gstreamer-devel is needed by package gstreamer-plugins-bad-devel
Error: Missing Dependency: libfusion-1.0.so.0 is needed by package gstreamer-plugins-bad
Error: Missing Dependency: libWildMidi.so.0 is needed by package gstreamer-plugins-bad
Error: Missing Dependency: libSDL_gfx.so.0 is needed by package mjpegtools
Error: Missing Dependency: libgmyth.so.0 is needed by package gstreamer-plugins-bad-extras
Error: Missing Dependency: libid3tag.so.0 is needed by package gstreamer-plugins-ugly
Error: Missing Dependency: libmp4v2.so.0 is needed by package faac
Error: Missing Dependency: libSoundTouch.so.1 is needed by package gstreamer-plugins-bad-extras
Error: Missing Dependency: libtimidity-0.1.so.0 is needed by package gstreamer-plugins-bad
Error: Missing Dependency: libx264.so.56 is needed by package gstreamer-plugins-bad
Error: Missing Dependency: libcdaudio.so.1 is needed by package gstreamer-plugins-bad
Error: Missing Dependency: libsidplay.so.1 is needed by package gstreamer-plugins-ugly
Error: Missing Dependency: libdirect-1.0.so.0 is needed by package gstreamer-plugins-bad
Error: Missing Dependency: libdirectfb-1.0.so.0 is needed by package gstreamer-plugins-bad
Error: Missing Dependency: libdvdread.so.3 is needed by package gstreamer-plugins-ugly

再安装yum install -y ffmpeg mjpegtools出现
Error: Missing Dependency: libSDL_gfx.so.0 is needed by package mjpegtools
Error: Missing Dependency: libmp4v2.so.0 is needed by package faac



结果就这样了,发现我装什么总缺少依赖关系什么的 。。到现在只成功安装了totem-xine,却还是播不了任何东西。不知道究竟什么原因,yum不是可以自己解决依赖关系的吗?是不是因为现在fedora8的源不全,所以很多都解决不了!!
帖子又长又臭,我搞了两三天什么都搞不好,网络又很不好,下载包都经常要转到windows下用代理下载!!!好郁闷!不知道有没有人发现跟我一样的问题!还是我自己有什么搞错了 !!!不想再这样毫无结果搞下去!所以 决定发个贴,问一下!不知道是不是我什么东西搞错了 !


会不会是freshrpm里的东西和livna冲突了?把其中一个删掉试试
回复 支持 反对

使用道具 举报

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

本版积分规则

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