Problems with yum


Another app is currently holding the yum lock; waiting for it to exit…
The other application is: yum
Memory : 15 M RSS ( 29 MB VSZ)
Started: Fri Aug 20 18:13:43 2010 – 11:02 ago
State : Sleeping, pid: 10537

This processes often occurs when there is already a yum process running in the background.
If you are getting this type of error then follow the following steps:

1.First,find out what’s locking the yum,try running
Type the following in the command line:
# ps aux | grep yum

# ps aux | grep yum
root 8657 0.1 0.5 29492 15000 ? S 17:25 0:05 /usr/bin/python /usr/bin/yum install update
root 10856 0.1 0.5 29876 15660 ? S 18:18 0:00 /usr/bin/python

here,8657 and 10856 is known as PID number.

2. Note the PID number and write the following command in the terminal to end the processes.

# kill <Insert ID Number>

Kill all the processes related to yum one by one and then try to start a new yum process.

Advertisements
8 comments
  1. jim said:

    this is awesome man

  2. Wow! This can be one particular of the most beneficial blogs We have ever arrive across on this subject. Basically Magnificent

  3. Great piece of facts that you’ve obtained on this web site publish. Hope I will get some much more of the stuff in your weblog. I will appear again.

  4. Mrityunjay said:

    its really helpful…….

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: