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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-18-2008, 06:27 AM
|
#1
|
LQ Newbie
Registered: Sep 2008
Location: India
Posts: 9
Rep:
|
Yum Install doesn't work
Hi,
I wanted have mp3 support on linux.
When i try to do it is just hanging there, not doing anything.
Do i need to do any specific setup for yum to work ?
|
|
|
11-18-2008, 06:38 AM
|
#2
|
LQ Guru
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509
|
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?
|
|
|
11-18-2008, 06:40 AM
|
#3
|
LQ Newbie
Registered: Sep 2008
Location: India
Posts: 9
Original Poster
Rep:
|
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 06:42 AM.
|
|
|
11-18-2008, 06:52 AM
|
#4
|
LQ Newbie
Registered: Sep 2008
Location: India
Posts: 9
Original Poster
Rep:
|
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.
|
|
|
11-18-2008, 07:17 AM
|
#5
|
LQ Guru
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509
|
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
Moreover, is there any error message in the system logs? Check /var/log/yum.log, /var/log/messages or /var/log/secure.
|
|
|
11-18-2008, 08:14 AM
|
#6
|
Member
Registered: Jul 2006
Distribution: Debian, Ubuntu, openSUSE, CentOS
Posts: 147
Rep:
|
|
|
|
11-18-2008, 08:04 PM
|
#7
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,419
|
If you kill the process, I'd check that the lock file has been removed, else it won't work.
|
|
|
11-18-2008, 08:06 PM
|
#8
|
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep:
|
Quote:
Originally Posted by deepu_linux
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?
|
|
|
All times are GMT -5. The time now is 02:43 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|