LinuxQuestions.org
Review your favorite Linux distribution.
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 06-19-2009, 02:16 AM   #1
Usman786
LQ Newbie
 
Registered: Jun 2009
Posts: 1

Rep: Reputation: 0
Smile URGENT - error: cannot create %sourcedir /usr/src/redhat/SOURCES


Hi All,

I am new to Linux, I am using RHEL 5.3, I was trying to install "Galeon(Web Browser)" as a "root".

I got a error saying....,

"error: cannot create %sourcedir /usr/src/redhat/SOURCES"

Can anyone help me in resolving this issue. As I said I am new to Linux, if the solution is clear and simple then I can understand it easily.

Thanks in Advance,

Usman.
 
Old 06-19-2009, 02:22 AM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
First, and very importantly on this forum, it's not urgent to anyone but you, so please don't put URGENT in your titles.

The first thing is, do you have a redhat subscription, in which case you should use it and call them.

The second thing to do is check whether or not that directory already exists, so show the output of "ls /usr/src/redhat"

Finally, please show exact command and more than one line of error messages.
 
Old 06-19-2009, 05:53 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,683

Rep: Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284Reputation: 3284
The ( empty ) directory tree '/usr/src/redhat/SOURCES'
etc. etc., is created by installing the package 'rpmbuild'.
The output of 'rpm -ql rpmbuild' :
.
.
/usr/src/redhat
/usr/src/redhat/BUILD
/usr/src/redhat/RPMS
/usr/src/redhat/RPMS/athlon
/usr/src/redhat/RPMS/i386
/usr/src/redhat/RPMS/i486
/usr/src/redhat/RPMS/i586
/usr/src/redhat/RPMS/i686
/usr/src/redhat/RPMS/noarch
/usr/src/redhat/SOURCES
/usr/src/redhat/SPECS
/usr/src/redhat/SRPMS
.
.
.....
 
Old 07-24-2009, 12:07 PM   #4
RedHut
LQ Newbie
 
Registered: Jul 2009
Posts: 1

Rep: Reputation: 0
Dik

Quote:
Originally Posted by billymayday View Post
First, and very importantly on this forum, it's not urgent to anyone but you, so please don't put URGENT in your titles.

The first thing is, do you have a redhat subscription, in which case you should use it and call them.

The second thing to do is check whether or not that directory already exists, so show the output of "ls /usr/src/redhat"

Finally, please show exact command and more than one line of error messages.
What a DIK. Any other words we can't use? Talk about user unfriendly. did it really throw your day completely off cause someone said "urgent". did you think that possibly he really thought it was urgent to the rest of the world, or maybe (cut him some slack here) he was saying that it was urgent because it was urgent to him>>

Oh, and you can only have one first thing...not two first things.
 
  


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
rpm error: cannot create %sourcedir ticro Red Hat 13 04-01-2013 08:27 AM
RPM installation gives "error: cannot create %sourcedir /usr/src/redhat/SOURCES" praveen_darshanam Linux - Newbie 5 01-24-2009 05:59 AM
FreeBSD 6.2, no /usr/src/tools and /usr/src/usr.bin, failed to build world. Mr_Shameless *BSD 4 05-16-2008 08:43 AM
error: cannot create %sourcedir /usr/src/redhat/SOURCES Eliaquim Linux - Newbie 3 12-07-2007 03:48 AM
No sources in /usr/src after Installation opa_munster Linux - Newbie 3 07-31-2003 01:07 AM

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

All times are GMT -5. The time now is 03:23 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