Didn't quite fix it.  The __db.* files need to be deleted before the the call
to db4.7_load, otherwise the latter complaims about a version mismatch.  At
least, that was my experience.

On Tue, Jun 16, 2009 at 10:06:18PM +0000, Debian Bug Tracking System wrote:
> 
> This is an automatic notification regarding your Bug report
> which was filed against the netatalk package:
> 
> #533344: db upgrade related errors in README.Debian
> 
> It has been closed by Jonas Smedegaard <d...@jones.dk>.
> 
> Their explanation is attached below along with your original report.
> If this explanation is unsatisfactory and you have not received a
> better one in a separate message then please contact Jonas Smedegaard 
> <d...@jones.dk> by
> replying to this email.
> 
> 
> -- 
> 533344: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=533344
> Debian Bug Tracking System
> Contact ow...@bugs.debian.org with problems

> From: Jonas Smedegaard <d...@jones.dk>
> To: 533344-cl...@bugs.debian.org
> Date: Tue, 16 Jun 2009 22:03:43 +0000
> Subject: Bug#533344: fixed in netatalk 2.0.4-1
> 
> Source: netatalk
> Source-Version: 2.0.4-1
> 
> We believe that the bug you reported is fixed in the latest version of
> netatalk, which is due to be installed in the Debian FTP archive:
> 
> netatalk_2.0.4-1.diff.gz
>   to pool/main/n/netatalk/netatalk_2.0.4-1.diff.gz
> netatalk_2.0.4-1.dsc
>   to pool/main/n/netatalk/netatalk_2.0.4-1.dsc
> netatalk_2.0.4-1_amd64.deb
>   to pool/main/n/netatalk/netatalk_2.0.4-1_amd64.deb
> netatalk_2.0.4.orig.tar.gz
>   to pool/main/n/netatalk/netatalk_2.0.4.orig.tar.gz
> 
> 
> 
> A summary of the changes between this version and the previous one is
> attached.
> 
> Thank you for reporting the bug, which will now be closed.  If you
> have further comments please address them to 533...@bugs.debian.org,
> and the maintainer will reopen the bug report if appropriate.
> 
> Debian distribution maintenance software
> pp.
> Jonas Smedegaard <d...@jones.dk> (supplier of updated netatalk package)
> 
> (This message was generated automatically at their request; if you
> believe that there is a problem with it please contact the archive
> administrators by mailing ftpmas...@debian.org)
> 
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: RIPEMD160
> 
> Format: 1.8
> Date: Tue, 16 Jun 2009 23:32:48 +0200
> Source: netatalk
> Binary: netatalk
> Architecture: source amd64
> Version: 2.0.4-1
> Distribution: unstable
> Urgency: low
> Maintainer: Jonas Smedegaard <d...@jones.dk>
> Changed-By: Jonas Smedegaard <d...@jones.dk>
> Description: 
>  netatalk   - AppleTalk user binaries
> Closes: 533141 533344 533345
> Changes: 
>  netatalk (2.0.4-1) unstable; urgency=low
>  .
>    * New upstream release.
>    * Update local CDBS snippets:
>      + Fix package-relations cleanup of debhelper 7
>      + Implement fail-source-not-repackaged rule in upstream-tarball.mk
>      + Update URL to draft DEP5 format in copyright-check.mk output
>    * Add proper copyright header to debian/rules.
>    * Rewrite copyright to use DEP5 r54 proposed machine-readable format.
>    * Fix and improve db upgrade commands in README.Debian, and adjust
>      NEWS. Closes: bug#533344, thanks to Itai Seggev.
>    * Update dependencies:
>      + Suggest texlive-base-bin (not tetex-bin). Closes: bug#533345,
>        thanks to Itai Seggev
>      + Suggest (not recommend) libpam-cracklib
>      + Build-depend on libcups2-dev (not libcupsys2-dev), thanks to
>        lintian
>    * Fix patches against autogenerated files:
>      + Renumber patches 208, 209 and 211 to have them applied last.
>      + Rewrite and rename patch 109 to unconditionally avoid broken xfs
>        quota, and add new patch 294 doing the same to autogenerated
>        configure script.
>      + Disable patches 107 and 112 to avoid maintaining complex autotools
>        patch for feature we do not currently use anyway (zeroconf).
>      Together, above closes: bug#533141, thanks to Itai Seggev and Frank
>      Lahm.
>    * Drop Uploaders stanza: I am already maintainer (lintian complains),
>      and Sebastian haven't contributed for a couple of years (package is
>      in LowNMU and collab-maint: contributions are still welcome!).
> Checksums-Sha1: 
>  fd560e401a8235f9554f91d21a4b4e1bd87ba09e 1462 netatalk_2.0.4-1.dsc
>  c5c46eca6a17d88c327f4052add20d75aeb174bb 1345860 netatalk_2.0.4.orig.tar.gz
>  3a1fe567e96f64d362a6eb275d35eb2f1c5036f7 56102 netatalk_2.0.4-1.diff.gz
>  0a8499b33efb5140cdcf1347b557974a55410200 971812 netatalk_2.0.4-1_amd64.deb
> Checksums-Sha256: 
>  17c12e312bca465b040366d689ca0eca25f59a09d6a751018ae8330fe2d04598 1462 
> netatalk_2.0.4-1.dsc
>  3b5099f4bbe0f6e54e5fe04796d5563d907fb77b24b593031b299037df4c76cc 1345860 
> netatalk_2.0.4.orig.tar.gz
>  bb85051209a6276c4eabf0dcaff612f6c3a41f82f3ec46bcbd29039c1e085a14 56102 
> netatalk_2.0.4-1.diff.gz
>  0eef0ff9de1102c8f2d01a03caafe0175ad28a45c76b12079eec2e0890905cc1 971812 
> netatalk_2.0.4-1_amd64.deb
> Files: 
>  b81cfa57aef2690305a95156810b3691 1462 net extra netatalk_2.0.4-1.dsc
>  f9ce650643f6289dc068984adeaf54b9 1345860 net extra netatalk_2.0.4.orig.tar.gz
>  7847eb8160cbbaacd7317421113eec77 56102 net extra netatalk_2.0.4-1.diff.gz
>  8a8f9ae86fc38edb5b60bb6406c2a9cf 971812 net extra netatalk_2.0.4-1_amd64.deb
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> 
> iEYEAREDAAYFAko4ErQACgkQn7DbMsAkQLjsfwCfXh0oOhj2EkdNGElsSd7bF/rz
> 0+cAoKKQnYqMWel4Iwgo0XYKW3Pm9WGC
> =3FTz
> -----END PGP SIGNATURE-----
> 
> 

