On Fri, 7 Jun 2002, shorton wrote:

> I rebuild the rpm database: rpm --rebuild
> I re-rpm'd the rpm-rpm by:
>
> rpm -Uvh --force rpm-4.0.2-6x.i386.rpm

It is generally a Bad Idea to force installs.

> That didn't work (still get error):
>
> [root@xxx]# rpm -Uvh initscripts* setup*
> error: failed dependencies:
>         /sbin/fuser is needed by initscripts-5.00-1

        % rpm -q --whatprovides /sbin/fuser
        psmisc-20.2-2

This is from RH 7.3, but you might try the same command.  If you don't get
a package name and version back, then maybe someone else here can tell you
which package it ought to be.

Then you can do one of the following:

(1) Check for corruption of that package

        % rpm --verify psmisc

(2) Check to make sure that you don't need to update any packages that
initscripts depends on.  My guess is that older versions of initscripts
didn't require /sbin/fuser as an explicit dependency and old versions of
psmisc (or whatever includes it) didn't provide it as an explicit
dependency.  You will need to upgrade the package containing /sbin/fuser
as well as initscripts.

(3) You can always "rpm -Uvh --nodeps initscripts..." if you know the
dependency is satisfied, but you should be careful, as other things can
break also if you skip dependency checking (especially with initscripts!).
"--force" is different from "--nodeps" but at least as risky.

-- 
                Matthew Saltzman

Clemson University Math Sciences
[EMAIL PROTECTED]
http://www.math.clemson.edu/~mjs




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to