LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-30-2003, 02:14 AM   #1
Elad12345
LQ Newbie
 
Registered: Mar 2003
Location: Wyoming
Posts: 4

Rep: Reputation: 0
Question Redhat 8 rpm error


Hello everyone,
I am a green one This is my second complete install of Linux so treat me like an idiot.

Ok down to business

When I try to install (krb5-1.2.5-6.src.rpm) I get an error saying that the the source files can't be created. The exact error is: "error: cannot create %sourcedir /usr/src/redhat/SOURCES"


I Thank everyone in advace for your help.
 
Old 03-30-2003, 02:25 AM   #2
Elad12345
LQ Newbie
 
Registered: Mar 2003
Location: Wyoming
Posts: 4

Original Poster
Rep: Reputation: 0
Actually I tried something just for the heck of it and it seems to have worked.

I created the directories.
 
Old 03-30-2003, 02:31 AM   #3
Elad12345
LQ Newbie
 
Registered: Mar 2003
Location: Wyoming
Posts: 4

Original Poster
Rep: Reputation: 0
Ok maybe not :|
 
Old 03-30-2003, 06:33 AM   #4
orange400
Member
 
Registered: Mar 2003
Location: Bellevue, WA
Distribution: Arch w/ XFCE
Posts: 834

Rep: Reputation: 30
Try rpm -i [filename]

Or in nautils (the file browser), just double click on the RPM
 
Old 03-30-2003, 09:54 AM   #5
Do-Ping
Member
 
Registered: Mar 2003
Location: NL
Distribution: RedHat
Posts: 30

Rep: Reputation: 15
start konsole (console)
log in as root
goto the directory were the RPM is in.
typ:
rpm -ivh krb5-1.2.5-6.src.rpm
 
Old 03-30-2003, 12:36 PM   #6
Elad12345
LQ Newbie
 
Registered: Mar 2003
Location: Wyoming
Posts: 4

Original Poster
Rep: Reputation: 0
Thank you everyone!
Do-Ping I ran rpm -ivh <Filename> on the rest of the files I needed before I could install php-4.2.2-8.0.5-src.rpm.

It appears that inside the Nautils it couldn't recognize that certain files were already installed.
 
Old 06-19-2003, 02:04 PM   #7
mwolff
LQ Newbie
 
Registered: Jun 2003
Location: Omaha, NE, USA
Posts: 5

Rep: Reputation: 0
Same error.

I am receiving the same error while trying to install install gcc-3.2.2-5.src.rpm

The full erroro actually reads
warning: gcc-3.2.2-5.src.rpm: V3 DSA signature: NOKEY, key ID db42a60e
error: cannot create %sourcedir /usr/src/redhat/SOURCES


I tried the rpm -ivh filename but it produced the same error. Machine is red hat 9

Thanks in advance,
mwolff
 
Old 06-19-2003, 02:06 PM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
don't install gcc from RPM, there's really no need, pick an i686 or i386 precompiled rpm instead.
 
Old 06-19-2003, 02:17 PM   #9
mwolff
LQ Newbie
 
Registered: Jun 2003
Location: Omaha, NE, USA
Posts: 5

Rep: Reputation: 0
A Good link

You don't happen to have a good link to one do you? Can I find it on rpmfind.net

Also thought I would ask since I ran into this problem trying to fix another problem which was with building apache 2.0.46

When I try a ./configure on anything, not just apache, I get the message configure: error: no acceptable C compiler found in $PATH
configure failed for srclib/apr

Which is the reason I am trying to install gcc. Got any ideas about my current problems. Again my system is Red Hat 9 on a Intel celeron 400mhz 256mb ram.
 
Old 06-19-2003, 02:33 PM   #10
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
it's on your distro cd's.

if you've not got them ,then rpmfind.net
 
Old 08-18-2003, 02:06 PM   #11
dougr
LQ Newbie
 
Registered: Aug 2003
Location: Richmond, BC, Canada
Distribution: red hat 7.3 (for dummies)
Posts: 3

Rep: Reputation: 0
Unhappy error on mozilla upgrade

I am having major troubles-gnorpm finds mozila 1.4, but does nothing when I click on install
Trying rpm -Uvh mozilla-1.4-0.7.3.src.rpm
gets
error: cannot create %sourcedir /usr/src/redhat/SOURCES
I even tried mkdir, so there is a dir there
 
Old 08-18-2003, 02:44 PM   #12
yowwww
Member
 
Registered: Apr 2003
Location: Ontario, Canada
Distribution: Arch Linux
Posts: 533

Rep: Reputation: 30
why are people using the src files like this??
am i missing something here?

use the generic i386 files OR recompile the .src files into your choice of architecture and then install them as i386,i486,i586,i686 whatever.

for example, get:
mozilla-1.4-0.7.3.i386.rpm
NOT
mozilla-1.4-0.7.3.src.rpm

do yourself a favor and stop clicking on rpms, learn how to do them in the terminal - it is MUCH more effective and reliable imho.
if you try to install the i386 files they should work flawlessly minus a few deps.

If I am wrong on this, someone please let me know cuz I have had this clear understanding of rpms for a long time.

Last edited by yowwww; 08-18-2003 at 02:46 PM.
 
Old 08-18-2003, 08:16 PM   #13
dougr
LQ Newbie
 
Registered: Aug 2003
Location: Richmond, BC, Canada
Distribution: red hat 7.3 (for dummies)
Posts: 3

Rep: Reputation: 0
386 rpm

Tried the 386 rpm....seems to work better except
error: mozilla-nspr = 37:1.4-0.7.3 needed
Can't seem to find this anywhere
tried mozilla-nspr from same directory-no luck
 
Old 08-18-2003, 11:28 PM   #14
dougr
LQ Newbie
 
Registered: Aug 2003
Location: Richmond, BC, Canada
Distribution: red hat 7.3 (for dummies)
Posts: 3

Rep: Reputation: 0
mozilla

Tried that red flashing exclamation mark in the corner....actually got updates this time!
Included Mozilla 1.0.2 which was better than the .9.9.7 that came with the CDs
 
Old 08-19-2003, 12:42 AM   #15
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 46
its time y'all started using apt.
go get the apt and apt-devel packages and install them both.

then go get ur packages using apt.
so, if u want mozilla, install it using apt, it will take care of ur dependencies for u - so u wont have to worry bout mozilla-nspr or psm or the other libs it needs.

start using apt .
 
  


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
rpmdb-redhat-4-0.20050525.src.rpm/rebuild error louisb Linux - Enterprise 0 07-12-2005 11:19 AM
Redhat RPM error Micropocalypse Linux - Software 10 04-06-2005 07:50 PM
Redhat Enterprise AS, php-mysql-4.3.3-4.1.i386.rpm, mysql_connect() error apradhan Linux - Distributions 0 02-18-2004 04:11 PM
rpm error only says"rpm: relocation error: rpm: undefined symbol: poptAliasOptions" dlrsims Linux - Newbie 2 11-14-2003 10:22 PM
redhat 9, webmin install, RPM error boonders Linux - Software 2 04-01-2003 11:04 PM


All times are GMT -5. The time now is 02:51 PM.

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