LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problem installing XMMS and rpms in general. (https://www.linuxquestions.org/questions/linux-software-2/problem-installing-xmms-and-rpms-in-general-210056/)

remz 07-26-2004 11:24 PM

Problem installing XMMS and rpms in general.
 
Everytime i try to install the folowing error comes out:

[remz@localhost Installs]$ rpm -i xmms-1.2.10-1.src.rpm
error: cannot create %sourcedir /usr/src/redhat/SOURCES

am I doing something wrong?

shanenin 07-26-2004 11:30 PM

First off you need to be root to install any rpms. You need to have root access so that you can write in protected directorys. The error seems to be telling you that the directory /usr/src/redhat/SOURCES is not there. I also noticed that you are trying to install src rpms. You want to be installing precompiled rpms. they will look like xmms-1.2.10-1.i386.rpm .

remz 07-26-2004 11:58 PM

I tried to install the precompiled version and i get the folowing error:

[remz@localhost Installs]$ rpm -i xmms-1.2.10-1.i386.rpm
error: can't create transaction lock

I only have one user on my pc am i not already root? how do you change to root?

Linux~Powered 07-27-2004 12:10 AM

To become root type... su in the terminel and enter your root password. To log off of root just type... exit


All times are GMT -5. The time now is 05:03 PM.