[Bug 555917] Re: Upgrade from Karmic to Lucid leaves broken netatalk caches
** Description changed: Binary package hint: netatalk - The upgrade from Karmic to Lucid leaves behind the .AppleDB caches in - the shares, used by afpd for metadata. The format for this metadata has - changed again, and the new version of netatalk can not read the old - data, and will return error messages on attempts to access shares with - old metadata caches. + The upgrade from Karmic to Lucid leaves behind the .AppleDB metadata + store in the shares, used by afpd for metadata. The bdb version for this + metadata has changed again, and the new version of netatalk can not read + the old data, and will return error messages on attempts to access + shares with old metadata caches. The work-around is to delete these caches manually. But it would be preferable for the install package to either - * Scan for shares, and upgrade the metadata stores, - * Scan for shares, and delete the metadata stores. - * Notify the user of the need to upgrade/manually delete metadata stores. + * Scan for shares, and upgrade the metadata stores, + * Scan for shares, and delete the metadata stores. + * Notify the user of the need to upgrade/manually delete metadata stores. This is an old bug (http://lists.apple.com/archives/macosx- interop/2007/Jul/msg2.html) that keeps coming up every time netatalk - changes their metadata format. + is compiled against a different version of bdb. ** Changed in: netatalk (Ubuntu) Status: New = Confirmed -- Upgrade from Karmic to Lucid leaves broken netatalk caches https://bugs.launchpad.net/bugs/555917 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 555917] Re: Upgrade from Karmic to Lucid leaves broken netatalk caches
Note 1: .AppleDB is NOT a cache, but instead it's the place where a consistent filename/dirname - CNID mapping is stored. Delete it, every file/dir will be assigned a new and different CNID, such that a) Aliases will loose their ability to maintain reference to the original in case the original is moved and b) linked documents (eg. InDesign/Quark) loose the same coupling leaving only the path relationship to resolve the link. Note 2: The internal metadata format is a term that only makes sense in relation to the data in the .AppleDouble directories, and this too has NOT changed. What probably has changed is that Netatalk in lucid links against a newer version of BerkeleyDB then the one in Karmic. Unfortunately solving this upgrade problem is difficult with Netatalk 2.0.x. Some instructions can be found in the Netatalk Wiki: https://sourceforge.net/apps/mediawiki/netatalk/index.php?title=Upgrading_BerkeleyDB Starting with the upcoming version 2.1 Netatalk will be able to upgrade its databases without manual intervention. HTH, Frank Netatalk Developer, Consulting and Services http://www.netafp.com/ -- Upgrade from Karmic to Lucid leaves broken netatalk caches https://bugs.launchpad.net/bugs/555917 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 555917] Re: Upgrade from Karmic to Lucid leaves broken netatalk caches
Any chance of this being backported to 2.0 in time for Lucid's release? -- Upgrade from Karmic to Lucid leaves broken netatalk caches https://bugs.launchpad.net/bugs/555917 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 555917] Re: Upgrade from Karmic to Lucid leaves broken netatalk caches
Sorry, no chance, too involved. The final release of 2.1 is scheduled end of April. Any chance to pick that up in Lucid? -- Upgrade from Karmic to Lucid leaves broken netatalk caches https://bugs.launchpad.net/bugs/555917 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 555917] Re: Upgrade from Karmic to Lucid leaves broken netatalk caches
Feature freeze was on February 18th. https://wiki.ubuntu.com/LucidReleaseSchedule -- Upgrade from Karmic to Lucid leaves broken netatalk caches https://bugs.launchpad.net/bugs/555917 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 555917] Re: Upgrade from Karmic to Lucid leaves broken netatalk caches
Too bad. Lucid is gonna miss an important Netatalk release. -- Upgrade from Karmic to Lucid leaves broken netatalk caches https://bugs.launchpad.net/bugs/555917 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 555917] Re: Upgrade from Karmic to Lucid leaves broken netatalk caches
A quickly hacked together db upgrade script based on cnid_maint, goes through each defined share and updates *.db in .Apple_DB No verification, and it might lose data if the database was in a bad state before the upgrade. ** Attachment added: cnid_upgrade http://launchpadlibrarian.net/43243708/cnid_upgrade -- Upgrade from Karmic to Lucid leaves broken netatalk caches https://bugs.launchpad.net/bugs/555917 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