LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   why rpm command is not working? (https://www.linuxquestions.org/questions/linux-newbie-8/why-rpm-command-is-not-working-744900/)

criacuervo 08-03-2009 09:28 PM

why rpm command is not working?
 
This is happenig when i try to install a package.

[root@millord Download]# ls
Molten-white.tar.gz xmms-mp3-1.2.10-16.fc7.src.rpm
[root@millord Download]# rpm -i xmms-mp3-1.2.10-16.fc7.src.rpm
warning: xmms-mp3-1.2.10-16.fc7.src.rpm: Header V3 DSA signature: NOKEY, key ID e42d547b
warning: user machbuild does not exist - using root
warning: group machbuild does not exist - using root
warning: user machbuild does not exist - using root
warning: group machbuild does not exist - using root
warning: user machbuild does not exist - using root
warning: group machbuild does not exist - using root
[root@millord Download]#

I wonder why , coz i always us the option -i to install a program in fedora and now is happening that.

scottro11 08-03-2009 09:34 PM

Do you realize that you're installing src.rpm rather than plain rpm?

This means, you're installing sources with which to build the package yourself. A package withe srpm or src.rpm doesn't actually install. It goes into various predetermined directories. From there, you go into the SPECS directory and build it with rpmbuild -ba.

There's a bunch of good tutorials about building rpms around. Here's a quick version.

http://perso.b2b2c.ca/sarrazip/dev/r...sh-course.html

chrism01 08-03-2009 10:36 PM

I note that you're profile says Fedora 8, which is no longer supported, and that src.rpm is Fedora 7


All times are GMT -5. The time now is 10:35 PM.