yum update problem, centos 4.92 repo no longer available
because centos 5 is out, I cannot no longer use yum to update/install packages.
the reason is in /etc/yum.repos.d, CentOS-Base.repo has lines like: name=CentOS-$releasever - Base mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/ Because I am still running centos 4.92 instead of 5.0, $releasever is set to 4.92. I don't want to manually change all $releasever to 5, I guess this will work though. How can I change the variable $releasever such that yum treats it as 5.0 for now and 5.x 6.x once new versions come out? I tried "echo $releasever" but got : releasever: Undefined variable So, how does yum get the value for this variable? Where is it defined? |
|
I also installed centos-release-notes.
Now it works. Thanks. |
You are welcome, glad to help.
|
All times are GMT -5. The time now is 05:32 AM. |