LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Yum Install doesn't work (https://www.linuxquestions.org/questions/linux-software-2/yum-install-doesn%27t-work-684287/)

deepu_linux 11-18-2008 05:27 AM

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 ?

colucix 11-18-2008 05:38 AM

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?

deepu_linux 11-18-2008 05:40 AM

FC8.

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

I have an internet connection available.

deepu_linux 11-18-2008 05:52 AM

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.

colucix 11-18-2008 06:17 AM

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.

rizwanrafique 11-18-2008 07:14 AM

Code:

yum makecache
should do it.

chrism01 11-18-2008 07:04 PM

If you kill the process, I'd check that the lock file has been removed, else it won't work.

billymayday 11-18-2008 07:06 PM

Quote:

Originally Posted by deepu_linux (Post 3346153)
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 07:38 AM.