LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 06-04-2004, 10:53 AM   #1
axess_denied
Member
 
Registered: Jun 2004
Location: DC Metro Area
Distribution: Ubuntu 8.10
Posts: 35

Rep: Reputation: 15
Question FC2 Having problems with installs


I am having a lot of trouble trying to get mplayer and all of its codecs to install. Using rpm, I keep getting this:

error: open of mplayer-common-1.Opre4-3.i386.rpm failed: No such file or directory

I don't understand this, I have these files in .rpm and .tar.bz2 just as the instructions say. Still, I get nothing. I also tried to install an MP3 fix for xmms, but I don't know where the heck xmms is. This is only my second day using Linux... ever, I am trying to get all the info from these msg boards I can to help. Anything is appreciated.
 
Old 06-04-2004, 11:42 AM   #2
axess_denied
Member
 
Registered: Jun 2004
Location: DC Metro Area
Distribution: Ubuntu 8.10
Posts: 35

Original Poster
Rep: Reputation: 15
Note, this problem is with ALL RPM installs

I can't get a single rpm to install. I am given the msg that file or directory does not exist
 
Old 06-04-2004, 11:44 AM   #3
GufyMike
Member
 
Registered: Apr 2004
Location: Los(t) Angeles
Distribution: Fedora Core2, RH9, FreeBSD, Debian, Knoppix,
Posts: 53

Rep: Reputation: 15
What options are you using with rpm?
 
Old 06-04-2004, 12:30 PM   #4
axess_denied
Member
 
Registered: Jun 2004
Location: DC Metro Area
Distribution: Ubuntu 8.10
Posts: 35

Original Poster
Rep: Reputation: 15
I am not sure how to config rpm
So, I dunno?
 
Old 06-04-2004, 12:45 PM   #5
GufyMike
Member
 
Registered: Apr 2004
Location: Los(t) Angeles
Distribution: Fedora Core2, RH9, FreeBSD, Debian, Knoppix,
Posts: 53

Rep: Reputation: 15
K RPM is acctually quite simple. ALot of options but simple to use to install.

Code:
rpm -Uvh <package>
That will install an RPM. IF you need to import a gpg key rpm --import <gpgkey.txt> will do that for you.

RPM is so cool that you don't even need the package to be installed local for it to work. By placing a FULL URL to the package in the package variable rpm will download and install that package for you. More typing but unless the URL is bad it will find the RPM. Alternatively you can use yum. One problem with RPM is that it won't resolve and download and install dependencies for you.

yum will do that for you.

yum -y package will download and install the package and resolve the dependencies for you automatically if they are available in your repository list. your repostiroy list is located in /etc/yum.conf . you can add more if you so choose. I have placed a few listings around this forum for Fedora specific Repostories that I use.

You can add these to it as is at the bottom of your yum.conf:

Code:
[livna-stable]
name=Livna.org Fedora Compatible Packages (stable)
baseurl=http://rpm.livna.org/fedora/$releasever/$basearch/yum/stable
gpgcheck=1

[FedoraUS]
name=Fedora US $releasever - $basearch - Latest Packages
baseurl=http://download.fedora.us/fedora/fedora/2/i386/SRPMS.os/

[newrpms.sunsite.dk]
name=Fedora Core 2 NewRPMS.sunsite.dk
baseurl=http://newrpms.sunsite.dk/apt/redhat/en/i386/fc2

[dag]
name=Dag RPM Repository for Fedora Core 2
baseurl=http://apt.sw.be/fedora/$releasever/en/$basearch/dag

[dries]
name=Extra Fedora rpms dries - $releasever - $basearch
baseurl=http://dries.studentenweb.org/yum/fedora/linux/$releasever/$basearch/dries
after tha just run yum -y check-update to update your headers for yum and then yum -y install <package name>

-y tells yum to say yes to all questions.

example yum -y install mplayer will download and install mplayer for you if its available in your list of repositories.

yum -y update will update your installed applications and distro for you also.
 
Old 06-04-2004, 01:06 PM   #6
axess_denied
Member
 
