LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 02-20-2007, 08:26 AM   #1
Carunkumar
Member
 
Registered: Sep 2006
Location: chennai
Distribution: fedora core 8
Posts: 106

Rep: Reputation: 15
add/remove software problem-already process running


I installed fedora core 6 and selected both "gnome" and "kde" during installation. When i click "add/remove software ".I get the error message that another application is running which accessing software information. I logged out and tried again to find the same problem.

Then I tried the command

yum -y update yum

this was the output:

Loading "installonlyn" plugin
Existing lock /var/run/yum.pid: another copy is running. Aborting.

What might be the problem?

And how do I use my KDE environment? I have never tried it!


Thank you!
 
Old 02-20-2007, 09:52 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Existing lock /var/run/yum.pid: another copy is running. Aborting.
Do "cat /var/run/yum.pid". The number you see is the "process ID" of the Yum already running.
Do "pidof yum" to see if there's any instances running (say be the updater that's started on boot).
If it's not the updater, then do "kill -9 `cat /var/run/yum.pid` " to kill that one.
Mind you: you'll lose all fetching and updating in progress.
Now "rm -f /var/run/yum.pid" and you're all set.


And how do I use my KDE environment?
At the login "greeter" screen choose session > KDE.
 
Old 02-20-2007, 10:16 AM   #3
Carunkumar
Member
 
Registered: Sep 2006
Location: chennai
Distribution: fedora core 8
Posts: 106

Original Poster
Rep: Reputation: 15
Thank you. Should I repeat the procedure you told me every time i log in?

Thank you!
 
Old 02-20-2007, 11:25 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
No, only when you get those errors and only after you checked another instance of Yum (or equivalent) is running. If there's none running you can skipp all, delete the pidfile and continue.
 
Old 02-20-2007, 11:35 AM   #5
Carunkumar
Member
 
Registered: Sep 2006
Location: chennai
Distribution: fedora core 8
Posts: 106

Original Poster
Rep: Reputation: 15
okay.I didn't get the error in KDE session .

Thank you!
 
Old 02-20-2007, 12:09 PM   #6
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
You may also want to check if yum is running on start up (ntsysv). I disabled my yum so that it won't start up until I want it to.
 
Old 02-20-2007, 12:17 PM   #7
Carunkumar
Member
 
Registered: Sep 2006
Location: chennai
Distribution: fedora core 8
Posts: 106

Original Poster
Rep: Reputation: 15
how do I change the files that will start at start up?
 
Old 02-21-2007, 06:00 PM   #8
Glennzo
Member
 
Registered: May 2003
Location: Salem, Mass USA
Distribution: Fedora
Posts: 394

Rep: Reputation: 52
Quote:
Originally Posted by Carunkumar
I installed fedora core 6 and selected both "gnome" and "kde" during installation. When i click "add/remove software ".I get the error message that another application is running which accessing software information. I logged out and tried again to find the same problem.

Then I tried the command

yum -y update yum

this was the output:

Loading "installonlyn" plugin
Existing lock /var/run/yum.pid: another copy is running. Aborting.

What might be the problem?

And how do I use my KDE environment? I have never tried it!


Thank you!
It's just the package updater. If you wait 15 minutes or so it will be finished and you can do any installs you want.
 
Old 02-21-2007, 06:07 PM   #9
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
Quote:
Originally Posted by Carunkumar
how do I change the files that will start at start up?
as root type:

ntsysv

Everything with a * next to it will run on boot. To disable it, remove the * next to the service by tabbing to it and pressing the spacebar. Next time you boot, the service won't start.

If you want to update your Fedora 6; as root you run:

yum update

hope this helps

-custangro
 
Old 02-22-2007, 01:08 PM   #10
Carunkumar
Member
 
Registered: Sep 2006
Location: chennai
Distribution: fedora core 8
Posts: 106

Original Poster
Rep: Reputation: 15
Thank you!!

But when I used yum I get the following problem. It says segmentation fault:

Code:
[root@localhost neo]# yum update
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
livna                     100% |=========================| 1.1 kB    00:00
flash                     100% |=========================|  951 B    00:00
core                      100% |=========================| 1.1 kB    00:00
jpackage-fedora           100% |=========================|  951 B    00:00
updates                   100% |=========================| 1.2 kB    00:00
jpackage-generic          100% |=========================|  951 B    00:00
extras                    100% |=========================| 1.1 kB    00:00
Reading repository metadata in from local files
Segmentation fault
Some times it doesn't even show us the 'segmentation fault'

Please help
 
Old 02-22-2007, 01:11 PM   #11
Carunkumar
Member
 
Registered: Sep 2006
Location: chennai
Distribution: fedora core 8
Posts: 106

Original Poster
Rep: Reputation: 15
@custangro

I get the following problem:

Code:
[root@localhost neo]# ntsysv
bash: ntsysv: command not found
[root@localhost neo]#
Thank you!
 
Old 02-22-2007, 04:19 PM   #12
Glennzo
Member
 
Registered: May 2003
Location: Salem, Mass USA
Distribution: Fedora
Posts: 394

Rep: Reputation: 52
Quote:
Originally Posted by Carunkumar
@custangro

I get the following problem:

Code:
[root@localhost neo]# ntsysv
bash: ntsysv: command not found
[root@localhost neo]#
Thank you!
Carunkumar, just for kicks try, as root, /usr/sbin/ntsysv.
Here's the output of locate ntsysv on my system:

[root@localhost ~]# locate ntsysv
/etc/setuptool.d/99ntsysv
/usr/sbin/ntsysv
/usr/share/man/man8/ntsysv.8.gz
 
Old 02-23-2007, 10:04 PM   #13
Carunkumar
Member
 
Registered: Sep 2006
Location: chennai
Distribution: fedora core 8
Posts: 106

Original Poster
Rep: Reputation: 15
mine was:

Code:
/etc/setuptool.d/99ntsysv
/usr/sbin/ntsysv
/usr/share/man/man8/ntsysv.8.gz
Thanks. I have removed yum from start up
 
Old 03-05-2007, 11:35 PM   #14
NATARAJMIT
LQ Newbie
 
Registered: Mar 2007
Posts: 1

Rep: Reputation: 0
Thanks

thanks a lot...

I am a beginner to FC6 and had exactly the same problem....with the KDE.

NATARAJ
 
Old 03-06-2007, 06:49 AM   #15
a_c_g_t
Member
 
Registered: Apr 2006
Posts: 68

Rep: Reputation: 15
Yepp I had the same on a new install.
I tried to install something stright after the install and it said another application had it so I waited untill a little icon popped up say there are 280 updates. I updated the system in batches of 70ish and now although it still goes looking it's only a min before I can use the yum installer.

I will have a go at removing yum or jobbing it so it starts at 3am in the morning.
I wish I knew about this thread on Saturday!!!
 
  


Reply



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
Add/remove software DanielTan Linux - General 6 01-29-2007 09:02 AM
Add/Remove Software List (GUI) Cabeza de Huevo Linux - Software 3 12-25-2006 11:00 PM
remove/add drive while iostat is running kaz2100 Linux - Software 0 11-07-2006 06:18 PM
Add/remove software error 24giovanni Linux - General 2 10-24-2006 05:52 PM
add/remove software problem in fedora art.love Linux - Software 6 05-12-2006 12:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 03:19 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
Open Source Consulting | Domain Registration