问题描述:
一切都搞定了,就是yum makecache 出现文件404,再目录看了也不对没后缀。。。(这不扯淡吗,rhel的dvd是可以直接使用的,难道企业版与社区版的区别??)
日志记录
[root@oracle yum.repos.d]# yum makecache Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile centos6.5 | 4.0 kB 00:00 http://172.24.0.1/centos6.5/repodata/ca525c73086186bfcb81ad9edd45796026dac7e4e50524e0f2daf901532aaf66-c6-x86_64-comps.xml.gz: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found" Trying other mirror. http://172.24.0.1/centos6.5/repodata/0dafccfdbf892f02acca8267ade4bdcee7280a682e65dc7e29145f3341fd7a8c-primary.sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found" Trying other mirror. Error: failure: repodata/0dafccfdbf892f02acca8267ade4bdcee7280a682e65dc7e29145f3341fd7a8c-primary.sqlite.bz2 from centos6.5: [Errno 256] No more mirrors to try.
解决方案:
可耻的centos6.x 默认没加而已,加上就可以了。骚年动吗。。。
查看TRANS.TBL或repomd.xml(建议看TRANS.TBL)
TRANS.TBL(红色标记缺省的后缀)
F 0DAFCCFD.BZ2;1 0dafccfdbf892f02acca8267ade4bdcee7280a682e65dc7e29145f3341fd7a8c-primary.sqlite.bz2
F 495D3964.GZ;1 495d3964f864fbab835ea1afb8a5272352cd12ded13d607205109fefaddd0ab6-primary.xml.gz
F 594D4BB4.BZ2;1 594d4bb4a79ed01d66635adbcf76c45ca4a85b30fc3e3c3c28316e64f0a83f21-filelists.sqlite.bz2
F 5AF8199B.GZ;1 5af8199bd0ffb441c34ef946582d0d06c1ad770755e631690771e0bceb0ad222-other.xml.gz
F 6AC72F49.GZ;1 6ac72f497df511cc2dc584eaa59779884fc572c1618e7c62dbd631ab8babf53d-filelists.xml.gz
F B4E0B934.XML;1 b4e0b9342ef85d3059ff095fa7f140f654c2cb492837de689a58c581207d9632-c6-x86_64-comps.xml
F CA525C73.GZ;1 ca525c73086186bfcb81ad9edd45796026dac7e4e50524e0f2daf901532aaf66-c6-x86_64-comps.xml.gz
F FDD542EF.BZ2;1 fdd542ef36b0cde54ee0521fae90b98911db06483163aa1c049995b6d109349b-other.sqlite.bz2
搞定后看到愉快的界面