我一台主機的yum突然什麼都找不到,感覺跑到一半就停了,也沒有任何錯誤訊息
查一下centos wiki後,可以試試用yum clean
問題狀況
shell>yum check-update
Loading “installonlyn” plugin
Setting up repositories<—-跑到這邊yum突然停止運作 先試試clean headershell>yum clean header
還是無法解決時就clean all
shell>yum clean all
果然可以囉
shell>yum check-update
Loading “installonlyn” plugin
Setting up repositories
Reading repository metadata in from local files
Deployment_Guide-en-US.noarch 5.2-11.el5.centos updates
apr-util.i386 1.2.7-7.el5 base
audit-libs.i386 1.6.5-9.el5 base
audit-libs-python.i386 1.6.5-9.el5 base
轉貼至http://beakdoosan.blogspot.tw/