登录  
 加关注
查看详情
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

我行我素

 
 
 

日志

 
 

前进在Fedora 5——03  

2006-05-30 00:33:59|  分类: 郁闷自己 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |

      参考资料:http://www.linuxsir.org/main/?q=node/35


      首先在水木社区的LinuxApp板下载了那边兄弟的yum.repos.d.tar.gz的压缩包,里面已经将ftp3.tsinghua.edu.cn的yum源正确的写进去了,解压到/etc/yum.repos.d覆盖里面的文件就行了。

      然后导入Freshrpms.net网站的GPG签名,官方的签名文件在这里:http://freshrpms.net/RPM-GPG-KEY-freshrpms
导入命令是:rpm --import
http://freshrpms.net/RPM-GPG-KEY-freshrpms

      但我懒得去设置系统的代理,因此直接将这个GPG签名保存到硬盘中,起名 RPM-GPG-KEY-freshrpms,
然后用如下命令导入:rpm --import /home/download/RPM-GPG-KEY-freshrpms

      到这里为止,yum就可以使用到ftp3.tsinghua.edu.cn里面的软件了。


以下是成功安装bmp-mp3:
# yum install bmp-mp3
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
dries                                                                [1/5]
base                                                                 [2/5]
updates-released                                                     [3/5]
freshrpms                                                            [4/5]
extras                                                               [5/5]
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for bmp-mp3 to pack into transaction set.
bmp-mp3-0.9.7.1-3.fc5.i38 100% |=========================| 3.4 kB    00:00
---> Package bmp-mp3.i386 0:0.9.7.1-3.fc5 set to be updated
--> Running transaction check
--> Processing Dependency: libbeep.so.2 for package: bmp-mp3
--> Processing Dependency: bmp >= 0.9.7.1 for package: bmp-mp3
--> Processing Dependency: libid3-3.8.so.3 for package: bmp-mp3
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for id3lib to pack into transaction set.
id3lib-3.8.3-13.fc5.i386. 100% |=========================| 7.3 kB    00:00
---> Package id3lib.i386 0:3.8.3-13.fc5 set to be updated
---> Downloading header for bmp to pack into transaction set.
bmp-0.9.7.1-4.fc5.i386.rp 100% |=========================|  15 kB    00:00
---> Package bmp.i386 0:0.9.7.1-4.fc5 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 bmp-mp3                 i386       0.9.7.1-3.fc5    freshrpms         107 k
Installing for dependencies:
 bmp                     i386       0.9.7.1-4.fc5    extras            907 k
 id3lib                  i386       3.8.3-13.fc5     extras            396 k

Transaction Summary
=============================================================================
Install      3 Package(s)
Update       0 Package(s)
Remove       0 Package(s)
Total download size: 1.4 M
Is this ok [y/N]: y
Downloading Packages:
(1/3): id3lib-3.8.3-13.fc5.i386.rpm                             396 kB 00:01
(2/3): bmp-mp3-0.9.7.1-3.fc5.i386.rpm                           107 kB 00:00
(3/3): bmp-0.9.7.1-4.fc5.i386.rpm                               907 kB 00:03
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 1ac70ce6
Public key for id3lib-3.8.3-13.fc5.i386.rpm is not installed
Retrieving GPG key from
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras
Importing GPG key 0x1AC70CE6 "Fedora Project <fedora-extras@fedoraproject.org>"
Is this ok [y/N]: y
Key imported successfully
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: bmp                          ######################### [1/3]
  Installing: id3lib                       ######################### [2/3]
  Installing: bmp-mp3                      ######################### [3/3]

Installed: bmp-mp3.i386 0:0.9.7.1-3.fc5
Dependency Installed: bmp.i386 0:0.9.7.1-4.fc5 id3lib.i386 0:3.8.3-13.fc5
Complete!



附:/etc/yum.repos.d中相关的文件:

