LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   .RPM Trouble - .rpm was not found on the medium (https://www.linuxquestions.org/questions/suse-opensuse-60/rpm-trouble-rpm-was-not-found-on-the-medium-261493/)

Sporadic 12-01-2004 06:24 PM

.RPM Trouble - .rpm was not found on the medium
 
Hey everybody,

After using Windows since 3.0 I have finally decided to move to Linux. I downloaded SuSe 9.1 Personal and don't regret a single thing. It is kind of hard but I am adjusting. Anyways on to my problem. I have been trying to get my multimedia working but every .RPM file that I download from the net and open with/install via YaST comes up with the message ".rpm was not found on the medium". I tried downloading from different areas and it still failed so it isn't the actual .RPM file. Can anybody help me?

Thanks,
Sporadic

XavierP 12-01-2004 06:29 PM

Open a console, use 'su' to become root, cd to the directory with the .rpm file and issue rpm -ivh <filename>.rpm and let us know the output. It coud be that YAST isn't set up correctly and this will help narrow it down.

Welcome to LQ, by the way :D

Sporadic 12-01-2004 06:54 PM

Quote:

Originally posted by XavierP
Open a console, use 'su' to become root, cd to the directory with the .rpm file and issue rpm -ivh <filename>.rpm and let us know the output. It coud be that YAST isn't set up correctly and this will help narrow it down.

Welcome to LQ, by the way :D

linux:/home/charlie # Desktop/Temp
bash: Desktop/Temp: is a directory
linux:/home/charlie # rpm -ivh w32codec-all-20041007-0.pm.0.i386.rpm
error: open of w32codec-all-20041007-0.pm.0.i386.rpm failed: No such file or directory


:confused: That is the correct file name so I have no idea what is going on.

*EDIT* Thanks for the welcome. :cool: I plan to be here for a long time *EDIT*

pilotgi 12-01-2004 08:36 PM

"error: open of w32codec-all-20041007-0.pm.0.i386.rpm failed: No such file or directory"

That just means this rpm isn't in your home directory. Or you made a typo while typing the name of the rpm.

You need to find out which directory it is in.

Code:

whereis w32codec-all-20041007-0.pm.0.i386.rpm
Or if you have locate-utils installed you can use the locate command. You should have find-utils on your personal cd. Install the rpm with locate and then run this command as root:
Code:

updatedb
Then:
Code:

locate w32codec

Sporadic 12-01-2004 09:12 PM

Quote:

Originally posted by pilotgi
"error: open of w32codec-all-20041007-0.pm.0.i386.rpm failed: No such file or directory"

That just means this rpm isn't in your home directory. Or you made a typo while typing the name of the rpm.

You need to find out which directory it is in.

Code:

whereis w32codec-all-20041007-0.pm.0.i386.rpm
Or if you have locate-utils installed you can use the locate command. You should have find-utils on your personal cd. Install the rpm with locate and then run this command as root:
Code:

updatedb
Then:
Code:

locate w32codec

I know where it is at though. It is in file:/home/charlie/Desktop/Temp

That is where I downloaded it. I will try the locate thing though.


*EDIT* Well I just tried something

linux:/home/charlie # Desktop/Temp/w32codec-all-20041007-0.pm.0.i386.rpm
bash: Desktop/Temp/w32codec-all-20041007-0.pm.0.i386.rpm: Permission denied

Appentially I don't have permission....even though I signed in through the root

Also I already have findutils installed but locate though the Konsole did't work *EDIT*

XavierP 12-02-2004 04:57 AM

The commands are:
cd Desktop/Temp #same as it would be under Windows
rpm -ivh w32codec-all-20041007-0.pm.0.i386.rpm #i=install v=verbose h=show progress

and that's it.

Sporadic 12-02-2004 05:27 PM

Quote:

Originally posted by XavierP
The commands are:
cd Desktop/Temp #same as it would be under Windows
rpm -ivh w32codec-all-20041007-0.pm.0.i386.rpm #i=install v=verbose h=show progress

and that's it.

Cool that worked. Thanks for the help

XavierP 12-02-2004 05:37 PM

No probs :)

Sporadic 12-02-2004 05:49 PM

Quote:

Originally posted by XavierP
No probs :)
*EDIT* Never mind I got it working via YaST *EDIT*


All times are GMT -5. The time now is 12:14 PM.