若出現cannot find a valid baseurl for repo的訊息
請編輯/etc/yum.repo.d/裡面的.repo檔案
把baseurl前面的#去掉
個人在學習Linux過程當中的個人筆記,提供個人及有需要的人查閱,若有錯誤歡迎提供指正,謝謝。 This Blog recorded notes about my learning Linux and provides myself and others reference. If there are any incorrect information, welcome to leave a message to correct me, Thanks.
2012年4月11日 星期三
2011年12月21日 星期三
解決yum update perl conflict問題
若yum update perl發生
conflicts with file from package perl.x.x.x
用rpm -e移除perl.i386 (若妳的CentOS是x64)
rpm -e perl.i386
在執行yum update perl應該就不會發生conflicts了
參考資料:
http://slash4.de/tutorials/CentOS_5.4_perl_update_problem
conflicts with file from package perl.x.x.x
用rpm -e移除perl.i386 (若妳的CentOS是x64)
rpm -e perl.i386
在執行yum update perl應該就不會發生conflicts了
參考資料:
http://slash4.de/tutorials/CentOS_5.4_perl_update_problem
2011年2月18日 星期五
CentOS Testing repo
http://dev.centos.org/centos/5/CentOS-Testing.repo
這可以用yum來升級一些套件, 例如PHP 5.2 (yum update php)
這可以用yum來升級一些套件, 例如PHP 5.2 (yum update php)
[c5-testing] name=CentOS-5 Testing baseurl=http://dev.centos.org/centos/$releasever/testing/$basearch/ enabled=0 gpgcheck=1 gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing
訂閱:
文章 (Atom)