Re: Problem with openldap-sasl-client port?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Robert Fitzpatrick wrote: I posted the other day, trying to install SA 3.2, it keeps attempting to install openldap-sasl-client-2.3.36 even though it is already there. I tried 'pkg_delete -f' and then portinstall of the ldap client, I've tried to register FORCE_PKG_REGISTER. Whenever I run 'pkgdb -F', the ldap client deps want to link to the openldap-server-2.3.36. Am I going to have to uninstall all deps fro the ldap client and re-install? Will that work... mx1# pkg_delete openldap-sasl-client-2.3.36 pkg_delete: package 'openldap-sasl-client-2.3.36' is required by these other packages and may not be deinstalled: amavisd-new-2.5.0,1 apache-2.2.4_2 dirmngr-0.9.7_2 gnupg-2.0.3 openldap-server-2.3.36 pear-1.5.4 pear-Auth-1.5.0 pear-Auth_SASL-1.0.2 pear-DB-1.7.11,1 pear-File_Passwd-1.1.6 pear-Log-1.9.10 pear-Mail_Mime-1.4.0,1 pear-Net_IMAP-1.0.3 pear-Net_POP3-1.3.6 pear-Net_SMTP-1.2.10 pear-Net_Socket-1.0.7 pear-Pager-2.3.4 pear-SOAP-0.10.1 php5-5.2.2 php5-gettext-5.2.2 php5-ldap-5.2.2 php5-mysql-5.2.2 php5-openssl-5.2.2 php5-pcre-5.2.2 php5-pgsql-5.2.2 php5-session-5.2.2 php5-wddx-5.2.2 php5-xml-5.2.2 postfix-2.4.3,1 postgresql-server-8.2.4_1 smarty-2.6.18 mx1# pkgdb -F --- Checking the package registry database [Updating the pkgdb format:bdb_btree in /var/db/pkg ... - 505 packages found (-1 +1) (...). done] Stale dependency: amavisd-new-2.5.0,1 - p5-Mail-SpamAssassin-3.2.0 (mail/p5-Mail-SpamAssassin): p5-Mail-SPF-Query-1.999.1 (score:56%) ? ([y]es/[n]o/[a]ll) [no] Install stale dependency? ([y]es/[n]o/[a]ll) [yes] no New dependency? (? to help): Skip this? ([y]es/[n]o/[a]ll) [yes] Skipped. Stale dependency: nagios-2.9_1 - openldap-client-2.3.35 (net/openldap23-client): openldap-server-2.3.36 (score:52%) ? ([y]es/[n]o/[a]ll) [no] ^C That's just the alternate package name guessing algorithm failing to guess the correct alternate package name. All it does is a string based match -- and pkgdb seems to think that 'openldap-server' is a better match to 'openldap-client' than openldap-sasl-client'. Just tell pkgdb 'no' and then tell it the correct alternate package name. (You can use tab completion there; very handy) After that, things should go smoothly. You can use the ALT_PKGNAME hash in /usr/local/etc/pkgtool.conf to give the correct hint to pkgdb and portupgrade automatically: ALT_PKGDEP = { 'openldap-client-2.3.*' = 'openldap-sasl-client-2.3.*', } The ALT_PKGDEP hash can be used to autocorrect most of the things that pkgdb would question you about -- see the comments in the pkgtools.conf file. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGfh8x8Mjk52CukIwRCNODAJ0ewx6fmlqKJgwxowpnRSCD/xtIegCgj07O Ak4am2/4vTfAXtPWqWXU59U= =CKAI -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem with openldap-sasl-client port?
On Sun, 2007-06-24 at 08:37 +0100, Matthew Seaman wrote: Just tell pkgdb 'no' and then tell it the correct alternate package name. (You can use tab completion there; very handy) After that, things should go smoothly. Thanks. I tried this, but the pkgdb does not see my current openldap-sasl-client-2.3.36. Stale dependency: nagios-2.9_1 - openldap-client-2.3.35 (net/openldap23-client): openldap-server-2.3.36 (score:52%) ? ([y]es/[n]o/[a]ll) [no] Install stale dependency? ([y]es/[n]o/[a]ll) [yes] no New dependency? (? to help): openldap-client-2.3.36 Please choose one of these: amavisd-new-2.5.0,1 apache-2.2.4_2 appres-1.0.1 arc-5.21o_1 arj-3.10.22 atk-1.18.0_1 autoconf-2.13.000227_5 autoconf-2.59_2 automake-1.4.6_3 automake-1.9.6_1 bash-3.1.17 bdftopcf-1.0.0 beforelight-1.0.2 bigreqsproto-1.0.2 bitmap-1.0.3 bitstream-vera-1.10_4 cabextract-1.2 cclient-2004g,1 clamav-0.90.3 compat4x-i386-5.3_9 ... mx1# ls /var/db/pkg/ | grep ldap openldap-sasl-client-2.3.36 openldap-server-2.3.36 Any other ideas on what I can try next? -- Robert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem with openldap-sasl-client port?
Robert Fitzpatrick [EMAIL PROTECTED] writes: On Sun, 2007-06-24 at 08:37 +0100, Matthew Seaman wrote: Just tell pkgdb 'no' and then tell it the correct alternate package name. (You can use tab completion there; very handy) After that, things should go smoothly. Thanks. I tried this, but the pkgdb does not see my current openldap-sasl-client-2.3.36. Stale dependency: nagios-2.9_1 - openldap-client-2.3.35 (net/openldap23-client): openldap-server-2.3.36 (score:52%) ? ([y]es/[n]o/[a]ll) [no] Install stale dependency? ([y]es/[n]o/[a]ll) [yes] no New dependency? (? to help): openldap-client-2.3.36 Please choose one of these: amavisd-new-2.5.0,1 apache-2.2.4_2 appres-1.0.1 arc-5.21o_1 arj-3.10.22 atk-1.18.0_1 autoconf-2.13.000227_5 autoconf-2.59_2 automake-1.4.6_3 automake-1.9.6_1 bash-3.1.17 bdftopcf-1.0.0 beforelight-1.0.2 bigreqsproto-1.0.2 bitmap-1.0.3 bitstream-vera-1.10_4 cabextract-1.2 cclient-2004g,1 clamav-0.90.3 compat4x-i386-5.3_9 ... mx1# ls /var/db/pkg/ | grep ldap openldap-sasl-client-2.3.36 openldap-server-2.3.36 Any other ideas on what I can try next? The lazy approach I've sometimes taken is to delete the dependency and rebuild then dependent port... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem with openldap-sasl-client port?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Robert Fitzpatrick wrote: On Sun, 2007-06-24 at 08:37 +0100, Matthew Seaman wrote: Just tell pkgdb 'no' and then tell it the correct alternate package name. (You can use tab completion there; very handy) After that, things should go smoothly. Thanks. I tried this, but the pkgdb does not see my current openldap-sasl-client-2.3.36. Stale dependency: nagios-2.9_1 - openldap-client-2.3.35 (net/openldap23-client): openldap-server-2.3.36 (score:52%) ? ([y]es/[n]o/[a]ll) [no] Install stale dependency? ([y]es/[n]o/[a]ll) [yes] no New dependency? (? to help): openldap-client-2.3.36 Please choose one of these: amavisd-new-2.5.0,1 apache-2.2.4_2 appres-1.0.1 arc-5.21o_1 arj-3.10.22 atk-1.18.0_1 autoconf-2.13.000227_5 autoconf-2.59_2 automake-1.4.6_3 automake-1.9.6_1 bash-3.1.17 bdftopcf-1.0.0 beforelight-1.0.2 bigreqsproto-1.0.2 bitmap-1.0.3 bitstream-vera-1.10_4 cabextract-1.2 cclient-2004g,1 clamav-0.90.3 compat4x-i386-5.3_9 ... mx1# ls /var/db/pkg/ | grep ldap openldap-sasl-client-2.3.36 openldap-server-2.3.36 Any other ideas on what I can try next? Hmmm... time for some more extreme measures. Try deleting /var/db/pkg/pkgdb.db and /usr/ports/INDEX*.db and then run pkgdb -fu to rebuild them from scratch. Hmmm... also, why do you have a dependency on LDAP from nagios itself? It's nagios-plugins that would have that dependency, but only if you selected appropriately in the OPTIONS dialogue. I'd recommend just deleting the dependency on nagios you're having trouble with there. Also, try adding: WANT_OPENLDAP_SASL= yes to /etc/make.conf Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil.7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGfo9S8Mjk52CukIwRCLoKAJ9XUm5beMFiPcaYHyVg8T4mujIVZgCeO+I2 fiSL1HAYFmt3YOZTeUMUsOg= =jfJz -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problem with openldap-sasl-client port?
I posted the other day, trying to install SA 3.2, it keeps attempting to install openldap-sasl-client-2.3.36 even though it is already there. I tried 'pkg_delete -f' and then portinstall of the ldap client, I've tried to register FORCE_PKG_REGISTER. Whenever I run 'pkgdb -F', the ldap client deps want to link to the openldap-server-2.3.36. Am I going to have to uninstall all deps fro the ldap client and re-install? Will that work... mx1# pkg_delete openldap-sasl-client-2.3.36 pkg_delete: package 'openldap-sasl-client-2.3.36' is required by these other packages and may not be deinstalled: amavisd-new-2.5.0,1 apache-2.2.4_2 dirmngr-0.9.7_2 gnupg-2.0.3 openldap-server-2.3.36 pear-1.5.4 pear-Auth-1.5.0 pear-Auth_SASL-1.0.2 pear-DB-1.7.11,1 pear-File_Passwd-1.1.6 pear-Log-1.9.10 pear-Mail_Mime-1.4.0,1 pear-Net_IMAP-1.0.3 pear-Net_POP3-1.3.6 pear-Net_SMTP-1.2.10 pear-Net_Socket-1.0.7 pear-Pager-2.3.4 pear-SOAP-0.10.1 php5-5.2.2 php5-gettext-5.2.2 php5-ldap-5.2.2 php5-mysql-5.2.2 php5-openssl-5.2.2 php5-pcre-5.2.2 php5-pgsql-5.2.2 php5-session-5.2.2 php5-wddx-5.2.2 php5-xml-5.2.2 postfix-2.4.3,1 postgresql-server-8.2.4_1 smarty-2.6.18 mx1# pkgdb -F --- Checking the package registry database [Updating the pkgdb format:bdb_btree in /var/db/pkg ... - 505 packages found (-1 +1) (...). done] Stale dependency: amavisd-new-2.5.0,1 - p5-Mail-SpamAssassin-3.2.0 (mail/p5-Mail-SpamAssassin): p5-Mail-SPF-Query-1.999.1 (score:56%) ? ([y]es/[n]o/[a]ll) [no] Install stale dependency? ([y]es/[n]o/[a]ll) [yes] no New dependency? (? to help): Skip this? ([y]es/[n]o/[a]ll) [yes] Skipped. Stale dependency: nagios-2.9_1 - openldap-client-2.3.35 (net/openldap23-client): openldap-server-2.3.36 (score:52%) ? ([y]es/[n]o/[a]ll) [no] ^C -- Robert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]