SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i'm trying to install the ati drivers for my radeon 9200, which are in an rpm format. here's the output i got:
bash-2.05b# rpm -i fglrx-4.3.0-3.9.0.i386.rpm
error: failed dependencies:
/bin/sh is needed by fglrx-4.3.0-3.9.0
/bin/sh is needed by fglrx-4.3.0-3.9.0
/bin/sh is needed by fglrx-4.3.0-3.9.0
/bin/sh is needed by fglrx-4.3.0-3.9.0
ld-linux.so.2 is needed by fglrx-4.3.0-3.9.0
libX11.so.6 is needed by fglrx-4.3.0-3.9.0
libXext.so.6 is needed by fglrx-4.3.0-3.9.0
libc.so.6 is needed by fglrx-4.3.0-3.9.0
libdl.so.2 is needed by fglrx-4.3.0-3.9.0
libm.so.6 is needed by fglrx-4.3.0-3.9.0
libpthread.so.0 is needed by fglrx-4.3.0-3.9.0
libc.so.6(GLIBC_2.0) is needed by fglrx-4.3.0-3.9.0
libc.so.6(GLIBC_2.1) is needed by fglrx-4.3.0-3.9.0
libc.so.6(GLIBC_2.1.3) is needed by fglrx-4.3.0-3.9.0
libm.so.6(GLIBC_2.0) is needed by fglrx-4.3.0-3.9.0
libpthread.so.0(GLIBC_2.0) is needed by fglrx-4.3.0-3.9.0
bash-2.05b#
that's a lot of failed dependencies. so i was trying to think of the best way to resolve all of them...i could locate and install each package, but i was wondering if slackware's pkgtool would auto-install or update as needed?
Hmmmm...........try converting the rpm pkg to tgz using the 'rpm2tgz' command............That particular rpm pkg might be looking in the wrong places for everything.......either that or you're missing a lot of symlinks..........
If you're going to use rpm to install packages in slack, you'll need to tell it to ignore dependencies with the --force and --nodeps options. RPM checks dependencies against its own database of installed packages, but it only knows about those that you've installed with rpm. All the *.tgz packages that make up most of your system are unknown to rpm, so dependency checks will almost always fail.
To be honest, I'd recomment using rpm2tgz or alien to convert the rpm to tgz, then installing it with pkgtool (installpkg whatever.tgz). That way, all your packages are listed in the same database, so they're easier to keep track of. Also, since pkgtool doesn't have any dependency checking, it will never refuse to install something because it thinks you're missing a dependency.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.