Upgrading bogofilter-static rpm from 0.13.7.2 to 0.15.12-1

Gyepi SAM gyepi at praxis-sw.com
Fri Dec 26 02:40:23 CET 2003


On Thu, Dec 25, 2003 at 08:38:32AM -0500, David Relson wrote:
> On Thu, 25 Dec 2003 13:43:43 +0100
> Eric Persson <eric at persson.tm> wrote:
> 
> > I'm trying to upgrade to a newer rpm of the bogofilter-static but 
> > experience trouble with the dependencies.
> > 
> > See the output below, it seems like its the perl-base that causes the 
> > trouble, since MIME::Parser is up to date. According to Chip Turner at
> > 
> > Red Hat at http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=104584 
> > perl-base is not available from redhat. I dont know if its a
> > workaround available?

The problem is caused by the RPM build process which autogenerates
dependencies. You can see the dependencies with the command
  
  rpm -qp --requires /path/to/file.rpm

In this case, David's Mandrake based system generates a dependency on a
Mandrake specific file.

The solution is to add the following line to the rpm file header

  AutoReq: no

Which prevents the automatic dependency generation.
The only drawback is that we have to manually add any external depencies, of
which there are currently none.

Of course, as suggested earlier, rebuilding the rpm from the src.rpm will
obviate the problem.

-Gyepi




More information about the Bogofilter mailing list