"Yum lock problem"
I'm back with a new headache...:o .
Whenever I try to install some package by yum...for an example -
# yum groupinstall "office" - it shows the following message-
"yum is locked by some other application - <app. name>"...
This thing is freaking me out..as I'm not able to use yum for anything.:cry:
looking forward to your valuable suggestions.
Thanks in advance.
have you tried the gui for yum ?? ( add and remove software )
also if yumupdated service is running and you have a mis-configured mirror list . That will cause this
what repos are you using ?
This is what I've got...
[root@Fedora ~]# yum repolist
Loaded plugins: refresh-packagekit
repo id repo name status
adobe-linux-i386 Adobe Systems Incorporated enabled: 17
fedora Fedora 11 - i386 enabled: 13,289
updates Fedora 11 - i386 - Updates enabled: 4,958
But I've read in some other threads that killing the other running processes is a solution , but I din't see any other running process...:(
sometimes the "adobe-linux-i386 Adobe Systems Incorporated " repo can lock up and sort of freeze yum.
try turning it off . Like this
-- to --
then try yum again .
ps -ef|grep yum
if there's a process running
then check again. If ok, (no yum running) then
You can also disable the relevant daemon in the Services menu, if you want to always manually ctrl when updates are done.
Look for rhnsd or yum.
Thanks a lot for the valuable suggestion.I'll try that and will update here.
Thanks a lot for your time but I tried this already and that's why i got to know that there was no processes running.Still it's very useful at times so many thanks :) .
I think there is a problem with yum removing yum.pid when shutting down.
Sometimes when I use Yumex and it acts like it's hanging I click on the "X" top right and shutdown Yumex to restart, you can't get back into Yumex because /var/run/yum.pid has not been removed, you physically have to go to /var/run and delete yum.pid
Folks, Fedora and many other distributions run the PackageManager automatically every time you boot. On Fedora, the PM uses yum.
Since I prefer to do my updates "by hand," I always change the PM setting to never run and never check for updates. If you haven't done this, try using the "Package Manager" application to install the new applications and manage your updates.
(My wife's system, on the other hand, uses the defaults with automatic update and installation so she never needs to "fiddle" with anything. She prefers a system that "just works" and lets her read her e-mail and visit a few Web sites. I only need to touch it every six months or so, when a new Fedora is released.)
As per #7, check that the yum.pid file has gone as well. If you killed the process, it may still be there.
I physically removed it from /var/run/yum.pid
Thanks a ton...It worked...!!! I have to do it manually :)!!!
Other folks(Senior members/guru),
Seriously appreciate your efforts to make all Linux user's lives easier!!! Thanks a lot!!!
|All times are GMT -5. The time now is 01:53 AM.|