Red Hat RPM problem

Login or Register for Dates, Times and to Reply

Thread Tools Search this Thread
# 1  
Red Hat RPM problem

I have my system setup different then the conventional setup:

[root@localhost root]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hdc2 2.0G 977M 936M 52% /
/dev/hdc1 97M 9.0M 83M 10% /boot
none 251M 0 251M 0% /dev/shm

So when I try to install a RPM which looks for /usr etc. I get an error:

[root@localhost root]# rpm -ivh exim-3.36-5.src.rpm
warning: exim-3.36-5.src.rpm: V3 DSA signature: NOKEY, key ID e01260f1
error: cannot create %sourcedir /usr/src/redhat/SOURCES

How do I fix this error?

# 2  
V3 DSA signature: NOKEY
For this, put in your Red Hat CD 1 and mount it. Then type:
PHP Code:
rpm --import /mnt/cdrom/RPM-GPG-KEY 
For the second problem, You need to install the package rpm-build and it will create the directories under /usr/src/redhat for you.

Good Luck
# 3  

>rpm --import /mnt/cdrom/RPM-GPG-KEY

Ran the command, but the error is still generated.

>For the second problem, You need to install the >package rpm-build and it will create the >directories under /usr/src/redhat for you.

This did the job, thanks!
What does rpm-build do?

I really appreciate the help!
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

10 More Discussions You Might Find Interesting

1. Red Hat

Update Red Hat using rpm

Hi to all, I am new in Linux systems so im trying to get familiar with certain procedures. I want to update a Linux machine but i cannot use subscription manager so i want to do it using the rpm command. How is it possible to see what packages need to be updated? Do i have to check the installed... (6 Replies)
Discussion started by: omonoiatis9
6 Replies

2. Red Hat

Does Red hat linux 9 has audit rpm package?

Dear All I have a old system run in Red hat Linux 9.. And if it's possible, I want to install the audit rpm package in the Red hat Linux 9. But I can't find the audit-*.rpm file in the Red hat Linux 9's CD..? Can any help me to conform Red hat Linux 9 doesn't support audit? Any... (0 Replies)
Discussion started by: nnnnnnine
0 Replies

3. Infrastructure Monitoring

Problem Installing Cacti on Red Hat

Can someone please point me in the direction of where I can find out how to install cacti? there doesn't seem to be straightforward steps for it. after downloading the tar.gz file from, there's basically no instructions of what to do from that point on. any help will be appreciated. ... (1 Reply)
Discussion started by: SkySmart
1 Replies

4. Linux

Red Hat linux(Advance server) problem

we are receiving following error in our application server & server not booted:- "INIT IP ID x ,Respawning too fast; disable for 5 minutes." Please give me solution for above mention problem as early as possible . AKM (3 Replies)
Discussion started by: akm9999
3 Replies

5. UNIX for Dummies Questions & Answers

Problem Red Hat 9 Installation

I have a problem with a red hat 9 install on a compaq laptop. I installed the OS and everything tests ok but It boots to a blank screen instead of the GUI login I wanted. What can I do to correct this instead of installing all over. I tried the rescue option several times and tried to run... (2 Replies)
Discussion started by: vedder191
2 Replies

6. Linux

Installation Problem on Red hat linux 9

Hi, I am trying to install our new acquired Red Hat linux 9 on Compaq Proliant ML370. However, l has already configured the raid 0+1. The linux installation starts from the CD, its allows for the selection of Language, keyboard but l am stocked at choosing the installation package media. I... (4 Replies)
Discussion started by: kayode
4 Replies

7. UNIX Desktop Questions & Answers

Red Hat loading problem

when i try to load Redhat 7.2 the screen gets all mished together as if it were a meltdown the book says its a prob with X but it dosnt really say what to do WINMe works fine i have a radeon 64 MB card 1 gig processor and 2 HDs on a Dell 1 GHZ how do i fix this ? (1 Reply)
Discussion started by: ASpin
1 Replies

8. UNIX for Dummies Questions & Answers

Linux Red Hat 7.2 Problem

how come red hat doesn't have this programs which was already supposed to be on it?? take for instance, I was reading this Linux book that says for me to do some work in glint X11 client for packagement. it says glint is accessible from the command line or control panel. the problem is, I... (4 Replies)
Discussion started by: TRUEST
4 Replies

9. UNIX for Dummies Questions & Answers

Please Help Me With This Linux Red Hat 7.2 Modem Problem

I cant get my modem to work. Linux just isn't recognizing it. every time I typed wvdial, i get a message saying my modem is not responding I tried looking for drivers at the website Neo directed me to but I just couldn't find the right one from the information I was given about my modem... (2 Replies)
Discussion started by: TRUEST
2 Replies

10. UNIX for Dummies Questions & Answers

Problem Downloading Red Hat

I've been having problems downloading Red Hat 7.2 from their FTP site. It downloads rather slowly(between 2-3k/sec, I'm on broadband) and after about 10 minutes stops downloading altogether. Am I doing something wrong? (2 Replies)
Discussion started by: Tradewynd
2 Replies

Featured Tech Videos