1准备工作
下载Fedora-8-i386-DVD.iso
2创建本地源
servicevsftpdstart(ftp)
mkdir/var/ftp/pub/fc8/repo
vi/etc/fstab添加
/var/ftp/pub/Fedora-8-i386-DVD.iso/var/ftp/pub/fc8/repo/iso9660
defaults,loop00
mount-a
cd/var/ftp/pub/fc8/
ln-s/var/ftp/pub/fc8/repo/*./
createrepo.
3设置源
vi/etc/yum.repos.d/localfc8.repo
[fc8]
name=fc8
baseurl=ftp://localhost/pub/fc8/repo
gpgcheck=0
4解决依赖关系
以我的系统为例,应该可以解决很多问题
cd/var/ftp/pub/fc8/Packages/
rpm-ivh--nodeps--forceglibc-common-2.7-2.i386.rpm
rpm-ivh--nodeps--forceglibc-2.7-2.i686.rpm
rpm-ivh--nodeps--forcegnome-python2-desktop-2.20.0-1.fc8.i386.rpm
rpm-ivh--nodeps--forceyum-3.2.7-1.fc8.noarch.rpm
rpm-ivh--nodeps--forcelibmpcdec-1.2.6-3.fc8.i386.rpm
rpm-ivh--nodeps--forcepoppler-*
rpm-ivh--nodeps--forceevolution-data-server-1.12.1-2.fc8.i386.rpm
rpm-ivh--nodeps--forceexpat-2.0.1-2.i386.rpm
rpm-ivh--nodeps--forcedb4-4.6.21-1.fc8.i386.rpm
rpm-ivh--nodeps--forcerpcbind-0.1.4-11.fc8.i386.rpm
5升级
yumupdate-y
记录过程可能有误,请谅解。
下载本文示例代码
阅读(342) | 评论(0) | 转发(0) |