On Sun, May 20, 2012 at 20:07:40 -0000, Paul Crawford wrote:
> But trying this on a 32-bit 10.04 machine (not normally with this file
> available) I get something vaguely familiar:
>
> $ /usr/sbin/accessdb /packages/local/share/man/index.db
> gdbm fatal: read error
>
> So it seems the underlying issue is the database has no indication (or
> handling) of 64-bit versus 32-bit data! That seems to me to be a
I can confirm that if I copy /var/cache/man/index.db from a 64-bit
machine to a 32-bit Lucid machine, I get the same error:
On Sun, May 20, 2012 at 20:07:40 -0000, Paul Crawford wrote: local/share/ man/index. db
> But trying this on a 32-bit 10.04 machine (not normally with this file
> available) I get something vaguely familiar:
>
> $ /usr/sbin/accessdb /packages/
> gdbm fatal: read error
>
> So it seems the underlying issue is the database has no indication (or
> handling) of 64-bit versus 32-bit data! That seems to me to be a
I can confirm that if I copy /var/cache/ man/index. db from a 64-bit
machine to a 32-bit Lucid machine, I get the same error:
$ uname -m db_x86_ 64
i686
$ lsb_release -r
Release: 10.04
$ accessdb mandb_index.
gdbm fatal: read error
That same operation on a Precise 32-bit machine fails with a slightly
different error message:
$ uname -m db_x86_ 64 db_x86_ 64 for reading
i686
$ lsb_release -r
Release: 12.04
$ accessdb mandb_index.
accessdb: can't open mandb_index.
Opening this _x86_64 file on a 64-bit Lucid machine works fine.... but
on that machine the _i686 file fails:
$ uname -m
x86_64
$ lsb_release -r
Release: 10.04
$ accessdb mandb_index.db_i686 | less
accessdb: can't open mandb_index.db_i686 for reading: Invalid argument
Nathan