Results 1 to 5 of 5
Hi there,
A while back I had to install an extra yum rpm repository to my CentOS 5 server as I needed newer versions of httpd (v2.2. and php (v5.1.6) ...
- 08-05-2009 #1Just Joined!
- Join Date
- Aug 2009
- Posts
- 3
How can I revert back to CentOS default yum RPM Repositories
Hi there,
A while back I had to install an extra yum rpm repository to my CentOS 5 server as I needed newer versions of httpd (v2.2.
and php (v5.1.6) than were in the default repositories at the time.
I now wish to revert back to the standard repositories, I have removed reference to the custom repository from etc/yum.repos.d/ and used '# yum clean all' but cannot seem update these packages when I use '# yum update'.
Is there a way of making the rpm packages for httpd and php go back to using the standard repos, or will I have to manual update them from now on?
Or could I uninstall those rpms and reinstall from default repo without breaking the whole server?
Sorry, my linux ability is not great!
- 08-05-2009 #2
The rpms for your httpd and php packages will only be updated if there are newer versions in the official CentOS repos. If you really want to get rid of the unofficial packages, then you may have to uninstall them and reinstall the ones from the official CentOS repos.
- 08-05-2009 #3Just Joined!
- Join Date
- Aug 2009
- Posts
- 3
Ah thanks, so if the versions in the official repositories are newer then they will replace the unofficial ones automatically then?
Is there a way of finding out what versions are currently in the official repos?
- 08-05-2009 #4
'yum info <packagename>' will usually tell you all you could want about it.
You can also use kyum or yumex from the desktop to browse through packages, and it lists the available version too.Linux user #126863 - see http://linuxcounter.net/
- 08-05-2009 #5Just Joined!
- Join Date
- Aug 2009
- Posts
- 3
Cheers, it seems the official CentOS RPM versions of apache and php are below what I'm running so all OK.


Reply With Quote