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:

  $ uname -m
  i686
  $ lsb_release -r
  Release:        10.04
  $ accessdb mandb_index.db_x86_64 
  gdbm fatal: read error

That same operation on a Precise 32-bit machine fails with a slightly 
different error message:

  $ uname -m
  i686
  $ lsb_release -r
  Release:        12.04
  $ accessdb mandb_index.db_x86_64 
  accessdb: can't open mandb_index.db_x86_64 for reading


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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1001189

Title:
  'man' command fails with lseek error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/man-db/+bug/1001189/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to