Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm having a difficult time with RPMs. I am a newb so keep that in mind. I'm currently using Redhat 9. This is my main problem, I have a few packages that I want installed (that I previously tried to install) but when I use rpm -q to query them, it says they are not installed. When I try to remove them with rpm -e, it says they are not installed, however, when I use rpm -i to install them, it says they are installed. In general as well when installing rpms I get this message "warning: alsa-kernel-0.9.2-fr2_2.4.20_8.i586.rpm: V3 DSA signature: NOKEY, key ID e42d547b" the alsa-kernel-0.9.2-fr2_2.4.20_8.i586 was the package I was using as an example. Any ideas as to what that weird warning is? I got that when trying to install the ALSA RPMs and the xmms mp3 patch (although I haven't really tried to install many other RPMs) As you may well know Redhat only has a package manager that refers to the RPMs that come with its install, so that not very useful. Any help and information would be greatly apprecaited. Thank you for your time.
-calimer
Does this mean that I installed the packages incorrectly then? So really when installing I ONLY include the name and version number? Just trying to make sure I get it perfect. From your example it looks like that you DO include the whole file name when installing, but not when removing or quering. Is this correct? Thank you for your help.
-calimer
Distribution: Gentoo, Debian, Ubuntu, Red Hat/CentOS
Posts: 719
Rep:
Quote:
"warning: alsa-kernel-0.9.2-fr2_2.4.20_8.i586.rpm: V3 DSA signature: NOKEY, key ID e42d547b"
This warning means you do not have the gpg key for the repository. man gpg for more on that. The skinny is: It is a way for the packager to "sign his or her packages so you know that they are authentic.
And fancypiper is right...go with apt4rpm it will resolve deps for you and for most folks it is the only type of install software they will ever need.
rpm, while okay, most of the time has some shortfalls as a package mgmt system. You name a few in your inital post. go to redhat.com =>support&docs =>redhat 9 and read up on rpm and check out man rpm. It amkes a world of difference after you have played with it a bit it will make a lot more sense.
First, I just want to say thank you to everyone for all the information they've given me, it has been extremely useful. I'm going to give that package manager a shot. It interests me quite a bit that you seem to suggest that RPMs aren't always the best choice. I'm curious about this because recently I came under the impression that RPMs were the best way to go. My reason for thinking this is because the only other package that I'm familar with is tar files. The major downside that I see to tar files is how sometimes it is really hard to remove the files from the computer, especially if you have no idea what files were placed on your computer. With RPMs though, you can just do a simple uninstall. Maybe I am overlooking something though? This is just my newb observation so I am definitely interested in being proved wrong if I am wrong. Once again thank you so much. I really want to completely get rid of windows and now I'm one step closer. Take care.
-calimer
Rpm is used by a ton of distros, but most of them tweak it to fit their distro and to automatically resolve dependencies, such as Mandrake's urpmi, Red Carpet channels for distros and apt4rpm.
Just plain vanilla rpm is great if you understand the error messages and command line options to use it.
Gentoo can uninstall packages (but not un-needed dependencies yet) built from source code (the tarballs). Gentoo's Portage is one of the neatest software package managers I have ever seen, but I suggest using Linux a year or two to get a handle on it first as it is a command line install and hand configuration of files. The only wizard is portage.
Distribution: Gentoo, Debian, Ubuntu, Red Hat/CentOS
Posts: 719
Rep:
Quote:
It interests me quite a bit that you seem to suggest that RPMs aren't always the best choice.
Well that is not quite what I meant, but that is not your fault I was being ambiguous.
RPM - meaning the red hat package manager (the program) is what is less than optimal. rpm's (are fine in and of themselves). apt4rpm uses rpm's (packages) and RPM (the red hat program that installs them) however it also resolves dependencies on it's own. That is the important difference.
Becareful mixing .tar.gz sourcecode files with a rpm based distro.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.