fedora.repo
================================================
[base]
name=Fedora Core $releasever - $basearch - os
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
baseurl=ftp://ftp3.tsinghua.edu.cn/mirror/download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
#baseurl=http://ftp.sjtu.edu.cn/fedora/linux/core/$releasever/$basearch/os/
#baseurl=ftp://ftp.sjtu.edu.cn/fedora/linux/core/$releasever/$basearch/os
#name=Fedora Core $releasever - $basearch - updates-released
#baseurl=ftp://ftp.tsinghua.edu.cn/mirror/download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/
#name=Fedora Core $releasever - $basearch - updates-testing
#baseurl=ftp://ftp.tsinghua.edu.cn/mirror/download.fedora.redhat.com/pub/fedora/linux/core/updates/testing/$releasever/$basearch/
#name=Fedora Core $releasever - $basearch - extras
#baseurl=ftp://ftp.tsinghua.edu.cn/mirror/download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/$basearch/
#name=Fedora Core $releasever - $basearch - freshrpms
#baseurl=ftp://ftp.tsinghua.edu.cn/mirror/ayo.freshrpms.net/pub/freshrpms/ayo/fedora/linux/$releasever/$basearch/freshrpms/
#name=Fedora Core $releasever - $basearch - dag
#baseurl=ftp://ftp.tsinghua.edu.cn/mirror/ayo.freshrpms.net/pub/dag/fedora/$releasever/en/$basearch/dag/
#name=Fedora Core $releasever - $basearch - dries
#baseurl=ftp://ftp.tsinghua.edu.cn/mirror/ayo.freshrpms.net/pub/dag/dries/fedora/fc$releasever/$basearch/dries/RPMS


#mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-$releasever
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
================================================



fedora-devel.repo
===============================================
[development]
# These packages are untested and still under development. This
# repository is used for updates to test releases, and for
# development of new releases.
#
# This repository can see significant daily turn over and can see major
# functionality changes which cause unexpected problems with other
# development packages. Please use these packages if you want to work
# with the Fedora developers by testing these new development packages.
#
#
fedora-test-list@redhat.com is available as a discussion forum for
# testing and troubleshooting for development packages in conjunction
# with new test releases.
#
#
fedora-devel-list@redhat.com is available as a discussion forum for
# testing and troubleshooting for development packages in conjunction
# with developing new releases.
#
# Reportable issues should be filed at bugzilla.redhat.com
# Product: Fedora Core
# Version: devel
name=Fedora Core $releasever - Development Tree
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/development/$basearch/
baseurl=ftp://ftp3.tsinghua.edu.cn/mirror/download.fedora.redhat.com/pub/fedora/linux/core/development/$basearch/
mirrorlist=ftp://ftp3.tsinghua.edu.cn/mirror/fedora.redhat.com/download/mirrors/fedora-core-rawhide
enabled=0
gpgcheck=0
================================================




fedora-dries.repo

================================================

[dries]
name=Fedora Core $releasever - $basearch - dries
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
#abaseurl=ftp://ftp.tsinghua.edu.cn/mirror/download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
#baseurl=ftp://ftp.tsinghua.edu.cn/mirror/ayo.freshrpms.net/pub/dag/fedora/$releasever/en/$basearch/dag/
baseurl=ftp://ftp3.tsinghua.edu.cn/mirror/ayo.freshrpms.net/pub/dag/dries/fedora/fc$releasever/$basearch/dries/RPMS

================================================






fedora-extras.repo

================================================

[extras]
name=Fedora Extras $releasever - $basearch
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/$basearch/
#mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-extras-$releasever
baseurl=ftp://ftp3.tsinghua.edu.cn/mirror/download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/$basearch/
#baseurl=http://mirrors.geekbone.org/fedora/extras/$releasever/$basearch/
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras
gpgcheck=1
================================================






fedora-freshrpms.repo

================================================
[freshrpms]
name=Fedora Core $releasever - $basearch - freshrpms
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/
#mirrorlist=http://fedora.redhat.com/download/mirrors/updates-released-fc$releasever
#baseurl=ftp://ftp.tsinghua.edu.cn/mirror/download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch
baseurl=ftp://ftp3.tsinghua.edu.cn/mirror/ayo.freshrpms.net/pub/freshrpms/ayo/fedora/linux/$releasever/$basearch/freshrpms/

enabled=1

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

================================================





fedora-updates.repo

================================================
[updates-released]
name=Fedora Core $releasever - $basearch - Released Updates
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch/
#mirrorlist=http://fedora.redhat.com/download/mirrors/updates-released-fc$releasever
baseurl=ftp://ftp3.tsinghua.edu.cn/mirror/download.fedora.redhat.com/pub/fedora/linux/core/updates/$releasever/$basearch
#baseurl=http://ftp.sjtu.edu.cn/fedora/linux/core/updates/$releasever/$basearch/
#baseurl=ftp://ftp.sjtu.edu.cn/fedora/linux/core/updates/$releasever/$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
================================================


 

 

2006-04-09 23:14:31 

  评论这张
 
阅读(212)| 评论(0)

历史上的今天

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2018