Click to See Complete Forum and Search --> : Problems with dependancies due to install errors


wilkystyle
08-25-2005, 11:56 PM
Ok, let me start by saying, I'm new to linux (and this forum), and I have almost NO idea what I'm doing. I am slowly picking it up, and am determined to finally switch permanently from XP to Linux, cause I'm sick of Windows in general.

That having been said, let me give you the back story:

A friend helped me install linux on my machine a month or so ago, and during the installation, something must have been wrong with his CD's (they were burnt disks) because certain files were not able to be read and installed. After retrying several times, we just decided to let it do it's thing, and then try to download the missing files after I boot into Linux.

Well after we installed and did a couple downloads, everything seemed fine on the surface, but I didn't have time to do anything on it, because I had to store the computer for a couple of months.

Now that I have it set up again, I've been trying to do some things such as install GAIM and Ndiswrapper, however a series of errors I have gotten makes me think that I'm still missing some critical files.

For example:

When installing AIM (for linux of course), I get the following error when I try to install the file (with "rpm -i <filename>):

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


Trying to install GAIM gives me a similar error, except the file stated missing is "libgtkspell.so.0".


Can anyone point me the right direction as far as getting those missing files, or if i'm missing something even more critical? My friend initally showed me a tool where you can look up packages for download, but when I try to find the program now, it just pops out the cd tray and asks for the install disk.

Thanks in advance everybody.

Icarus
08-26-2005, 07:33 AM
http://rpmfind.net/
Find what you are missing there and install it, should be able to find everything there

mrBen
08-26-2005, 11:13 AM
Can you confirm which distribution you are using? Most of the modern distributions now come with methods for a) installing packages graphicalls, and b) automatically resolving dependencies, which would make things much easier.

phlipant
08-26-2005, 11:23 AM
apt-get, yum and up2date will automatically install your dependencies for you.

try

apt-get install gaim
yum install gaim

or

up2date gaim

I suspect if you haven`t used one of these three, your whole system is out of date.

PS if you ll /usr/lib/libstdc++-libc*, you will probably find an obsolete library.

mrBen
08-26-2005, 11:42 AM
Or he could be running Mandrake/Mandriva, which, IIRC, uses something else. Or, for that matter, SuSE.

cybertron
08-26-2005, 12:49 PM
Yep, Mandriva/Mandrake=URPMI, SuSE=Yast2

Both do the same thing as apt, though admittedly with a smaller software base.

phlipant
08-26-2005, 02:11 PM
I think we need to know which distribution he uses, but I think apt-get and yum run on anything.

cybertron
08-26-2005, 03:40 PM
Apt I would agree with, yum...not so much AFAIK. I think that's Fedora/RH only. Of course the fact that I've never heard of it being used elsewhere doesn't mean it's not.:)

wilkystyle
08-28-2005, 07:07 PM
I have mandrake 10.1.

I tried the "apt-get install gaim" as well as the other 2 that were suggested, and all I got was "Bash: Command not found"....

cybertron
08-28-2005, 09:50 PM
Okay, then do "urpmi gaim" and that should do it. If not, use the Mandrake Control Center's software installation tool and it will find it for you.

phlipant
08-28-2005, 11:14 PM
Okay, then do "urpmi gaim" and that should do it. If not, use the Mandrake Control Center's software installation tool and it will find it for you.

Yes, but can he urpmi yum? :D

wilkystyle
08-29-2005, 12:02 AM
Hmm.. this is rather frustrating..

Trying the URPMI command gets me this:

Some package requested cannot be installed:
gaim-1.5.0-0.1.101mdk.i586 (due to unsatisfied libgtkspell.so.0)
Continue? (Y/n)
EDIT: Choosing either yes or no causes the system to return to the prompt.

I don't know how to get that file. I did the Mandrake Update, downloading all 620mb of updates that I needed. It said the installation went without any problems, but i still don't have the file i need.
:confused:

Choozo
08-29-2005, 01:48 AM
EDIT: Choosing either yes or no causes the system to return to the prompt.Just to clear this up; Did you enter 'yes' or 'no', or 'Y' or 'n' as prompted?

Anything other than 'Y' may be interpreted as 'n' and return you to the prompt.

mrBen
08-29-2005, 04:56 AM
Firstly - there should be a graphical interface so that you can avoid the command line shenanigans. It'll be in the Mandrake Control Center thingy.

Secondly - the response from the Y/n will, I think, be the same for both, because you are only installing one package. What it is asking is "You have asked me to install some software, but out of all the software you asked me to install, this one package can't be installed. Do you want me to continue installing all the other software or not?" Because you have only asked to install one piece of software the options are:
No - I don't want to continue with installing the rest of the software, in which case it exits, or
Yes - I do want to continue with installing the rest of the software, in which case it installs the rest of the software in the list, which in your case is no software at all, meaning it exits.

cybertron
08-29-2005, 12:59 PM
Also, check to see if gtkspell is installed. urpmi is supposed to take care of dependencies, but I suppose it's possible that they goofed in this case.

All of this will be easier in the GUI too, as mrBen (good name;)) said. It'll be easier to search for things and see what's installed.

wilkystyle
08-30-2005, 10:09 AM
Just to clear this up; Did you enter 'yes' or 'no', or 'Y' or 'n' as prompted?

Anything other than 'Y' may be interpreted as 'n' and return you to the prompt.I chose 'Y' as prompted.


Firstly - there should be a graphical interface so that you can avoid the command line shenanigans. It'll be in the Mandrake Control Center thingy.Yeah I tried both. The thing is, when I go to install GAIM via the graphical interface, it tells me I need libgtkspell.so.0. When I search for it throught the interface, nothing comes up (under name, description, or filename). When I searched for it online, it said that it was part of the gtkspell program, so I downloaded that and installed it. (I assume everything went correctly, because now mispelled words are underlined in red, where they hadn't been before.)

I don't know why it seems so hard to satisfy this dependency. :(