The problem occurs because yum is built so that only one instance of the program may run at once (to prevent situations where you might be installing some software while removing it at the same time, or installing some software twice at the same moment). All yum processes are considered to be "the same" in this sense, so if you're running a manual
yum-install, using the automatic update manager which uses yum, installing software using the graphical tool which lets you choose packets or anything else, you can only run one of these at a time.
Quote:
|
thanks i am logged in as root but still saying bash chkconfig
|
Don't be logged in as root, it's unsafe if not stupid. Instead use
sudo (first you must probably configure it to let your preferred user use it) if you just can, it's safer than logging in as root, or use just
su to become root and exit it when you don't need it anymore.
Quote:
|
thanks i am logged in as root but still saying bash chkconfig
|
Try this first:
Code:
su
type root password and hit ENTER
chkconfig bash yum-updatesd off
And if it's not found, find out where this program lies (if it's installed):
Code:
sudo updatedb && locate chkconfig
..or if you can't use sudo because you haven't configured it,
Code:
su
type root password and hit ENTER
updatedb && locate chkconfig && exit
The updatesd is probably a "needed" process if it's installed, so I'm not sure if you really should disable it; instead, find out if it should really be running all the time, or why is it running and when should it be running -- does it do something at the moment or has it jammed?
Also, if you can't figure out which yum process is the "problem", try
to see if any are running. If yes, see if you do want to run it and if not, use
kill to stop it. If no yum processes are running but yum claims so, the pid file might not be removed for some reason (like a crash of some kind) so yum thinks it's running though it isn't. In this case remove the pid file.