RHEL5 使用 CentOS5 yum
for file in `rpm -qa |grep yum`; do rpm -e $file --nodeps...
扫描右侧二维码阅读全文
25
2008/07

RHEL5 使用 CentOS5 yum

for file in `rpm -qa |grep yum`; do rpm -e $file --nodeps ; done rpm -ivh http://mirror.be10.com/centos/5.2/os/i386/CentOS/yum-metadata-parser-1.1.2-2.el5.i386.rpm rpm -ivh http://mirror.be10.com/centos/5.2/os/i386/CentOS/python-iniparse-0.2.3-4.el5.noarch.rpm rpm -ivh http://mirror.be10.com/centos/5.2/os/i386/CentOS/yum-3.2.8-9.el5.centos.1.noarch.rpm rpm -ivh http://mirror.be10.com/centos/5.2/os/i386/CentOS/yum-updatesd-0.9-2.el5.noarch.rpm rpm --import http://mirror.be10.com/centos/RPM-GPG-KEY-CentOS-5 wget http://www.hiadmin.com/wp-content/uploads/2008/07/Centos-Base.repo -P /etc/yum.repos.d/ yum update

Last modification:November 26th, 2018 at 04:16 pm
If you think my article is useful to you, please feel free to appreciate

2 comments

  1. Michael Field

    打嚓边球的行为吗~

  2. Martian Guo

    本来就是同一个东西而已

Leave a Comment