Link to home
Start Free TrialLog in
Avatar of Effin_Ell
Effin_Ell

asked on

How do I bypass the key check for rpm file?

Attempting to install vsftpd onto Redhat Linux 5.1 as the package wasnt included during the OS installation (no install id/key used as its a VM). When I encounter this:

[root@WCSDEV usr]# rpm -Uvh vsftpd-2.0.1-5.src.rpm
warning:vsftpd-2.0.1-5.src.rpm: Header V3 DSA signature: NOKEY, key ID db42a60e
  1:vsftpd           ###################################### [100%]

Doing a find / -name vsftpd doesnt show that it installed at all. Anyone know how I can bypass this key check which appears to have stopped the rpm installing?
Avatar of Deepak Kosaraju
Deepak Kosaraju
Flag of United States of America image

check with command
rpm -qa | grep vsftpd.
Now you will notice the rpm is installed to start the ftp service use following commands

#service vsftpd start|stop|restart
To make the service up and running for every reboot use
#chkconfig --level 345 vsftpd on

Open in new window

Avatar of owensleftfoot
owensleftfoot

From that text you posted the rpm has installed successfully
Avatar of Maciej S
You have installed .src.rpm package, which means, you have now sources available. So it is unlikely, that you will find vsftpd file.

If you don't want to build vsftpd from source, find rpm package (not src.rpm) and then install it.
Oh thats true i didn't notice the src in the package name.
try the following command if Yum is setup.

#yum install vsftpd
#rpm -qa | grep vsftpd.
#service vsftpd start|stop|restart
#chkconfig --level 345 vsftpd on

Open in new window

Avatar of Effin_Ell

ASKER

Thank you to all who replied.



I compile vsftpd from source:

rpmbuild rebuild vsftpd-2.0.1-5.ELA.7.src.rpm

i then ran:

yum install vsftpd

did a grep but nothing was returned.


Using a rpm package didnt work either, mentions a problem that libraries are missing which is what i expected as i cannot locate the right rpm package version level for 5.1. Redhats website doesnt seem to have one which I find very infuriating.
ASKER CERTIFIED SOLUTION
Avatar of Maciej S
Maciej S
Flag of Poland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ahh yes i didnt realise it ended up there, i went to usr/src/redhat/RPMS/XXXX and ran the file there, which install vsftpd then i was able to start it (/etc/init.d/vsftpd start) .....FTPing files now - thanks guys!!!!!!
thanks guys, saved me a lot of manual work.