> From: Itai Seggev <is+deb...@cs.hmc.edu>
> To: Debian Bug Tracking System <sub...@bugs.debian.org>
> Date: Tue, 16 Jun 2009 12:51:22 -0500
> Subject: db upgrade related errors in README.Debian
> X-Mailer: reportbug 4.4
> 
> Package: netatalk
> Version: 2.0.4~rc2-1
> Severity: minor
> 
> There are three errors in the "Upgrading Problems" section of
> /usr/share/doc/netatalk/README.Debian.
> 
> 1) In addition to the errors like those in #200373, a db version mismatch can
> prevent a connection from being made at all.  Log file reproduced below to
> show that I am not delusional.  (This is the issue I mentioned as a BTW in my
> previous bug report.  I thought it was due to needing SSL to connect with
> Leopard, but after additional research I discovered that it was a db version
> problem.)
> 
> 2) The `find $APPLE_DIR -name ".AppleDB/*.db"` in the suggested upgrade 
> command
> is doomed to failure, as -name matches the tail of the name only.  Something
> like `find $APPLE_DIR -wholename "*.AppleDB/*.db"` would be better.
> 
> 3) The upgrade command is missing "rm -f __db.*".  If you don't erase these,
> you get an error message which looks like the following. 
> 
> db4.7_load: Program version 4.7 doesn't match environment version 4.2
> db4.7_load: DB_ENV->open: DB_VERSION_MISMATCH: Database environment version 
> mismatch 
> 
> -----------------------------------Begin Log 
> Extract---------------------------
> 
> Jun 16 00:59:29 cavy-v4 afpd[13933]: DHX2 login: iseggev
> Jun 16 00:59:30 cavy-v4 afpd[13933]: DHX2: logincont2 alive!
> Jun 16 00:59:30 cavy-v4 afpd[13933]: PAM DHX2: PAM Success
> Jun 16 00:59:30 cavy-v4 afpd[13933]: DHX2: PAM Auth OK!
> Jun 16 00:59:30 cavy-v4 afpd[13933]: login iseggev (uid xxxx, gid yyyy) AFP3.1
> Jun 16 00:59:30 cavy-v4 afpd[13933]: Setting uid/gid to 0/0
> Jun 16 00:59:30 cavy-v4 afpd[13933]: Warning: No CNID scheme for volume
> /home/iseggev. Using default.
> Jun 16 00:59:30 cavy-v4 afpd[13933]: Setting uid/gid to xxxx/yyyy
> Jun 16 00:59:30 cavy-v4 afpd[13933]: cnid_open: dbenv->open (rw) of
> /home/iseggev/.AppleDB failed: DB_VERSION_MISMATCH: Database environment
> version mismatch
> Jun 16 00:59:30 cavy-v4 afpd[13933]: cnid_open: dbenv->open of
> /home/iseggev/.AppleDB failed: DB_VERSION_MISMATCH: Database environment
> version mismatch
> Jun 16 00:59:30 cavy-v4 afpd[13933]: Cannot open CNID db at [/home/iseggev].
> Jun 16 00:59:30 cavy-v4 afpd[13933]: Fatal error: cannot open CNID or invalid
> CNID backend for /home/iseggev: cdb
> Jun 16 00:59:30 cavy-v4 afpd[13933]: logout iseggev
> Jun 16 00:59:30 cavy-v4 afpd[13933]: 0.66KB read, 0.53KB written
> Jun 16 00:59:30 cavy-v4 afpd[13917]: server_child[1] 13933 done
> 
> -----------------------------------End Log 
> Extract-----------------------------
> 
> -- System Information:
> Debian Release: squeeze/sid
>   APT prefers testing
>   APT policy: (750, 'testing'), (110, 'unstable'), (101, 'experimental'), 
> (10, 'stable')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 2.6.26-2-amd64 (SMP w/4 CPU cores)
> Locale: LANG=he_IL.UTF-8, LC_CTYPE=he_IL.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/bash
> 
> Versions of packages netatalk depends on:
> ii  libc6                2.9-12              GNU C Library: Shared libraries
> ii  libcomerr2           1.41.3-1            common error description library
> ii  libcrack2            2.8.13-9            pro-active password checker 
> librar
> ii  libcups2             1.3.10-2            Common UNIX Printing System(tm) 
> - 
> ii  libdb4.7             4.7.25-6            Berkeley v4.7 Database Libraries 
> [
> ii  libgcrypt11          1.4.4-2             LGPL Crypto library - runtime 
> libr
> ii  libgnutls26          2.6.6-1             the GNU TLS library - runtime 
> libr
> ii  libgssapi-krb5-2     1.6.dfsg.4~beta1-13 MIT Kerberos runtime libraries - 
> k
> ii  libk5crypto3         1.6.dfsg.4~beta1-13 MIT Kerberos runtime libraries - 
> C
> ii  libkrb5-3            1.6.dfsg.4~beta1-13 MIT Kerberos runtime libraries
> ii  libpam-modules       1.0.1-9             Pluggable Authentication Modules 
> f
> ii  libpam0g             1.0.1-9             Pluggable Authentication Modules 
> l
> ii  libwrap0             7.6.q-16            Wietse Venema's TCP wrappers 
> libra
> ii  netbase              4.34                Basic TCP/IP networking system
> ii  perl                 5.10.0-22           Larry Wall's Practical 
> Extraction 
> ii  zlib1g               1:1.2.3.3.dfsg-13   compression library - runtime
> 
> Versions of packages netatalk recommends:
> ii  cracklib-runtime           2.8.13-9      runtime support for password 
> check
> ii  db4.7-util                 4.7.25-6      Berkeley v4.7 Database Utilities
> pn  libpam-cracklib            <none>        (no description available)
> ii  lsof                       4.81.dfsg.1-1 List open files
> ii  procps                     1:3.2.8-1     /proc file system utilities
> pn  rc                         <none>        (no description available)
> 
> Versions of packages netatalk suggests:
> ii  db4.2-util                 4.2.52+dfsg-5 Berkeley v4.2 Database Utilities
> pn  quota                      <none>        (no description available)
> pn  tetex-bin                  <none>        (no description available)
> ii  timeout                    1.18-3        run a command with a time limit
> 
> -- no debconf information
> 
> 

--
Itai

Itai Seggev, Knox College, Mathematics Department 

In 1997 a group of programmers started writing a desktop environment to fix a
travesty they didn't create.  Their program promptly found its way onto un*x
systems everywhere. Today, still opposed by a software monopolist, they survive
as soldiers of fortune.  If you share their vision, if you know you can help,
and if you can connect to internet, maybe you can join... the K-Team.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to