[Bug 213482] Re: Dapper to Hardy upgrade fails with slapd
Hi there, Please, how do I aplly the fix, precisely and in simple words :} ? Yours -- Dapper to Hardy upgrade fails with slapd https://bugs.launchpad.net/bugs/213482 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 213482] Re: Dapper to Hardy upgrade fails with slapd
** Tags added: dapper2hardy -- Dapper to Hardy upgrade fails with slapd https://bugs.launchpad.net/bugs/213482 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 213482] Re: Dapper to Hardy upgrade fails with slapd
Hello, I just did another test upgrade and wanted to report that everything worked fine. Thank you Michael and Steve, I appreciate it. -- Party On, Adam ** Attachment added: "unnamed" http://launchpadlibrarian.net/13357674/unnamed -- Dapper to Hardy upgrade fails with slapd https://bugs.launchpad.net/bugs/213482 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 213482] Re: Dapper to Hardy upgrade fails with slapd
this package is through binary NEW, and I've just promoted it to main; marking as fix released. ** Changed in: cyrus-sasl2 (Ubuntu) Status: Fix Committed => Fix Released -- Dapper to Hardy upgrade fails with slapd https://bugs.launchpad.net/bugs/213482 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 213482] Re: Dapper to Hardy upgrade fails with slapd
Waiting for binary NEW and needs to be added to main. ** Changed in: cyrus-sasl2 (Ubuntu) Status: In Progress => Fix Committed -- Dapper to Hardy upgrade fails with slapd https://bugs.launchpad.net/bugs/213482 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 213482] Re: Dapper to Hardy upgrade fails with slapd
Looks like my initial fix was overly complicated, a simple transitional package is enough and there is no need for any libsasl2-modules transition :) ** Changed in: openldap2.3 (Ubuntu) Assignee: (unassigned) => Michael Vogt (mvo) Status: Triaged => In Progress ** Changed in: cyrus-sasl2 (Ubuntu) Sourcepackagename: openldap2.3 => cyrus-sasl2 -- Dapper to Hardy upgrade fails with slapd https://bugs.launchpad.net/bugs/213482 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 213482] Re: Dapper to Hardy upgrade fails with slapd
** Attachment added: "upgrade log with the pachted libsasl2" http://launchpadlibrarian.net/13298210/bootstrap.log -- Dapper to Hardy upgrade fails with slapd https://bugs.launchpad.net/bugs/213482 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 213482] Re: Dapper to Hardy upgrade fails with slapd
This patch fixes the problem for me. But it requires a transition from libsasl2-modules to libsasl2-2-modules for all packages that use the former in their depends or suggests. I ran a upgrade test with the fix (in the kvm auto-tester and it looks good). It does not break on the upgrade any longer. I will attach the upgrade log too (for verification). ** Attachment added: "proposed fix (requires transition)" http://launchpadlibrarian.net/13298185/cyrus-sasl2_2.1.22.dfsg1-18ubuntu2.debdiff -- Dapper to Hardy upgrade fails with slapd https://bugs.launchpad.net/bugs/213482 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 213482] Re: Dapper to Hardy upgrade fails with slapd
It should be sufficient to rename the libsasl2-modules-$foo packages for libsasl2-2 to libsasl2-2-modules-$foo to avoid the removal of libsasl2 (and thus libldap-2.2-7. Not sure if that has any unwanted side effects but I guess not (the reverse depends are tiny). -- Dapper to Hardy upgrade fails with slapd https://bugs.launchpad.net/bugs/213482 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 213482] Re: Dapper to Hardy upgrade fails with slapd
The database gets dumped/reloaded because the format changes. The libldap-2.2-7 that is needed to make slapcat work is removed because it depends on libsasl2 that is no longer available (replaced with libsasl2-2) and it has a exact version dependency on the libsasl2-modules packages (libsasl2 has the same for its version). This force libsasl to be removed and that in turn force libldap to get removed. -- Dapper to Hardy upgrade fails with slapd https://bugs.launchpad.net/bugs/213482 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 213482] Re: Dapper to Hardy upgrade fails with slapd
The problem is that slapcat is used in the slapd preinst but parts of the dependencies for it are no longer available: # ldd /usr/sbin/slapcat linux-vdso.so.1 => (0x7fff019ff000) libldap_r-2.2.so.7 => not found liblber-2.2.so.7 => not found libiodbc.so.2 => /usr/lib/libiodbc.so.2 (0x7f19f981d000) libslp.so.1 => /usr/lib/libslp.so.1 (0x7f19f9641000) libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x7f19f9428000) libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0x7f19f91de000) libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0x7f19f8e5e000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x7f19f8c26000) libresolv.so.2 => /lib/libresolv.so.2 (0x7f19f8a1) libpthread.so.0 => /lib/libpthread.so.0 (0x7f19f87f4000) libltdl.so.3 => /usr/lib/libltdl.so.3 (0x7f19f86ed000) libwrap.so.0 => /lib/libwrap.so.0 (0x7f19f85e4000) libc.so.6 => /lib/libc.so.6 (0x7f19f8282000) libiodbcinst.so.2 => /usr/lib/libiodbcinst.so.2 (0x7f19f8171000) libdl.so.2 => /lib/libdl.so.2 (0x7f19f7f6d000) libnsl.so.1 => /lib/libnsl.so.1 (0x7f19f7d54000) libz.so.1 => /usr/lib/libz.so.1 (0x7f19f7b3d000) /lib64/ld-linux-x86-64.so.2 (0x7f19f9752000) -- Dapper to Hardy upgrade fails with slapd https://bugs.launchpad.net/bugs/213482 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 213482] Re: Dapper to Hardy upgrade fails with slapd
I can reproduce this in a clean dapper chroot with slapd installed. The upgrade fails with the same error. -- Dapper to Hardy upgrade fails with slapd https://bugs.launchpad.net/bugs/213482 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 213482] Re: Dapper to Hardy upgrade fails with slapd
Thanks for your bugreport. It looks like the culprit are these lines: Preparing to replace slapd 2.2.26-5ubuntu2.6 (using .../slapd_2.4.7-6ubuntu2_i386.deb) ...^M Stopping OpenLDAP: slapd.^M Dumping to /var/backups/slapd-2.2.26-5ubuntu2.6: ^M - directory dc=salem,dc=edu... slapcat: error while loading shared libraries: libldap_r-2.2.so.7: cannot open shared object file: No such file or directory^M failed.^M dpkg: error processing /var/cache/apt/archives/slapd_2.4.7-6ubuntu2_i386.deb (--unpack):^M subprocess pre-installation script returned error exit status 1^M ** Changed in: openldap2.3 (Ubuntu) Sourcepackagename: update-manager => openldap2.3 Importance: Undecided => High Target: None => ubuntu-8.04 -- Dapper to Hardy upgrade fails with slapd https://bugs.launchpad.net/bugs/213482 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 213482] Re: Dapper to Hardy upgrade fails with slapd
** Changed in: update-manager (Ubuntu) Status: Incomplete => Triaged -- Dapper to Hardy upgrade fails with slapd https://bugs.launchpad.net/bugs/213482 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 213482] Re: Dapper to Hardy upgrade fails with slapd
That should be all of them, again let me know if you need anything else. ** Attachment added: "dist-upgrade/main_pre_req.log" http://launchpadlibrarian.net/13186301/main_pre_req.log -- Dapper to Hardy upgrade fails with slapd https://bugs.launchpad.net/bugs/213482 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 213482] Re: Dapper to Hardy upgrade fails with slapd
** Attachment added: "dist-upgrade/main.log" http://launchpadlibrarian.net/13186296/main.log -- Dapper to Hardy upgrade fails with slapd https://bugs.launchpad.net/bugs/213482 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 213482] Re: Dapper to Hardy upgrade fails with slapd
** Attachment added: "dist-upgrade/apt.log" http://launchpadlibrarian.net/13186290/apt.log -- Dapper to Hardy upgrade fails with slapd https://bugs.launchpad.net/bugs/213482 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 213482] Re: Dapper to Hardy upgrade fails with slapd
The other logs from /var/log/dist-upgrade would indeed be useful. As you noted the relevant point seems to be: dpkg: libsasl2: dependency problems, but removing anyway as you request: slapd depends on libsasl2 (>= 2.1.19.dfsg1); however: Package libsasl2 is to be removed. I tried to investigate the dependencies of libsasl2: sudo apt-cache showpkg libsasl2 Package: libsasl2 Versions: Reverse Depends: libsasl2-2,libsasl2 Dependencies: Provides: Reverse Provides: $ sudo apt-cache depends libsasl2-2 libsasl2-2 Depends: libc6 Depends: libdb4.2 |Depends: libsasl2-modules |Depends: libsasl2-modules-sql |Depends: libsasl2-modules-gssapi-heimdal Depends: Conflicts: postfix Conflicts: Conflicts: Replaces: ** Changed in: update-manager (Ubuntu) Status: New => Incomplete -- Dapper to Hardy upgrade fails with slapd https://bugs.launchpad.net/bugs/213482 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 213482] Re: Dapper to Hardy upgrade fails with slapd
** Attachment added: "dist-upgrade/apt-term.log" http://launchpadlibrarian.net/13177112/apt-term.log -- Dapper to Hardy upgrade fails with slapd https://bugs.launchpad.net/bugs/213482 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs