[Pkg-torrus-maintainers] Bug#476356: Bug#476356: After upgrade torrus fails with DB_VERSION_MISMATCH
Marc Haber
mh+debian-packages at zugschlus.de
Sun May 4 08:33:18 UTC 2008
tags #476356 help
thanks
On Wed, Apr 16, 2008 at 11:08:14AM +0200, Joerg Dorchain wrote:
> while this sounds similiar to #408949, I think I found out the chain of
> effects. torrus-common depends on libberkeleydb-perl, which in turn
> depends on libdbX.X, what ever the current version is.
>
> The latest update upgraded libdb from version 4.4 to 4.6, leading to the
> failure of torrus.
Ouch.
> Is there a way to add this as a hook somewhere to be executed
> automatically when need, i.e. on the libdb dependency update of
> libberkeleydb-perl ? Running db_recover when not necessary has no bad
> effects.
Other than shipping a yet-to-be-written perl script that uses
libberkeleydb-perl and tries to open the torrus databases, I am not
aware of any. We could invoke that script from postinst and run
db_recover if the script fails.
Unfortunately, I do currently not have the time to write this
ten-liner as I don't know enough about berkeley db. I am therefore
tagging this bug "help" and would appreciate if somebody could write
such a script.
> If that is not easily possible, mentioning the command in a README would
> be a good thing(TM) IMHO.
I have added this to README.Debian.
Greetings
Marc
--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190
More information about the Pkg-torrus-maintainers
mailing list