LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   mandrake 9.2 rpm errors (https://www.linuxquestions.org/questions/mandriva-30/mandrake-9-2-rpm-errors-152403/)

h0p3sf411 03-01-2004 07:55 PM

mandrake 9.2 rpm errors
 
Hi, i'm new to linux so bare with me....i'm trying to install some programs and things. and i keep getting errors for each one.

-----------------------------------------------------------------------------

BitDefender -
error: unpacking of archive failed on file /opt/bdc: cpio: mkdir failed - Permission denied

Flashplugin -
warning: Flashplugin.rpm: V3 DSA signature: NOKEY, key ID 8df56d05
error: Failed Dependencies: libstdc++-libc6.2-2.so.3 is needed by flash-plugin-6.0.79-2

Aim -
error: Failed Dependencies: libstdc++-libc6.1-1.so.2 is needed by aim-1.5.286-1

Xine -
file /usr/lib/libxine.so.1 from install of libxine1-1_cvs-040216 conflicts with file from package libxine1-1-0.rc0.7mdk

-----------------------------------------------------------------------------

i want to know if i'm doing this correctly. I go to the directory the file is located, i goto Tools, open terminal, then i type rpm -i file.rpm and press enter. is this correct? if it is can anyone tell me whats going on with these errors? i dled mandrake linux online, but i only got cd1 burned to a cd, the other 2 didn't work for some odd reason. is this why i'm getting these errors? if not can someone tell me why. I appreciate the replies if anyone gives one. thx

bigVoice 03-01-2004 08:38 PM

error: unpacking of archive failed on file /opt/bdc: cpio: mkdir failed - Permission denied

What you'd expect to see if the user didn't have permission to write into the directory you're targetting. Root could do this.

error: Failed Dependencies: libstdc++-libc6.2-2.so.3 is needed by flash-plugin-6.0.79-2

and

error: Failed Dependencies: libstdc++-libc6.1-1.so.2 is needed by aim-1.5.286-1


What you'd expect to see if the program you're installing is relying on something else being there. Also called dependancy hell :) I have a solution for you at the bottom of this post.

file /usr/lib/libxine.so.1 from install of libxine1-1_cvs-040216 conflicts with file from package libxine1-1-0.rc0.7mdk

What you'd expect to get if you were trying to replace one package with another improperly.

i want to know if i'm doing this correctly. I go to the directory the file is located, i goto Tools, open terminal, then i type rpm -i file.rpm and press enter. is this correct? if it is can anyone tell me whats going on with these errors?

See above re: errors. I think you should learn to use Mandrake's urmpi tool. The GUI front end is stallar, and largely will stop these types of errors. First visit easy URPMI and follow the onscreen directions to set up the sources. Then go to configure my computer --> software. You'll see options for instaling and upgrading. If you use this tool you'll largely avoid dependancy hell. If you need help with the tool specifically, check out the Mandrake documentation, this forum, or Google, you'll find lots of great advice.

URPMI is essentially just a tool to avoid missing dependancies, etc. In theory, you one could do this with a lot of manual checking... but why bother. It is one of Mandrake's very strong points!

i dled mandrake linux online, but i only got cd1 burned to a cd, the other 2 didn't work for some odd reason. is this why i'm getting these errors? if not can someone tell me why. I appreciate the replies if anyone gives one. thx

It sounds to me like they got corrupted. Take a few minutes and learn about how to MD5Sum. I've written posts on it in other threads throughout the forums, and also there is lots of good information online.

The good news... if you work through these errors you are significantly on your way to working with Linux! It isn't too bad, and I think with the hints I've given and a few minutes of your time you should have it up and running. If you still need a hand, do write back and we'll help you out as best we can.

Oh yeah, and also go out of your way to get the other 2 CDs. If one program depends on stuff that is on CD2... well, I think you get the picture :)

Good luck!

Redeye2 03-01-2004 08:50 PM

Quote:

BitDefender -
error: unpacking of archive failed on file /opt/bdc: cpio: mkdir failed - Permission denied
You need to run this as root (superuser) because the install program is trying to access or modify files/directories it doesn't have permission to. To do so, type su in the console. It'll ask for your password, type it in an you'll be logged in as root. Now, retype rpm -ivh <package>

Quote:

Flashplugin -
warning: Flashplugin.rpm: V3 DSA signature: NOKEY, key ID 8df56d05
error: Failed Dependencies: libstdc++-libc6.2-2.so.3 is needed by flash-plugin-6.0.79-2

Aim -
error: Failed Dependencies: libstdc++-libc6.1-1.so.2 is needed by aim-1.5.286-1
You need to install the devel (development) version of these libraries. To do so, go to kde menu/configuration/packaging/install software. It'll ask you too for the password. Once in there, type libstdc++ or whatever you need to install and look for the package you need that reads devel in it's name. Install that one and you should no longer have linking problems.

Quote:

Xine -
file /usr/lib/libxine.so.1 from install of libxine1-1_cvs-040216 conflicts with file from package libxine1-1-0.rc0.7mdk
The problem here is that you already have the library installed but a different version of it. Sometimes the ones mandrake gives you (mdk at the end of the file) are enough, but when they aren't you should try either rpm -Uv <package> which tries to upgrade the current installation, or remove the past one rpm -e <package> (if possible) and then install the new one.
Hope that helps :)

h0p3sf411 03-01-2004 08:51 PM

hey thx for the reply, i dont' think the file got corrupted or anything...the file size is 698 and i think for some reason when i try to burn files that are right under the 700limit they seem to fail. i've tried to burn a movie tht was around there that worked perfectly fine when i watched it, and it didn't burn right. anyways, i'll try that urpmi stuff....cya

J.K 03-01-2004 08:54 PM

If you only have one cd you are lacking quite a lot and would explain your dependency issues.Suggest you get hold of the full 3 cd`s of the download version, i think this will save you a lot of hassles.things like xine are already on them.Also are you trying to install rpm`s or tarballs? rpm`s are far easier (especially for someone new) to install.Things like flash,xine and java are all readily available in an rpm.All you have to do to install a downloaded rpm is to double click on it, type your root password in the box when it asks and it will install automatically, assuming there are no dependency issues. This is why the 3 cd set is handy because if it needs some lacking files it will tell you to load the cd with the files it needs at the same time. hope this helps a bit.

h0p3sf411 03-01-2004 09:25 PM

ahh thx redeye tremendous help, i got one problem though when i try to install the flash plugin, it still says warning: Flashplugin.rpm: V3 DSA signature: NOKEY, key ID 8df56d05, even thought the package was installed....

Redeye2 03-02-2004 12:29 AM

Why don't you try using the version from the website?
http://www.macromedia.com/software/flashplayer/
It's really easy because it has a step by step console GUI. I used that and got no problems, but of course if it works... then just leave it like that haha :) I think the key thing is that all RPM packages should have a "signature" key but the guy who compiled the rpm just didn't put it in. Again, if it works you shouldn't have any more troubles.
Glad to help :cool:


All times are GMT -5. The time now is 10:06 AM.