LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 11-18-2008, 05:27 AM   #1
deepu_linux
LQ Newbie
 
Registered: Sep 2008
Location: India
Posts: 9

Rep: Reputation: 0
Yum Install doesn't work


Hi,
I wanted have mp3 support on linux.

When i try to do
Quote:
yum install xmms-mp3
it is just hanging there, not doing anything.


Do i need to do any specific setup for yum to work ?
 
Old 11-18-2008, 05:38 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
No, it should work out of the box if you have an available internet connection. You have simply to set some additional repository (especially to download third party software as for mp3 support) that is you have to tell yum where to look for packages. Which linux distribution are you running on?
 
Old 11-18-2008, 05:40 AM   #3
deepu_linux
LQ Newbie
 
Registered: Sep 2008
Location: India
Posts: 9

Original Poster
Rep: Reputation: 0
FC8.

Where should I specify the URL ? and how to get that ?

I have an internet connection available.

Last edited by deepu_linux; 11-18-2008 at 05:42 AM.
 
Old 11-18-2008, 05:52 AM   #4
deepu_linux
LQ Newbie
 
Registered: Sep 2008
Location: India
Posts: 9

Original Poster
Rep: Reputation: 0
When i try to perform any yum operation it gives me a message like this.
Code:
Existing lock /var/run/yum.pid: another copy is running as pid 5331.
Another app is currently holding the yum lock; waiting for it to exit...
Later if i kill the procces(5331- This number can be any) and try to perform any yum command it hangs.
 
Old 11-18-2008, 06:17 AM   #5
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
All the repository configuration files are in /etc/yum.repos.d. Some of them (the official fedora repositories) should have been enabled during the fedora installation. Others can be added following instructions on the fedora wiki or on the repository web site. For example, the xmms-mp3 package for Fedora 8 is provided by freshrpms. You may want to enable this repository by following instructions on the main page.

Regarding your issue, the "Existing lock /var/run/yum.pid" means that another yum session is running, maybe that launched by the auto-updater. This is not a problem, just wait or kill (as you've already done).

It is difficult to understand why yum hangs if it does not spit out any message. What about running with the -v (verbose) option? For example
Code:
yum -v list bash
Moreover, is there any error message in the system logs? Check /var/log/yum.log, /var/log/messages or /var/log/secure.
 
Old 11-18-2008, 07:14 AM   #6
rizwanrafique
Member
 
Registered: Jul 2006
Distribution: Debian, Ubuntu, openSUSE, CentOS
Posts: 147

Rep: Reputation: 19
Code:
yum makecache
should do it.
 
Old 11-18-2008, 07:04 PM   #7
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
If you kill the process, I'd check that the lock file has been removed, else it won't work.
 
Old 11-18-2008, 07:06 PM   #8
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Quote:
Originally Posted by deepu_linux View Post
When i try to perform any yum operation it gives me a message like this.
Code:
Existing lock /var/run/yum.pid: another copy is running as pid 5331.
Another app is currently holding the yum lock; waiting for it to exit...
Later if i kill the procces(5331- This number can be any) and try to perform any yum command it hangs.
This is probably automatic updates or similar running in the background. Does that sound feasible?
 
  


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
yum install for gcc-c++ doesn't work aagha Fedora 6 10-14-2010 08:46 AM
Pirut, Yumex, yum -install doesnt work in FC5 kvsaputra Fedora 4 10-18-2006 06:55 AM
Query re: order of yum update and yum install jajtiii Linux - General 0 12-12-2005 12:48 PM
Yum doesn't work, please help seow_ming Linux - Software 3 07-02-2005 03:28 AM
Minimal install of FC3: cannot get wget and yum update to work. gregf50 Linux - Newbie 5 03-16-2005 09:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:11 PM.

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