Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 28th February 2005, 01:49 PM
cubby Offline
Registered User
 
Join Date: Feb 2005
Posts: 13
can't install rpm files

please help me, I can't install rpm files
Reply With Quote
  #2  
Old 28th February 2005, 01:53 PM
Pegasus Offline
Registered User
 
Join Date: Apr 2004
Posts: 208
- open terminal
- become root ( su - )
- install rpms by using "rpm -Uvh <name_of_rpm_file>"
__________________
Distro Killer Test System:
Intel Pentium II 400 Mhz - 256 MB Ram, MS6151 Mainboard with ESS 1371 Onboard Sound, Ati Radeon 9200se AGP, Adaptec 2940 PCI SCSI Controller, SCSI Zip Drive 100 internal, HP Scanjet 4C SCSI, RealTek PCI Ethernet Card (for DSL connection), PM = 10GB HDD, PS = LG GSA4081B, SM = 4 GB HDD (vfat), SS = LiteOn 40x CD-Rom
------------
RH9 -> Success, Suse 8.2/9/9.1 -> Failed, MDK9 -> Failed, FC2 -> Failed, MDK10 -> Success, FC3 -> Success
Reply With Quote
  #3  
Old 28th February 2005, 01:59 PM
ucfagls Offline
Registered User
 
Join Date: Feb 2005
Posts: 97
more info required

You're not going to get much help unless you tell everyone what you did (i.e. the commands you typed into the shell, or the application you used to try to install) and what error messages you got when you tried to install the rpms.

For starters, you need to install rpms as root so try this from the directory where your rpm is located: Open a terminal and type:
Code:
su -c "rpm -ivh name_of_rpm.rpm"
Enter root's password and see what happens. The flags -ivh means install (i), verify (v) and display progress hashes (h). Does that work?
Reply With Quote
  #4  
Old 28th February 2005, 02:13 PM
bob's Avatar
bob Offline
Administrator (yeah, back again)
 
Join Date: Jul 2004
Location: Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
Age: 67
Posts: 21,225
Here's some basics on RPM's http://www.rpm.org/max-rpm/s1-intro-...t-started.html

However, ucfagls is right - we'll need more info to really work with you on a specific problem. Also, have you checked yum or apt to see if your program is available? If so, you'd be better off installing it that way.
__________________
Linux & Beer - That TOTALLY Computes!
Registered Linux User #362651


Don't use any of my solutions on working computers or near small children.
Reply With Quote
  #5  
Old 2nd March 2005, 08:30 AM
cubby Offline
Registered User
 
Join Date: Feb 2005
Posts: 13
I tryinginstall id3lib-3.8.3-alt2.src.rpm but kernelsays:

[root@root root]# rpm -i id3lib-3.8.3-alt2.src.rpm
warning: id3lib-3.8.3-alt2.src.rpm: V3 DSA signature: NOKEY, key ID 38e7bb46
Reply With Quote
  #6  
Old 2nd March 2005, 09:22 AM
ucfagls Offline
Registered User
 
Join Date: Feb 2005
Posts: 97
Lightbulb No GPG public key installed

That error means you don't have the GPG public key for the repository (where you got your package) installed on your system. You need the public key to make sure that the package you are installing is what the person distributing the package wanted you to install and that it comes from the right person.

Depending upon which repository you got your rpm from the Unofficial Fedora FAQ has an entry for this error message and instructions on how to import the relevant keys for various repositories.

Also, note that what you are trying to install is the source rpm (src.rpm), not a binary rpm. Unless you want to compile the package from source you really don't need the src.rpm version and should get one that has just .rpm in its name.

Finally, if you got that src.rpm from one of the repositories listed in the Unofficial Fedora FAQ then you really are better off using YUM to install the package on your system. See other entries in that FAQ, which explain how this is done.
Reply With Quote
  #7  
Old 2nd March 2005, 09:33 AM
jowah Offline
Registered User
 
Join Date: Dec 2004
Location: Under your bed
Posts: 293
The error message you are getting is rpm saying it can't validate the RPM package against any known (to your machine) public keys for that package. If you tell us where you found that RPM package we might be able to figure out how to import the proper public key for whatever repository that RPM came from.

Once that is solved, another question beckons... did you mean to install the source RPM, perhaps in order to recompile it or do you just want to find a normal, binary package and just have it installed? If you meant to do the latter, you might want to set up Yum to access the Fedora Extras repository and let it install it for you:

1 - create a file in /etc/yum.repos.d/ called "fedora-extras.repo":
Code:
# gedit /etc/yum.repos.d/fedora-extras.repo
2 - cut & paste this text into it:
Code:
[extras]
name=Fedora Extras $releasever - $basearch
baseurl=http://fr2.rpmfind.net/linux/fedora/extras/$releasever/$basearch/
  http://mirrors.kernel.org/fedora/extras/$releasever/$basearch/
  http://mirror.hiwaay.net/redhat/fedora/linux/extras/$releasever/$basearch/
  http://www.mirrorservice.org/sites/download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/$basearch/
enabled=1
gpgcheck=1
3 - save it and exit gedit

4 - import the Fedora Extras key into rpm:
Code:
rpm --import http://download.fedora.redhat.com/pub/fedora/linux/extras/RPM-GPG-KEY-Fedora-Extras
5 - now, let yum install the id3lib package for you:
Code:
yum -y install id3lib
At the time of my writing this, Fedora Extras has id3lib version 3.8.3-9 which might work out just fine for you. (I found that using "yum search i3dlib")

Now, if all you really wanted from the beginning was to recompile the 3.8.3-alt2 source RPM, please forgive my babbling :-)
Reply With Quote
Reply

Tags
files, install, rpm

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Install RPM files Waynehead69 Using Fedora 1 18th June 2009 06:08 PM
install tar.bz files santoshmath Using Fedora 1 26th August 2007 12:10 PM
Can't install tar.gz or tar.bz2 files lol-catalyst Using Fedora 4 4th April 2007 05:13 PM
Cannot install RPM files amitprabhakar Using Fedora 3 30th August 2006 01:05 PM
How to install .bin files. vishnumrao Using Fedora 1 13th March 2005 09:47 PM


Current GMT-time: 09:21 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat