Click to See Complete Forum and Search --> : mc-4.6.0-4.src.rpm...


lubiel2
11-06-2003, 04:08 PM
Hello,

I am trying to install mc-4.6.0-4.src.rpm
but, i am gettting this error, someone could help
me with this please ???

[root@mera2 local]# rpm --install mc-4.6.0-4.src.rpm
warning: mc-4.6.0-4.src.rpm: V3 DSA signature: NOKEY, key ID db42a60e
[root@mera2 local]#

Any help is greatly appreciated.

ph34r
11-06-2003, 04:21 PM
Try

rpm --rebuild mc-foo.rpm

Watch the output - at the end, it will output a RPM file somewhere and tell you the name/location. Then you can install the resulting file.

lubiel2
11-06-2003, 04:26 PM
I did this:

[root@mera2 local]# rpm --rebuild mc-4.6.0-4.src.rpm
--rebuild: unknown option
[root@mera2 local]#


So, whats happen ???

SuperNu
11-07-2003, 01:05 AM
The error you are getting is because the RPM is digitally signed and the signature isn't in the database. It is just a warning and you can ignore it. It is good if you are very security consious and want to make sure that the RPM isn't tampered with in any way.

Now, you are trying to install a source RPM. Installing is going to unpack it into the .tar.bz2 or .tar.gz file, the .spec file and anything else needed to rebuild the binary RPM. Depending on the distro, you can rebuild the .src.rpm by using rpmbuild --rebuild <file>.src.rpm. If you need any more help, be sure to man rpm from the command line or view RPM.org (http://www.rpm.org).

--SN

bones996
11-07-2003, 01:27 AM
The --rebuild option unknown error is probably because you don't have the rpm-rebuild.rpm installed try downoading & installing it first. Then try running rpm --rebuild mc*.src.rpm. It should then tell you that the rpm that was built is in /usr/src/Redhat or something to that effect. After this just cd to that directory & the type rpm -Uvh mc*.rpm. The * work instead of typing the whole filename, but the whole filename is usually a better idea, especially once you get a few src rpms in this directory.