Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 05-29-2007, 07:52 PM   #1
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.

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

Last edited by Virtuality; 05-29-2007 at 07:55 PM.
Old 05-30-2007, 08:27 AM   #2
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/ 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)


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

All times are GMT -5. The time now is 12:44 AM.

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