LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-23-2008, 01:19 AM   #1
dodo_ind
LQ Newbie
 
Registered: May 2008
Distribution: 2.6.11-1.1369_FC4
Posts: 3

Rep: Reputation: 0
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

Last edited by dodo_ind; 05-23-2008 at 01:28 AM. Reason: typing error
 
Old 05-23-2008, 01:47 AM   #2
lskynyrd
LQ Newbie
 
Registered: Apr 2008
Location: Warren, TX
Distribution: slackware 12.0.0
Posts: 4

Rep: Reputation: 0
Red Hat Package Manager

Quote:
Originally Posted by dodo_ind View Post
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
 
Old 05-23-2008, 01:55 AM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,241

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
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.
 
Old 05-26-2008, 12:30 AM   #4
dodo_ind
LQ Newbie
 
Registered: May 2008
Distribution: 2.6.11-1.1369_FC4
Posts: 3

Original Poster
Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
.src.rpm, .i386.rpm and .i686.rpm hhegab Linux - Software 2 06-19-2003 08:19 AM
RPM PRobleM fadain Linux - Newbie 3 03-22-2003 09:31 AM
problem with rpm manthram Linux - Software 2 04-11-2002 11:03 PM
A problem with rpm Wagner Linux - General 1 11-22-2001 04:36 PM
RPM problem slemasters Linux - General 3 07-24-2001 09:09 PM


All times are GMT -5. The time now is 05:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration