Free Certification Practice Tests and Study Guides
Join Us! | Login | Help




error when i install yum.

 
Post new topic   Reply to topic     |##| -> |=|     MC MCSE Certification Forums -> Linux/Unix
View previous topic :: View next topic  
Author Message
tdnguyenitvn
Becoming a Regular
Becoming a Regular


Joined: 14 May 2006
Posts: 38
Location: VietNam

Post subject: error when i install yum.
Posted: Sat Aug 12, 2006 3:43 pm
Reply with quote

Help others: Review your books and training products here

Error when I install yum
the following error

[root@Redhat setuplinux]# rpm -ivh http://ftp.freshrpms.net/pub/freshrpms/redhat/9/yum/yum-2.0.4-1.rh.fr.src.rpm
Retrieving http://ftp.freshrpms.net/pub/freshrpms/redhat/9/yum/yum-2.0.4-1.rh.fr.src.rpm
error: cannot create %sourcedir /usr/src/redhat/SOURCES


thanks.
_________________
I'm Beginer, so everybody can help me in the all exam Microsoft and so on...

Thanks.
Back to top
Offline View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
drewm320
Moderator
Moderator


Joined: 09 Mar 2004
Posts: 796
Location: Dayton, OH

Post subject:
Posted: Sun Aug 13, 2006 11:25 am
Reply with quote

Help others: Review your books and training products here

There probably isn't a 'redhat' directory in /usr/src. The RPM tries to create the SOURCES directory but runs into that error because /usr/src/redhat doesn't exist.

mkdir /usr/src/redhat

That should fix it.
Back to top
Offline View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic     |##| -> |=|     MC MCSE Certification Forums -> Linux/Unix All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum






IT Showcase