Bug#716723: sasl2-bin: subprocess installed post-installation script returned error exit status 1

Johannes Schlumberger asso at doriath.informatik.uni-erlangen.de
Fri Jan 31 02:56:39 UTC 2014


Hi Roberto,
good work on this issue. I think you are correct, the file was originally
created on an ultrasparc 10 which is big endian, and has later been moved to an
x86 machine.
the bug can be closed.
thanks,
	Johannes

> > Hi Roberto,
> > thank you for looking into this. I will send you a link to the sasldb2 file in a
> > personal separate email for you investigation (would you please provide me with
> > an address?). Please keep the contents of this file private. You may share the
> > contents and the file with other package maintainers or who else you see fit to
> > work on this bug, provided they also keep it private.
> 
> Johannes,
> 
> I believe that I have figured out the problem.
> 
> It appears that you created the sasldb2 file on a big endian machine and
> then later moved it to a little endian machine.  This causes the upgrade
> to fail.
> 
> Here is what happens on my amd64 system:
> 
> roberto at miami:/var/lib/chroot/squeeze/etc$ sudo db5.1_upgrade sasldb2 
> db5.1_upgrade: sasldb2: DB->upgrade only supported on native byte-order systems
> db5.1_upgrade: DB->upgrade: sasldb2: Invalid argument
> roberto at miami:/var/lib/chroot/squeeze/etc$ file sasldb2 
> sasldb2: Berkeley DB (Hash, version 8, big-endian)
> 
> I temporarily transferred the file over to a PowerPC porterbox, and here
> is what happens:
> 
> (sid_powerpc-dchroot)roberto at partch:~$ db5.1_upgrade sasldb2 
> (sid_powerpc-dchroot)roberto at partch:~$ logout
> roberto at partch:~$ file sasldb2 
> sasldb2: Berkeley DB (Hash, version 9, native byte-order)
> 
> Based on this, I believe that this is not a bug in the sasl2-bin
> package.  I believe that you can correct this by dumping the contents
> using the db4.8_dump command and then recreating the database on your
> system.
> 
> If you agree, I would like to close this bug report.
> 
> Regards,
> 
> -Roberto
> 
> -- 
> Roberto C. Sánchez
> http://people.connexer.com/~roberto
> http://www.connexer.com


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-cyrus-sasl2-debian-devel/attachments/20140131/179fbd1e/attachment-0001.sig>


More information about the Pkg-cyrus-sasl2-debian-devel mailing list