LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-30-2012, 01:48 PM   #1
pradeep 1991
LQ Newbie
 
Registered: Oct 2012
Posts: 5

Rep: Reputation: Disabled
how to release yum from any process


i installed fedora 16 and started to compile a c program but gcc was not installed ,so i tried these commands
1)su <password>
2)yum install gcc

the output was
ANOTHER APP IS CURRENTLY HOLDING THE YUM LOCK;WAITING FOR IT TO EXIT
PID:1973

i tried to kill this process but could not meet with success.please help me.
 
Old 10-30-2012, 07:35 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,933

Rep: Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692
Quote:
Originally Posted by pradeep 1991 View Post
i installed fedora 16 and started to compile a c program but gcc was not installed ,so i tried these commands
1)su <password>
2)yum install gcc

the output was
ANOTHER APP IS CURRENTLY HOLDING THE YUM LOCK;WAITING FOR IT TO EXIT
PID:1973

i tried to kill this process but could not meet with success.please help me.
It is probably just the automatic update...if you just wait, it'll complete and exit. And just saying "could not meet with success", tells us nothing. And did you try to kill the PID with a "sudo kill -9 <PID>", or just type in "kill <PID>"
 
Old 10-30-2012, 10:14 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,822

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
that is auto update

and if you JUST installed the older fedora 16 ( fedora 17 is current)
then auto update will want to install ?? about?? 3 gigs of updates
-- be warned support for 16 ENDS this January --

so
the default of looking for updates at boot
WILL take a bit of time

boot up
wait about 15 min. to 30 min.
run ( DO NOT forget the "blank space" then the DASH )
Code:
su - 
yum update
say yes ,and wait
depending on just HOW much is about to be installed and your connection
wait 2 hours
or 12 hours for the update to finish
then reboot

then for gcc you will want the "Development group "
Code:
su -
yum grouplist
---------- from that list install ---------
yum groupinstall "Development Tools" "Development Libraries"
you might need others depending on just what you are doing

Last edited by John VV; 10-30-2012 at 10:15 PM.
 
1 members found this post helpful.
  


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
GCC release process qwerty4061 Linux - Newbie 5 12-03-2011 08:30 PM
Does the termination of a process release file and other resources. clivebluston Linux - Newbie 3 04-15-2011 07:13 AM
Will Yum Upgrade My Release carlosinfl Red Hat 3 08-13-2010 08:12 AM
CentOS release 4.8 yum update query snoozin Linux - Newbie 2 03-23-2010 08:20 PM
With yum, does it matter which release you start with? ericcarlson Fedora 1 05-27-2004 03:39 PM


All times are GMT -5. The time now is 06:36 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration