Blogroll
Tags
-
Recent Posts
- Reinstall Yum Package Manager – in CentOS
- SSH Connection Shortcut
- Wordpress Blackberry Application
- Setup Outbound Mail IP Address for Postfix
- Removing Nginx Server Version
- HTTPS, SSL and Nginx
- Indonesian CentOS 5.2 Repo (IIX and openIXP)
- Nginx, MySQL, PHP in CentOS 5.1 (x86_64)
- Installation and Basic Configuration Apache, MySQL and PHP on CentOS 5.1 (64 bit)
- Adding SWAP Space On-The-Fly
- Basic Network Configuration in CentOS
- Securing MySQL Installation
- Adding MySQL User
- Change Your Time Zone
- XEN 3.2.0 on Debian Etch

Reinstall Yum Package Manager – in CentOS
Somehow in an unlucky moment(s) you’ll find that your yum command stop working, I have experienced it a couple of time, never find out how it happen.
It is quite simple to re install yum in an rpm base linux distros, specifically CentOS in my case. What you need to do first is to download the source file (rpm) from CentOS repo.
Check your current kernel, make sure you download the correct package later;
Go to the correct repo url, and search for yum rpm link url. For x86_64 Kernel, go to http://mirror.centos.org/centos-5/5.3/os/x86_64/CentOS/ (assuming that you are using the latest version of CentOS), copy the link of yum package, and download them into your server, you must at this point have wget installed.
Check yor current version of installed yum
The result confirmed that you have yum-3.2.19-18, erase it using rpm and no dependencies check option.
Reinstall with rpm from yum rpm you just downloaded;