LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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-20-2005, 12:29 AM   #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, 01:12 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,258

Rep: Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328
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


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


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