LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 12-13-2003, 10:39 PM   #1
ServalSoft
Member
 
Registered: Nov 2003
Distribution: mandriva pwp 2010
Posts: 74

Rep: Reputation: 15
"yum" bad lock error


Hiya, every time I try to run "yum" on my pc ie "yum install ogle" i get the following error: Existing lock /var/run/yum.pid: another copy is running. Aborting.

And im not sure on how to sort it out, has any one got any idea on how to do this?? any help will be appreaciated. I know i can use apt-get to achieve similar things, but I want to try and compare them myself... Thanks
 
Old 12-14-2003, 09:41 AM   #2
ugob
Member
 
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436

Rep: Reputation: 31
show us the output of

ps -aux | grep yum

or just

ps -aux

(as root)
 
Old 12-14-2003, 01:39 PM   #3
ServalSoft
Member
 
Registered: Nov 2003
Distribution: mandriva pwp 2010
Posts: 74

Original Poster
Rep: Reputation: 15
This is the output of the 1st command coz the 2nd one gives a very long one...
[root@localhost yanick]# ps -aux | grep yum
root 4158 0.0 0.0 3576 632 pts/0 S 18:33 0:00 grep yum

I hope this will help... thanks.
 
Old 02-08-2004, 04:44 PM   #4
Blackrose1
Member
 
Registered: Oct 2003
Location: jacksonville, fl
Distribution: rh8
Posts: 33

Rep: Reputation: 15
another yum lock question!

I'm trying to upgrade my rh8 install by using "yum" and I'm getting this error message
"Existing lock /var/run/yum.pid. Aborting"
I ran "ps- aux |grep yum " and got this output
root 1628 0.0 0.3 3204 616 pts/0 S 16;37 0:00 grep yum"
still clueless and yum still isn't working
 
Old 02-08-2004, 04:47 PM   #5
ugob
Member
 
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436

Rep: Reputation: 31
have you tried removing the lock file (yum.pid)?
 
Old 02-08-2004, 11:05 PM   #6
Blackrose1
Member
 
Registered: Oct 2003
Location: jacksonville, fl
Distribution: rh8
Posts: 33

Rep: Reputation: 15
yum lock error

the thought had crossed my mind, but I don't know how. any suggestions on how this could be acomplished would be welcome.
 
Old 02-08-2004, 11:12 PM   #7
ugob
Member
 
Registered: Nov 2003
Distribution: RH, Fedora, Debian, Knoppix
Posts: 436

Rep: Reputation: 31
rm -f /var/run/yum.pid
 
Old 02-09-2004, 04:28 PM   #8
Blackrose1
Member
 
Registered: Oct 2003
Location: jacksonville, fl
Distribution: rh8
Posts: 33

Rep: Reputation: 15
from one error to another

anyhow, thanks ugob for the tip. Now I'm getting this error message when I try to update my install of rh8
"error md5 Signature Check failed for /var/cache/yum/updates/packages/samba-common-2.2.7-5.8.0.i386.rpm. " Yum then suggests that I run Yum clean or remove the file, and I do both, and when I try to upgrade again... I run in to the same error, it's a vicious cycle, any ideas?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
yum and update mamager "error in transaction" Monjawi Linux - Newbie 5 09-09-2005 02:23 PM
KDE "Logout" and "Lock Session" menu restoration powah Linux - Software 3 03-29-2005 09:02 PM
KDE "Lock Session" and "Logout" menu restoration tcma Linux - Software 0 01-29-2005 12:12 PM
problem with "rpm -bb" , 1 out of 1 hunk ignored ...error: Bad exit status from /v wohaolouis Linux - Software 0 03-07-2004 08:12 AM
sshd error " bad owner or mode for /var/empty" piraxter Slackware 1 09-10-2003 12:57 AM


All times are GMT -5. The time now is 02:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration