LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 05-29-2007, 06:52 PM   #1
Virtuality
Member
 
Registered: Jan 2007
Distribution: Debian Etch
Posts: 193

Rep: Reputation: 30
Keeps telling me YUM is running and aborts


Where's the delete button on this forum??? Anyway I figured it out.
-----------
I guess it's still active in the processes... I tried 'kill yum' and it says it needs an ID.

Quote:
[root@localhost ~]# yum install gcc
Loading "installonlyn" plugin
Existing lock /var/run/yum.pid: another copy is running. Aborting.
Quote:
[root@localhost ~]# kill yum
bash: kill: yum: arguments must be process or job IDs

Last edited by Virtuality; 05-29-2007 at 06:55 PM.
 
Old 05-30-2007, 07:27 AM   #2
this213
Member
 
Registered: Dec 2001
Location: ./
Distribution: Fedora, CentOS, RHEL, Gentoo
Posts: 167

Rep: Reputation: 34
So that everyone else knows: Many distros start a package update check when you log in, though the icon doesn't appear until just before the notification that say "so many packages are available for update...". While this is running, it's using yum and creates a lock file (usually at /var/run.yum.pid). Removing this file will allow you to use yum from the command line, though that's somewhat unsafe (in case you decide to hit the update dialog and start 2 concurrent updates).

To stop this from running automatically every time you log in (under Gnome anyway), System > Preferences > More > Sessions > Startup Programs and uncheck or disable it from there.

Also, to kill a process by name, you use "killall" as "kill" is used for process IDs (ps -A | grep puplet)
 
  


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 updater running slow sparckis Linux - Newbie 2 01-22-2007 08:43 PM
Running yum nightly sharptech Fedora 4 12-22-2006 06:33 AM
error running yum on fc4 Baracuda Linux - Newbie 2 07-04-2006 11:08 AM
Running Yum update problem satimis Fedora 9 06-09-2006 08:46 AM
After running YUM system doesn't boot brainpk Fedora 4 12-10-2005 10:49 PM


All times are GMT -5. The time now is 11:38 AM.

Main Menu
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