On 11/17/2003 05:38 AM, Hemond Steve wrote:
I have to install proftpd on my SuSE 8.2 box.
It has to be that particular package? Having 8.2, I see it is not included (for a reason). I would recommend using vsftpd instead, but if you need that exact version, Try getting the src.rpm from 8.1 and rebuilding.
I got the package, and tried to install it :
From where. It is definitely not a package built for 8.2.
Suzie:/tmp # rpm -Uvh proftpd-1.2.9-1.9.i386.rpm error: failed dependencies: chkconfig is needed by proftpd-1.2.9-1.9 krb5-libs is needed by proftpd-1.2.9-1.9 libcrypto.so.4 is needed by proftpd-1.2.9-1.9 libssl.so.4 is needed by proftpd-1.2.9-1.9 perl(getopts.pl) is needed by proftpd-1.2.9-1.9 perl(strict) is needed by proftpd-1.2.9-1.9
I searched and 'wget'ed every missing dependency, then tried to install some of them :
This is because that package was built for a different distribution.
Suzie:/tmp # rpm -Uvh libkrb51-1.3-3mdk.i586.rpm file /etc/krb5.conf from install of libkrb51-1.3-3mdk conflicts with file from package heimdal-lib-0.4e-302
Heimdal is the SuSE keberos package. the above package is made for Mandrake.
Every dependency returns a similar conflicting message.
To tell frankly, I am used to BSD ports. What is the best practice to install an RPM package and assure dependencies existence?
Use Yast or apt-get, and stick to packages built for your system/distibution. Expect problems using other packages prebuilt binaries, which may be looking for files in different locations, different versions, etc.
Will I have to go on the net and find every missing dependency everytime I need to install a RPM?
SuSE comes with so many packages on the CDs/DVD, there shouldn't be that many needed elsewhere, and building the one you need are on option.
Sometimes, I have to find dependencies for dependencies of the RPM I want to install, which leads to confusion and long search periods. They have to be an easier way to go?
If you often need packages not included in SuSE, try apt-get. It will give you good dependency checking, and a bit wider source for packages. Sometimes, though, there are reasons a certain package, like proftpd, are not included. It is called security, and quality, which is why many of us buy SuSE.
How could I resolve the 'conflicting' package issue?
Either install vsftpd via Yast, if what you need is an ftp daemon, or if you need that particular package, get it from the 8.1 tree, or get the src.rpm and rebuild it. -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Web Address: http://www.mydestiny.net/~joe_morris Registered Linux user 231871 God said, I AM that I AM. I say, by the grace of God, I am what I am.