LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 01-19-2005, 11:29 PM   #1
manas_shukla
Member
 
Registered: Jan 2005
Location: india
Distribution: redhat fedora core 3 right now
Posts: 30

Rep: Reputation: 15
error:cannot create source dir HELP!


i've been trying to install xmms, at the same time its my first time using the command line...i've learnt that there is no setup launcher as in windows and the following command line must be typed, people have told me 2 type with small variations ( one has "i" and one has "ivh") i've tried both and neither work...giving me the following error:

[root@localhost ~]# rpm -i xmms-1.2.10-1.src.rpm
error: cannot create %sourcedir /usr/src/redhat/SOURCES

[root@localhost ~]# rpm -ivh xmms-1.2.10-1.src.rpm
error: cannot create %sourcedir /usr/src/redhat/SOURCES
 
Old 01-20-2005, 12:12 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
You need the non-src rpm, otherwise you'll have to compile it first...
Also, try researching/using the apt-get or yum install tools as they will handle rpm dependencies automatically for you.
 
  


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
Have to create a dir. each time I use CD-ROMs samael26 Debian 3 06-04-2005 01:08 PM
HELP! When I create a new user a home dir isn't created lynchpin9 Linux - General 5 01-18-2005 11:05 AM
mkinitrd: Can't create temp dir, exiting...?? tfricke Linux - General 4 11-01-2003 05:53 PM
cant create dir /usr/local/Acrobat dave bean Linux - Newbie 7 10-02-2003 09:12 AM
Create public_html dir during adduser MikeeX Slackware 5 06-24-2003 02:20 PM

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

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