Find the answer to your Linux question:
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) ...
  1. #1
    Just 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!

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    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.

  3. #3
    Just 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?

  4. #4
    Trusted Penguin Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,393
    '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/

  5. #5
    Just 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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...