LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 10-14-2009, 08:02 AM   #1
srinu.reddy.linux007
LQ Newbie
 
Registered: Oct 2009
Posts: 3

Rep: Reputation: 0
failed dependency error while installing xmms and winamp in rhel5


while i am trying to istall xmms and winamp in rhel5.0 . i am getting the below error message please help me to solve the errors . i am very new to Linux .



[root@localhost pen]# rpm -ivh xmms-1.2.11-37.el5.i386.rpm
warning: xmms-1.2.11-37.el5.i386.rpm: Header V4 DSA signature: NOKEY, key ID 66534c2b
error: Failed dependencies:
libgdk-1.2.so.0 is needed by xmms-1.2.11-37.el5.i386
libglib-1.2.so.0 is needed by xmms-1.2.11-37.el5.i386
libgmodule-1.2.so.0 is needed by xmms-1.2.11-37.el5.i386
libgthread-1.2.so.0 is needed by xmms-1.2.11-37.el5.i386
libgtk-1.2.so.0 is needed by xmms-1.2.11-37.el5.i386
libxmms.so.1 is needed by xmms-1.2.11-37.el5.i386
.................................................................................................... ...............
[root@localhost pen]# rpm -ivh Winamp-0.a1-1.i386.rpm
error: Failed dependencies:
gtk+ is needed by Winamp-0.a1-1.i386
XFree86-libs is needed by Winamp-0.a1-1.i386
libgdk-1.2.so.0 is needed by Winamp-0.a1-1.i386
libglib-1.2.so.0 is needed by Winamp-0.a1-1.i386
libgmodule-1.2.so.0 is needed by Winamp-0.a1-1.i386
libgtk-1.2.so.0 is needed by Winamp-0.a1-1.i386
libpng.so.2 is needed by Winamp-0.a1-1.i386
 
Old 10-14-2009, 08:07 AM   #2
avijitp
Member
 
Registered: May 2005
Location: India
Distribution: FC11, Debian/Ubuntu, RHEL, Solaris, AIX, HP-UX
Posts: 161

Rep: Reputation: 32
You need to install other dependent packages to install these two packages installed. If you have yum installed already, then you can install a free repository and then you can install either of these through it as yum is capable of resolving all its dependencies.
 
Old 10-14-2009, 02:50 PM   #3
doublejoon
Member
 
Registered: Oct 2003
Location: King George, VA
Distribution: RHEL/CentOS/Scientific/Fedora, LinuxMint
Posts: 370

Rep: Reputation: 44
Try
Code:
yum localinstall xmms-1.2.11-37.el5.i386.rpm
Code:
yum localinstall Winamp-0.a1-1.i386.rpm
 
Old 10-14-2009, 09:56 PM   #4
avijitp
Member
 
Registered: May 2005
Location: India
Distribution: FC11, Debian/Ubuntu, RHEL, Solaris, AIX, HP-UX
Posts: 161

Rep: Reputation: 32
Even local install is going to ask for other dependent packages to be there.

if you are using RHEL 5, Try:

Code:
rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
yum install xmms xmms-mp3 xmms-faad2 xmms-pulse xmms-skins
yum install mplayer mplayer-gui gecko-mediaplayer mencoder
I hope these serves your purpose.
 
Old 10-15-2009, 08:09 AM   #5
srinu.reddy.linux007
LQ Newbie
 
Registered: Oct 2009
Posts: 3

Original Poster
Rep: Reputation: 0
yum means

yum means. what it is useful for
 
Old 10-15-2009, 10:14 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by srinu.reddy.linux007 View Post
yum means. what it is useful for
That's the package installer...read the man page for it.
 
Old 10-16-2009, 02:37 AM   #7
srinu.reddy.linux007
LQ Newbie
 
Registered: Oct 2009
Posts: 3

Original Poster
Rep: Reputation: 0
this is the another error i got how i will solve it. please help to solve it with clear explination to me

