如何用APT(Advanced Packaging Tool)维护Red Hat Enterprise Linux (RHEL),提供对个别RHEL的用户无法升级的问题的解决办法。
1.前提
2.安装apt
#wget http://redhat.uni-klu.ac.at/el3/apt.i386.rpm
#rpm -Uvh apt.i386.rpm
3. 编辑相关文件
#vi /etc/apt/sources-list.d/dag.list
增加下面内容:
rpm http://afs.caspur.it/ afs/italia/project/linux/cern/slc302/i386/apt os updates extras
rpm http://redhat.uni-klu.ac.at redhat/dag/el3/i386 dag
rpm-src http://redhat.uni-klu.ac.at redhat/dag/el3/i386 dag
rpm http://apt.sw.be redhat/el3/en/i386 dag
rpm-src http://apt.sw.be redhat/el3/en/i386 dag
4.Start
# apt-get update
# apt-get upgrade
5.reboot
6.参考文章
http://www.dbanotes.net/Oracle/How_To_Maintain_RHEL_with_APT.htm