Dependencies

Gyepi SAM gyepi at praxis-sw.com
Wed Dec 18 18:22:36 CET 2002


On Wed, Dec 18, 2002 at 11:49:26AM -0500, Parker Morse wrote:

> [root 11:14:38]/home/users/morse/bin$ rpm -ivh bogofilter-0.9.1.2-1.i586.rpm
> error: failed dependencies:
>         libdb-3.3.so   is needed by bogofilter-0.9.1.2-1
>         libc.so.6(GCC_3.0)   is needed by bogofilter-0.9.1.2-1
> [root 11:14:48]/home/users/morse/bin$ locate libdb-3.3.so
> /lib/libdb-3.3.so
> /usr/lib/libdb-3.3.so
> /usr/local/BerkeleyDB.3.3/lib/libdb-3.3.so
> 
> I really don't understand the first, since it appears to be there.

  rpm -qf /lib/libdb-3.3.so
  rpm -qf /usr/lib/libdb-3.3.so

will probably tell you that neither file belongs to a package.

10 to 1 they were not installed from rpm.

In such cases, when you are sure that the dependencies *are* satisfied, just skip
the dependency checking.

  rpm --nodeps -ivh bogofilter-0.9.1.2-1.i586.rpm


If you wanted to, you could also tell rpm to update it's database by pretending to install
a db3 rpm. This is not advisable though, unless you understand the ramifications.

-Gyepi





More information about the Bogofilter mailing list