[root@localhost pen]# yum localinstall xmms-1.2.11-37.el5.i386.rpm
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Setting up Local Package Process
Examining xmms-1.2.11-37.el5.i386.rpm: 1:xmms-1.2.11-37.el5.i386
Marking xmms-1.2.11-37.el5.i386.rpm to be installed
Could not retrieve mirrorlist http://apt.sw.be/redhat/el5/en/mirrors-rpmforge error was
[Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rpmforge. Please verify its path and try again
################################################################
[root@localhost pen]# yum localinstall Winamp-0.a1-1.i386.rpm
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Setting up Local Package Process
Examining Winamp-0.a1-1.i386.rpm: Winamp-0.a1-1.i386
Marking Winamp-0.a1-1.i386.rpm to be installed
Could not retrieve mirrorlist http://apt.sw.be/redhat/el5/en/mirrors-rpmforge error was
[Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rpmforge. Please verify its path and try again

Last edited by srinu.reddy.linux007; 10-16-2009 at 02:42 AM.
 
Old 10-16-2009, 03:40 AM   #8
avijitp
Member
 
Registered: May 2005
Location: India
Distribution: FC11, Debian/Ubuntu, RHEL, Solaris, AIX, HP-UX
Posts: 161

Rep: Reputation: 32
localinstall installs from local rpm files. Why dont you just try installing from the repository directly.

Just type following and see how it goes.

[code]
yum install xmms
[code]

Did you try the one that I have given earlier?
 
Old 10-16-2009, 04:17 AM   #9
phani.junk1
LQ Newbie
 
Registered: Oct 2009
Posts: 10

Rep: Reputation: 1
Quote:
Originally Posted by srinu.reddy.linux007 View Post
while i am trying to istall xmms and winamp in rhel5.0 . i am getting the below error message please help me to solve the errors . i am very new to Linux .



[root@localhost pen]# rpm -ivh xmms-1.2.11-37.el5.i386.rpm
warning: xmms-1.2.11-37.el5.i386.rpm: Header V4 DSA signature: NOKEY, key ID 66534c2b
error: Failed dependencies:
libgdk-1.2.so.0 is needed by xmms-1.2.11-37.el5.i386
libglib-1.2.so.0 is needed by xmms-1.2.11-37.el5.i386
libgmodule-1.2.so.0 is needed by xmms-1.2.11-37.el5.i386
libgthread-1.2.so.0 is needed by xmms-1.2.11-37.el5.i386
libgtk-1.2.so.0 is needed by xmms-1.2.11-37.el5.i386
libxmms.so.1 is needed by xmms-1.2.11-37.el5.i386
.................................................................................................... ...............
[root@localhost pen]# rpm -ivh Winamp-0.a1-1.i386.rpm
error: Failed dependencies:
gtk+ is needed by Winamp-0.a1-1.i386
XFree86-libs is needed by Winamp-0.a1-1.i386
libgdk-1.2.so.0 is needed by Winamp-0.a1-1.i386
libglib-1.2.so.0 is needed by Winamp-0.a1-1.i386
libgmodule-1.2.so.0 is needed by Winamp-0.a1-1.i386
libgtk-1.2.so.0 is needed by Winamp-0.a1-1.i386
libpng.so.2 is needed by Winamp-0.a1-1.i386


_________________________________________________________________
__________________________________________________________________

HI

i think first u need to have yum installed for which u need to create a repo server as below

* mount /dev/dvd /mnt
* cd /mnt/Server -------- Go to Server directory and install vsftpd package
* rpm -ivh vsftpd* createrepo*
* rsync -avz /mnt/* /var/ftp/pub
then check the contents in pub and unmount /mnt
* umount /mnt
-- then create repo of /var/ftp/pub
* createrepo -v /var/ftp/pub
* service vsftpd restart
* chkconfig vsftpd on

This we have created a repository server after which for configuring yourself to configure the rpm files go to
* vim /etc/yum.repos.d/rhel-debuginfo.repo --- in which change base url as
ftp://ur ip address/pub
enabled=1
then save and exit
after which type * yum clean all
* yum list ------------ to show the list


this is the way i did to configure my yum from a dvd

after which install the packages with dependencies

* yum install -y http* ------( here instead of http use ur pacakage to be installed with dependencies)

Last edited by phani.junk1; 10-16-2009 at 04:20 AM. Reason: extra data
 
  


Reply

Tags
yum



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
"Failed Dependency error" while installing RPM for "DateTime" perl modules giridhargopal.cj Linux - Newbie 7 11-19-2008 12:05 AM
ERROR: Dependency resolution failed tronica SUSE / openSUSE 5 06-27-2006 09:52 PM
Failed Dependency installing mdadm blackdragonblood Linux - Software 3 02-03-2006 07:22 PM
Failed Dependency: Error during Compilation Lawrentium Linux - Software 3 10-27-2005 09:58 AM
WinAmp port and dependency error??? dummy.1 Linux - Newbie 2 07-20-2004 10:25 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 04:48 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