[SLUG] Failed dependencies problem.

2002-07-16 Thread Bill Bennett


I wished to upgrade my version of cdrdao.

So I ftp'd the latest rpm version and tried installing it.

This is the error message:---

error: failed dependencies:
libgcc_s.so.1   is needed by cdrdao-1.1.5-8
libgcc_s.so.1(GCC_3.0)   is needed by cdrdao-1.1.5-8
libgcc_s.so.1(GLIBC_2.0)   is needed by cdrdao-1.1.5-8
libstdc++.so.4   is needed by cdrdao-1.1.5-8
libstdc++.so.4(GLIBCPP_3.1)   is needed by cdrdao-1.1.5-8

Obviously, these dependencies need to be supplied. But first off,

1) can anyone recognize them? I have no idea what they are.

2) do they come as part of another package? If so, I'll
upgrade that. This will ensure they are located properly,
because

3) if they don't, I'll have to find them. Having done so, won't
they have to be installed at wherever they should be, so that
the next attempt at rpm'ing cdrdao will be able to find them?

Regards,

Bill Bennett.
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] Failed dependencies problem.

2002-07-16 Thread James Gregory

Bill Bennett wrote:

3) if they don't, I'll have to find them. Having done so, won't
they have to be installed at wherever they should be, so that
the next attempt at rpm'ing cdrdao will be able to find them?

Don't know what distro you're running, but the last few days I've been 
playing with urpmi which is the Mandrake answer to apt-get (incidently 
I'll probably use it to install apt-get before long since I've just 
noticed that it's in Mandrake Cooker). Anyway, I mention it because I 
suspect it would fix your problem. Here's how you use it:

First of all, add cooker to your database like so:

urpmi.addmedia --wget cooker1 
ftp://mirror.aarnet.edu.au/pub/mandrake/devel/cooker/i586/Mandrake/RPMS 
with ../base/hdlist.cz
urpmi.addmedia --wget cooker2 
ftp://mirror.aarnet.edu.au/pub/mandrake/devel/cooker/i586/Mandrake/RPMS2 
with ../base/hdlist2.cz

(I use --wget throughout all of this because of some weirdo proxy stuff 
I've got set up, it's not necessary. Likewise -v isn't necessary, it 
just tells me what's going on)

Then you should just be able to do

urpmi --wget -v cdrdao-1.1.5

and (with a bit of luck) it should look up the dependencies for cdrdao 
and download the appropriate packages and install them (it asks you at 
each step along the way).

There is equivalent stuff for redhat. I think it's called rawhide? I'm 
not sure, but it might be worth your while to install such a tool if you 
do a lot of this. Alternatively, going to rpmfind.net should answer your 
question, but it will require more work.

I should probably also mention that urpmi isn't perfect. For little 
things like this it's fine, but I started using it because I wanted get 
gcc 3.1.1 and upgrade perl while I was at it. The gcc upgrade went very 
smoothly, and I'm currently running a kernel built with gcc3.1.1. The 
perl install upgrade went less smoothly because I asked urpmi to upgrade 
itself in the process (since it's a perl program) and it upgraded to a 
broken version of urpmi which was fixed later that day, and the cooker 
mailing list reliably informs me that it's been fixed yet again since 
then, but that patch hasn't yet hit aarnet.

urpmi also offers a simple way to upgrade just the packages you have 
installed if you want to upgrade to a newer version of your chosen 
distro. I haven't really been game to do this on a machine that I need 
on a day to day basis, but it might prove helpful to someone.

Sorry for the long reply, but I thought it might help people who find 
themselves plagued by dependency problems.

HTH

James.


-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] Failed dependencies problem.

2002-07-16 Thread Bill Bennett

Thanks for the reply.

Even so, I'd still like to know what these dependencies are.

I'm running Redhat 7.1 on an IBM 600e laptop.

These aren't kernel fiddles are they?

Regards,

Bill Bennett.
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug