man-db freezes on upgrading to 2.5.2-2 when updating man pages

Bug #370929 reported by cfsterpka
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
man-db (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: man-db

I've tried installing the upgrade to man-db several different ways (synaptic, dpkg offline install, apt-get) , and have not had success updating this package. It always freezes at the "Updating database of manual pages ..." status, and I've left the update running for 24hrs just to verify that it was not just taking a really long time. I'm not sure what else to try. I'm running intrepid 8.10 on an i386.

I also tried installing a few older versions with dpkg (2.5.2-1 and 2.5.1-4) with the same result.

cfsterpka (cfsterpka)
description: updated
Revision history for this message
Colin Watson (cjwatson) wrote :

Please attach the output of the following command:

  sudo -u man mandb -pd

Thanks in advance.

Changed in man-db (Ubuntu):
assignee: nobody → Colin Watson (cjwatson)
status: New → Incomplete
Revision history for this message
cfsterpka (cfsterpka) wrote :
Download full text (5.8 KiB)

Here it is:
--------------------
ruid=6, euid=6
++priv_drop_count = 1
From the config file /etc/manpath.config:

Mandatory mandir `/usr/man'.
Mandatory mandir `/usr/share/man'.
Mandatory mandir `/usr/local/share/man'.
Path `/bin' mapped to mandir `/usr/share/man'.
Path `/usr/bin' mapped to mandir `/usr/share/man'.
Path `/sbin' mapped to mandir `/usr/share/man'.
Path `/usr/sbin' mapped to mandir `/usr/share/man'.
Path `/usr/local/bin' mapped to mandir `/usr/local/man'.
Path `/usr/local/bin' mapped to mandir `/usr/local/share/man'.
Path `/usr/local/sbin' mapped to mandir `/usr/local/man'.
Path `/usr/local/sbin' mapped to mandir `/usr/local/share/man'.
Path `/usr/X11R6/bin' mapped to mandir `/usr/X11R6/man'.
Path `/usr/bin/X11' mapped to mandir `/usr/X11R6/man'.
Path `/usr/games' mapped to mandir `/usr/share/man'.
Path `/opt/bin' mapped to mandir `/opt/man'.
Path `/opt/sbin' mapped to mandir `/opt/man'.
Global mandir `/usr/man', catdir `/var/cache/man/fsstnd'.
--priv_drop_count = 0
creating catdir hierarchy /var/cache/man/fsstnd
++priv_drop_count = 1
Global mandir `/usr/share/man', catdir `/var/cache/man'.
--priv_drop_count = 0
creating catdir hierarchy /var/cache/man
++priv_drop_count = 1
Global mandir `/usr/local/man', catdir `/var/cache/man/oldlocal'.
--priv_drop_count = 0
creating catdir hierarchy /var/cache/man/oldlocal
++priv_drop_count = 1
Global mandir `/usr/local/share/man', catdir `/var/cache/man/local'.
--priv_drop_count = 0
creating catdir hierarchy /var/cache/man/local
++priv_drop_count = 1
Global mandir `/usr/X11R6/man', catdir `/var/cache/man/X11R6'.
--priv_drop_count = 0
creating catdir hierarchy /var/cache/man/X11R6
++priv_drop_count = 1
Global mandir `/opt/man', catdir `/var/cache/man/opt'.
--priv_drop_count = 0
creating catdir hierarchy /var/cache/man/opt
++priv_drop_count = 1
Added section `1'.
Added section `n'.
Added section `l'.
Added section `8'.
Added section `3'.
Added section `2'.
Added section `3posix'.
Added section `3pm'.
Added section `3perl'.
Added section `5'.
Added section `4'.
Added section `9'.
Added section `6'.
Added section `7'.
`/usr/man' `' `1'
`/usr/share/man' `' `1'
`/usr/local/share/man' `' `1'
`/bin' `/usr/share/man' `0'
`/usr/bin' `/usr/share/man' `0'
`/sbin' `/usr/share/man' `0'
`/usr/sbin' `/usr/share/man' `0'
`/usr/local/bin' `/usr/local/man' `0'
`/usr/local/bin' `/usr/local/share/man' `0'
`/usr/local/sbin' `/usr/local/man' `0'
`/usr/local/sbin' `/usr/local/share/man' `0'
`/usr/X11R6/bin' `/usr/X11R6/man' `0'
`/usr/bin/X11' `/usr/X11R6/man' `0'
`/usr/games' `/usr/share/man' `0'
`/opt/bin' `/opt/man' `0'
`/opt/sbin' `/opt/man' `0'
`/usr/man' `/var/cache/man/fsstnd' `-1'
`/usr/share/man' `/var/cache/man' `-1'
`/usr/local/man' `/var/cache/man/oldlocal' `-1'
`/usr/local/share/man' `/var/cache/man/local' `-1'
`/usr/X11R6/man' `/var/cache/man/X11R6' `-1'
`/opt/man' `/var/cache/man/opt' `-1'
`1' `' `-5'
`n' `' `-5'
`l' `' `-5'
`8' `' `-5'
`3' `' `-5'
`2' `' `-5'
`3posix' `' `-5'
`3pm' `' `-5'
`3perl' `' `-5'
`5' `' `-5'
`4' `' `-5'
`9' `' `-5'
`6' `' `-5'
`7' `' `-5'

path directory /usr/local/sbin is in the config file
adding /usr/local/man to manpath
adding /usr/local/share/man to manpath

path d...

Read more...

Revision history for this message
Colin Watson (cjwatson) wrote :

OK, it's clearly hanging in dbstore(). Could you attach /var/cache/man/index.db to this bug, please? It shouldn't contain anything sensitive.

Revision history for this message
cfsterpka (cfsterpka) wrote :
Colin Watson (cjwatson)
Changed in man-db (Ubuntu):
status: Incomplete → Confirmed
assignee: Colin Watson (cjwatson) → nobody
Revision history for this message
xychix (xychix) wrote :

if i type

  sudo -u man mandb -pd

the output is an infinitive loop

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.