LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problem with sftrp rpm (https://www.linuxquestions.org/questions/linux-newbie-8/problem-with-sftrp-rpm-644206/)

dodo_ind 05-23-2008 12:19 AM

problem with sftp rpm
 
Hi all
I downloaded 'sftp-0.9.9-4.src.rpm' and when I run the command "rpm -ivh sftp-0.9.9-4.src.rpm", it gives the following warning on my system(linux):

warning: sftp-0.9.9-4.src.rpm: Header V3 DSA signature: NOKEY, key ID 1bbd5459
1:sftp warning: user builder does not exist - using root
warning: user builder does not exist - using root)
warning: user builder does not exist - using root)
########################################### [100%]


After this when I run "rpmbuild -ba sftp.specs" from /usr/src/redhat/SPECS dir, following error is displayed:

error: failed to stat /usr/src/redhat/SPECS/sftp.specs: No such file or directory


can any one tell me what could be the problem and how to correct it?

Thanks

lskynyrd 05-23-2008 12:47 AM

Red Hat Package Manager
 
Quote:

Originally Posted by dodo_ind (Post 3162078)
Hi all
I downloaded 'sftp-0.9.9-4.src.rpm' and when I run the command "rpm -ivh sftp-0.9.9-4.src.rpm", it gives the following warning on my system(linux):

warning: sftp-0.9.9-4.src.rpm: Header V3 DSA signature: NOKEY, key ID 1bbd5459
1:sftp warning: user builder does not exist - using root
warning: user builder does not exist - using root)
warning: user builder does not exist - using root)
########################################### [100%]


After this when I run "rpmbuild -ba sftp.specs" from /usr/src/redhat/SPECS dir, following error is displayed:

error: failed to stat /usr/src/redhat/SPECS/sftp.specs: No such file or directory


can any one tell me what could be the problem and how to correct it?

Thanks


Greetings -

Did you check that the file sftp.specs exists? I'm not familiar with RPM as I've only used Slackware since it was first released on cd. If this file exists, you need to check the ownership. It could simply be a permission problem. If the file is owned by root, you'll have to be superuser to execute the file. I hope that this helps.

Sincerely

chrism01 05-23-2008 12:55 AM

Thats a source code for an rpm, not recommended.
Use the version without '.src' in the name, although top be honest, to avoid dependency hell, use your distro's pkg magr instead.
Please add distro and version to your profile, so we can help you better.

dodo_ind 05-25-2008 11:30 PM

solved...thanks all
 
Hi
The file "sftp.specs" does not exist in my system instead the file "file sftp.spec" exist. So I have to give the command

"rpmbuild -ba sftp.spec" instead of "rpmbuild -ba sftp.specs"

It works now. Thanks lskynyrd and chrism01 for your replies.


All times are GMT -5. The time now is 11:49 PM.