On Thursday 11 Sep 2003 5:09 am, Stelio Pappas wrote:
> Hi
>
> I'm new to the support list scene so take it easy on me if I mess up my
> list etiquette.
>
> I am trying to install minicom on Mandrake 9.1
>
> I found minicom-2.00.0-2mdk.x86_64.rpm on rpmfind.
>
> I tried to install it and got the following output:
>
> [EMAIL PROTECTED] Minicom]# rpm -iv minicom-2.00.0-2mdk.x86_64.rpm
> error: failed dependencies:
>         lrzsz is needed by minicom-2.00.0-2mdk
>         ld-linux-x86-64.so.2()(64bit)   is needed by minicom-2.00.0-2mdk
>         libc.so.6()(64bit)   is needed by minicom-2.00.0-2mdk
>         libgpm.so.1()(64bit)   is needed by minicom-2.00.0-2mdk
>         libncurses.so.5()(64bit)   is needed by minicom-2.00.0-2mdk
>         libc.so.6(GLIBC_2.2.5)(64bit)   is needed by minicom-2.00.0-2mdk
> [EMAIL PROTECTED] Minicom]#
>
> I figured I better download the dependencies from rpmfind.  I found
> lrzsz-0.12.21-1mdk.x86_64.rpm and tried to install it.  This time I got the
> following output:
>
> [EMAIL PROTECTED] Minicom]# rpm -iv lrzsz-0.12.21-1mdk.x86_64.rpm
> error: failed dependencies:
>         ld-linux-x86-64.so.2()(64bit)   is needed by lrzsz-0.12.21-1mdk
>         libc.so.6()(64bit)   is needed by lrzsz-0.12.21-1mdk
>         libnsl.so.1()(64bit)   is needed by lrzsz-0.12.21-1mdk
>         libc.so.6(GLIBC_2.2.5)(64bit)   is needed by lrzsz-0.12.21-1mdk
> [EMAIL PROTECTED] Minicom]#
>
> Once again, I figure that I should get the dependencies.  This time I can't
> find ld-linux-x86-64.so.2.  In fact I can't seem to find any ld-linux in
> rpmfind.
>
> I had a look in /lib on my machine to see if there was a variation to this
> library.  I found the following:
>
> [EMAIL PROTECTED] Minicom]# ls -al /lib/ld*
> -rwxr-xr-x    1 root     root       621127 Feb 17  2003 /lib/ld-2.3.1.so*
> lrwxrwxrwx    1 root     root           11 Aug 20 19:31 /lib/ld-linux.so.2
> -> ld-2.3.1.so*
> lrwxrwxrwx    1 root     root           13 Aug 20 19:39 /lib/ld-lsb.so.1 ->
> ld-linux.so.2*
> [EMAIL PROTECTED] Minicom]#
>
> I can see that the other ld stuff all seems to be linked to ld-2.3.1.so.  I
> tried cheating by making a link as follows:
>
> lrwxrwxrwx    1 root     root           11 Sep 11 13:25
> /lib/ld-linux-x86-64.so.2 -> ld-2.3.1.so*
>
> Unfortunately,  when I tried to install lrzsz I recieved the same error
> message that I had without the link.
>
> Any ideas?
>
> Stel

Time for my weekly rant about how newbies should install packages.
*************************************************

If you want minimal trouble finding packages, and do not want to have trouble 
with dependencies then **please** follow this procedure.

1/ Any time you want to install something then first open Mandrake Control 
Centre>Software>software Install and use the search box to find the package 
you are intereseted in.  There is a VERY HIGH probability the package you 
want is already on your CDs  (minicom is)

2/ Anything not on the CDs is VERY LIKELY in an online RPM repository. Go here
http://plf.zarb.org/~nanardon/  to set up online sources FOR THE RELEASE YOU 
ARE USING!!
Set up sources for Contrib, plf and optionally texstar. After you have done so 
all packages in those sources will be available in your Mandrake Control 
Centre>Software>software Install GUI, and all dependencies will be sorted out 
for you automatically.
If you are a Mandrake Club member you can also add sources for' Club 
commercial' packages, and 'Club testing' packages. See the Club download 
pages for instructions on adding those sources.
(Pacakges may be installed either using the Mandrake GUI, or the Command line 
command 'urpmi')


3/The database of online packages needs to be updated regularly because plf, 
Club testing, and texstar are always updating their packages. So once a week 
run the command
urpmi.update -a  as root.  You can automate this in a cron job if you like.
If ever when trying to install a package you get a failure message, then run 
that command again.

4/ DO NOT define an online source for Cooker or for a different release to the 
one you are running. YOU WILL SCREW UP YOUR SYSTEM if you do.
(At the moment Cooker is the same as 9.2, so for the moment anyone testing 9.2 
should use cooker for the latest updates)

5/ DO NOT install packages from rpmfind.net  (except at your own risk)
You will find NOTHING in rpmfind.net that you will not find if you have 
followed steps 1 to 3 above.  The only other packages in rpmfind.net are 
packages for other distros, or for other versions of Mandrake. Yes sometimes 
packages made for other distros will work. More often however they will just 
cause "dependency hell". 

6/ For the average newbie anything you might want to install will be found 
using the procedure above. If there is a package not available in ANY on line 
source then you must compile it yourself either from a .src.rpm or from 
.tar.gz   but that is not covered in this post.

/end rant
Apologies for the shouting. Obviously it is your computer and you can install 
whatever you please, but if you are a newbie, then following this advice will 
give you a trouble free Linux experience.

derek

-- 
----------------------------------
www.jennings.homelinux.net
http://twiki.mdklinuxfaq.org


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to