LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-31-2004, 03:06 AM   #1
mcd
Member
 
Registered: Aug 2003
Location: Denver, CO
Distribution: CentOS, Debian
Posts: 825

Rep: Reputation: 33
does pkgtool resolve dependencies?


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?
 
Old 05-31-2004, 04:11 AM   #2
thegeekster
Member
 
Registered: Dec 2003
Location: USA (Pacific coast)
Distribution: Vector 5.8-SOHO, FreeBSD 6.2
Posts: 513

Rep: Reputation: 34
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..........
 
Old 05-31-2004, 05:28 AM   #3
AxelFendersson
Member
 
Registered: Mar 2004
Location: Darkest Oxfordshire
Distribution: Arch, Slackware
Posts: 184

Rep: Reputation: 32
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.
 
Old 05-31-2004, 09:38 AM   #4
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
On Slackware------/bin/sh
should already be a symlink to-----/bin/bash/

and-------you should have the /libc.so libraries installed
use the "find" tool and make sure their location is in your
$PATH
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get: don't resolve dependencies? merchtemeagle Debian 7 06-17-2005 02:11 PM
Pkgtool Corallis Slackware 6 09-01-2004 11:49 PM
yum cannot resolve dependencies to update peregrine2 Linux - Software 0 07-19-2004 10:42 AM
I recieve a failed dependencies error, but I have all required dependencies Laptop2250 Linux - Software 15 02-03-2004 07:58 PM
pkgtool ktindle Slackware 4 12-15-2002 04:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration