Tag Archives: yum

Recently,I was having problems on installing via yum via proxy..after a bit searching on google i found a the way to configure yum through proxy.
Edit the yum.conf file in /etc/ folder
$vi /etc/yum.conf

save the file and now you can use yum through proxy.

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.

%d bloggers like this: