LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 04-09-2004, 09:33 AM   #1
pisaac
LQ Newbie
 
Registered: Apr 2004
Distribution: Red Hat 9
Posts: 5

Rep: Reputation: 0
Angry I can't run applications that have been installed from rpm files


Hi, I'm new to linux and have just installed Red Hat 9. I want to be able to watch mpgs and have tried to installed the latest copy of Xine. I downloaded the latest version of Xine as an RPM file to /home/rob and tried to install it through terminal:

[rob@local rob]$ su root
Password:
[root@local rob]# dir
1.mpg Hectosoft xine-0.9.22-1.fr.src.rpm
[root@local rob]# rpm -U xine-0.9.22-1.fr.src.rpm
warning: xine-0.9.22-1.fr.src.rpm: V3 DSA signature: NOKEY, key ID e42d547b
error: cannot create %sourcedir /usr/src/redhat/SOURCES
[root@local rob]#
[root@local rob]#
[root@local rob]#

Has the application installed?, if so where to?, if not how do I go about installing it properly. Thanks in advance for your help.
 
Old 04-09-2004, 09:58 AM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
The source rpm (.src.rpm) is not the install rpm. This file is used to create an rpm for your system. Just go back to your download site and grab an rpm that doesn't end in .src.rpm.
 
Old 04-09-2004, 10:24 AM   #3
pisaac
LQ Newbie
 
Registered: Apr 2004
Distribution: Red Hat 9
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks for the quick response, I've done that and now the following show in terminal:

[root@cpc3-nott3-3-0-cust241 dist]# cd /home/rob/
[root@cpc3-nott3-3-0-cust241 rob]# ls
1.mpg Hectosoft xine-0.9.22-1.fr.i386.rpm
[root@cpc3-nott3-3-0-cust241 rob]# rpm -U xine-0.9.22-1.fr.i386.rpm
warning: xine-0.9.22-1.fr.i386.rpm: V3 DSA signature: NOKEY, key ID e42d547b
error: Failed dependencies:
libaa.so.1 is needed by xine-0.9.22-1.fr
libxine.so.1 is needed by xine-0.9.22-1.fr
xine-lib >= 1.0.0 is needed by xine-0.9.22-1.fr
[root@cpc3-nott3-3-0-cust241 rob]#
[root@cpc3-nott3-3-0-cust241 rob]#

Has the application installed now?, if so what do I have to do to run it? Cheers,
 
Old 04-09-2004, 10:39 AM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
No, it hasn't installed. The failed dependencies means that some programs the xine program relies on aren't there or need updating.

You now need to install or upgrade libaa.so.1, libxine.so.1 and xine-lib. Welcome to dependency hell.

Do a search for apt4rpm - this program, once installed, will download and install your programs and sort out dependencies.
 
Old 04-09-2004, 11:06 AM   #5
pisaac
LQ Newbie
 
Registered: Apr 2004
Distribution: Red Hat 9
Posts: 5

Original Poster
Rep: Reputation: 0
Hi, I tried to install apt4rpm see below - more dependency problems, Is that an easier way to install a video player?, I can't find librpm.so.0 anywhere...

[root@cpc3-nott3-3-0-cust241 rob]# ls
1.mpg apt4rpm-0.67-0.noarch.rpm Hectosoft xine-0.9.22-1.fr.i386.rpm
[root@cpc3-nott3-3-0-cust241 rob]# rpm -U apt4rpm-0.67-0.noarch.rpm
error: Failed dependencies:
perl-XML-LibXML is needed by apt4rpm-0.67-0
apt-server is needed by apt4rpm-0.67-0
[root@cpc3-nott3-3-0-cust241 rob]# ls
1.mpg Hectosoft
apt-0.5.4cnc9-1cl.i386.rpm xine-0.9.22-1.fr.i386.rpm
apt4rpm-0.67-0.noarch.rpm
[root@cpc3-nott3-3-0-cust241 rob]# rpm -U apt-0.5.4cnc9-1cl.i386.rpm
warning: apt-0.5.4cnc9-1cl.i386.rpm: V3 DSA signature: NOKEY, key ID 92a38df6
error: Failed dependencies:
librpm.so.0 is needed by apt-0.5.4cnc9-1cl
[root@cpc3-nott3-3-0-cust241 rob]#
[root@cpc3-nott3-3-0-cust241 rob]#
 
Old 04-09-2004, 11:25 AM   #6
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
2 things - first you are using the wrong switches: -U is to upgrade, -e is to remove and -i is to install.

As far as apt4rpm goes, you need to install both packages at the same time:
rpm -ivh apt4rpm-0.67-0.noarch.rpm apt-0.5.4cnc9-1c1.i386.rpm (or whatever the packages are called)

Basically, one needs the other and vice versa.
 
Old 04-09-2004, 11:59 AM   #7
pisaac
LQ Newbie
 
Registered: Apr 2004
Distribution: Red Hat 9
Posts: 5

Original Poster
Rep: Reputation: 0
Cheers, tried that and got the message below. I'm running Red Hat 9, under the default desktop environment, Is there an easier way to install a video player? if not does anyone know where I can get librpm.so.0.

[root@cpc3-nott3-3-0-cust241 rob]# ls
1.mpg Hectosoft
apt-0.5.4cnc9-1cl.i386.rpm xine-0.9.22-1.fr.i386.rpm
apt4rpm-0.67-0.noarch.rpm
[root@cpc3-nott3-3-0-cust241 rob]# rpm -ivh apt4rpm-0.67-0.noarch.rpm apt-0.5.4cnc9-1cl.i386.rpm
warning: apt-0.5.4cnc9-1cl.i386.rpm: V3 DSA signature: NOKEY, key ID 92a38df6
error: Failed dependencies:
perl-XML-LibXML is needed by apt4rpm-0.67-0
apt-server is needed by apt4rpm-0.67-0
librpm.so.0 is needed by apt-0.5.4cnc9-1cl
[root@cpc3-nott3-3-0-cust241 rob]#
[root@cpc3-nott3-3-0-cust241 rob]#
 
Old 04-09-2004, 12:03 PM   #8
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
wow - true dependency hell.

You need to find, download and install the following: perl-XML-LibXML, apt-server, librpm.so.0.

Go to www.rpmfind.net to get them, they may come as part of other programs.
 
Old 04-10-2004, 03:19 AM   #9
pisaac
LQ Newbie
 
Registered: Apr 2004
Distribution: Red Hat 9
Posts: 5

Original Poster
Rep: Reputation: 0
I've given up another 7 dependencies for perl-XML-LibXML and 2 from librpm.so.0. I'm going to re-install Red Hat 9 with all available packages. What is the easiest video player to install on Red Hat 9?
 
Old 04-11-2004, 10:42 AM   #10
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084

Rep: Reputation: 54
Exclamation

There is no dependency hell unless you create one yourself. Don't download arbitrary packages from arbitrary sites on the Internet.

apt4rpm is not a package tool, but APT-RPM is. It's also known as just "apt" and contains the apt-get utility, for instance.

The easiest way to install add-on packages is to install yum (or apt) for Red Hat Linux 9 as explained here: http://www.fedora.us/wiki/FedoraHOWTO -- The URL reads Fedora, but it is an add-ons site for Red Hat Linux and Fedora Core. When you've installed that, you would just need to add another add-ons packages repository, such as explained at http://rpm.livna.org to get access to additional multimedia software for Red Hat Linux. The package utility solves dependencies for you: "yum install xine" and you would be done.
 
  


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
how to run an installed RPM? purefan Linux - Software 6 02-25-2005 06:23 PM
how do I run a newly installed rpm package trempel Linux - Newbie 4 01-26-2005 11:36 PM
finding installed rpm files phoenix_wolf Linux - Newbie 7 12-02-2004 02:23 AM
where the applications locate installed in rpm way? cnwillow Linux - Newbie 1 11-18-2003 02:46 AM
Installed RPM/tar file, cant find out how to run it Craneology Linux - Software 4 03-01-2003 08:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

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