LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 12: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 12:28 AM. Reason: typing error
 
Old 05-23-2008, 12: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, 12:55 AM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,356

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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-25-2008, 11:30 PM   #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



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 07:19 AM
RPM PRobleM fadain Linux - Newbie 3 03-22-2003 08:31 AM
problem with rpm manthram Linux - Software 2 04-11-2002 10:03 PM
A problem with rpm Wagner Linux - General 1 11-22-2001 03:36 PM
RPM problem slemasters Linux - General 3 07-24-2001 08:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:12 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
Open Source Consulting | Domain Registration