Registered: Jun 2004
Location: DC Metro Area
Distribution: Ubuntu 8.10
Posts: 35

Original Poster
Rep: Reputation: 15
Using:
rpm -Uvh <package> format but getting the response
error: open of <package> failed: No such File or Directory
 
Old 06-04-2004, 01:12 PM   #7
GufyMike
Member
 
Registered: Apr 2004
Location: Los(t) Angeles
Distribution: Fedora Core2, RH9, FreeBSD, Debian, Knoppix,
Posts: 53

Rep: Reputation: 15
Try using the Full URL to the package. i.e.
 
Old 06-04-2004, 01:14 PM   #8
axess_denied
Member
 
Registered: Jun 2004
Location: DC Metro Area
Distribution: Ubuntu 8.10
Posts: 35

Original Poster
Rep: Reputation: 15
My friend has been trying to help me and says I am not giving enough information so here it is:
I am trying to install mplayer and xmms and whatever else is out there... But the problem is I am following all of the online how to's and when I use the rpm method

[root@localhost useracct]# rpm -Uhv <package>

I get the response that
error: open of <package> failed: No such File or Directory

I have dl'd all of the files that I should need, saved them to my user acct desktop and cannot get them to work. Shoud these files be saved somewhere else? If anyone can help, I would be much appreciative. Also, tried to bzip2 .... Same response
 
Old 06-04-2004, 01:22 PM   #9
GufyMike
Member
 
Registered: Apr 2004
Location: Los(t) Angeles
Distribution: Fedora Core2, RH9, FreeBSD, Debian, Knoppix,
Posts: 53

Rep: Reputation: 15
Might be a typo. Thats the only time I see that error. As long as you are using rpm in the same dir as the rpms and the pakcage name is correct you are good to go. Now If its not that then I'm done with suggestions.
 
Old 06-04-2004, 01:27 PM   #10
axess_denied
Member
 
Registered: Jun 2004
Location: DC Metro Area
Distribution: Ubuntu 8.10
Posts: 35

Original Poster
Rep: Reputation: 15
Just tried the suggestion to get from the ftp server, that worked rpm -Uhv <Url>
But one of them told me that it can't resolve dependencies? How do I get yum to do thta?
 
Old 06-04-2004, 01:58 PM   #11
GufyMike
Member
 
Registered: Apr 2004
Location: Los(t) Angeles
Distribution: Fedora Core2, RH9, FreeBSD, Debian, Knoppix,
Posts: 53

Rep: Reputation: 15
yum does it automatically for you.

Simply follow the instructions above add the entries to yum.conf

then type yum -y install <package>

If it doesn't resolve the dependency (if its not available in the list of repositories in your yum.conf) and you only one the file name example (libpng12.so.1)

yum provides <dependency needed> (libpng12.so.1)

will tell you what package(s) provide(s) that dependency. then you can find and install that.
rpm --whatprovides does the same thing with packages already installed in your system.
 
Old 06-04-2004, 02:25 PM   #12
axess_denied
Member
 
Registered: Jun 2004
Location: DC Metro Area
Distribution: Ubuntu 8.10
Posts: 35

Original Poster
Rep: Reputation: 15
Won't allow me to edit yum.conf
Have no way of adding the entries
AHHHHH frustration
 
Old 06-04-2004, 02:29 PM   #13
GufyMike
Member
 
Registered: Apr 2004
Location: Los(t) Angeles
Distribution: Fedora Core2, RH9, FreeBSD, Debian, Knoppix,
Posts: 53

Rep: Reputation: 15
Are you editting yum.conf as root or your user?
Use root
 
  


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
After FC2 installation problems burevestnik Fedora 1 10-28-2004 06:10 PM
RH 9 to FC2 problems dswanson General 1 09-04-2004 10:38 PM
Sound problems in FC2 PLEASE help! sergeantroach Linux - Software 4 07-15-2004 03:15 PM
FC2 and ndiswrapper problems zorkenem Linux - Wireless Networking 6 06-15-2004 08:03 PM
problems with installs studentforever Linux - Newbie 5 03-23-2004 08:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

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