Issue portupgrade of SA 3.2.1

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Fri Jun 22 14:21:53 UTC 2007


Robert Fitzpatrick <lists at webtent.net> writes:

> Tried doing a portupgrade of p5-Mail-SpamAssassin on one of our test
> postfix+amavisd+SA+ClamAV 6.2 servers and it failed due to some
> dependency version missing I can't remember now. I portupgrade'd the
> dependency and afterward discovered SA had been uninstalled before it
> failed, no longer on the system. Trying to portinstall the same package,
> I find it wanting to install openldap-sasl-client-2.3.36 when
> openldap-sasl-client-2.3.35 was already there...fine, I did a
> portupgrade myself of openldap-sasl-client to 2.3.36. Still, when trying
> to portinstall SA, it wants to install openldap-sasl-client-2.3.36. I
> tried running pkgdb -F to find it trying to link ldap dependencies like
> nagios to openldap-server-2.3.35_1? Of course, the amavisd package is
> looking for SA as well. Can't quite understand what it is looking for or
> if the failure after uninstalling SA broke something.
>
> mx1# ls /var/db/pkg/ | grep ldap
> openldap-sasl-client-2.3.36
> openldap-server-2.3.35_1
> <snip>
> mx1# portinstall p5-Mail-SpamAssassin
> [Gathering depends for mail/p5-Mail-SpamAssassin ........................................................................................................................................................................... done]
> --->  Installing 'openldap-sasl-client-2.3.36' from a port (net/openldap23-client)
> <snip -- killed>
>
> How can I fix this? Or should I just let it do the install?

First look at what depends on the existing port.  
If nothing, you may do better to remove that first.


More information about the freebsd-questions mailing list