After going to grub2, /usr/share/man/man8/grub.8.gz not cleaned up

Bug #411520 reported by Ryan on 2009-08-10
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
man-db (Debian)
New
Unknown
man-db (Ubuntu)
Wishlist
Unassigned

Bug Description

Binary package hint: grub-pc

After upgrading to grub2/grub-pc, it looks like some of the man page entries aren't cleaned up. (eg the files were removed, but man still thinks these files exist.

man --wildcard grub
man: can't resolve /usr/share/man/man8/grub.8.gz: No such file or directory
man: can't resolve /usr/share/man/man8/grub-reboot.8.gz: No such file or directory

$ lsb_release -rd
Description: Ubuntu karmic (development branch)
Release: 9.10

$ apt-cache policy grub-pc
grub-pc:
  Installed: 1.96+20090725-1ubuntu2
  Candidate: 1.96+20090725-1ubuntu2
  Version table:
 *** 1.96+20090725-1ubuntu2 0
        500 http://archive.ubuntu.com karmic/main Packages
        100 /var/lib/dpkg/status

$ apt-cache policy grub-common
grub-common:
  Installed: 1.96+20090725-1ubuntu2
  Candidate: 1.96+20090725-1ubuntu2
  Version table:
 *** 1.96+20090725-1ubuntu2 0
        500 http://archive.ubuntu.com karmic/main Packages
        100 /var/lib/dpkg/status

$ dpkg-query -l |grep -i grub
rc grub 0.97-29ubuntu56 GRand Unified Bootloader
ii grub-common 1.96+20090725-1ubuntu2 GRand Unified Bootloader, version 2 (common
ii grub-pc 1.96+20090725-1ubuntu2 GRand Unified Bootloader, version 2 (PC/BIOS

Ryan (ubuntu-draziw) wrote :
Download full text (8.3 KiB)

fwiw After running mandb -c, the old references were removed.

# mandb -c
Processing manual pages under /usr/share/man...
Updating index cache for path `/usr/share/man/man1'. Wait...mandb: warning: /usr/share/man/man1/evolution-2.25.5.gz: ignoring bogus filename
mandb: warning: /usr/share/man/man1/gst-xmlinspect-0.10.1*: competing extensions
Updating index cache for path `/usr/share/man/man5'. Wait...mandb: warning: /usr/share/man/man5/modprobe.d.5 is a dangling symlink
Updating index cache for path `/usr/share/man/man7'. Wait...done.
Checking for stray cats under /usr/share/man...
Checking for stray cats under /var/cache/man...
Processing manual pages under /usr/share/man/pl.ISO8859-2...
Updating index cache for path `/usr/share/man/pl.ISO8859-2/man1'. Wait...done.
Checking for stray cats under /usr/share/man/pl.ISO8859-2...
Checking for stray cats under /var/cache/man/pl.ISO8859-2...
Processing manual pages under /usr/share/man/vi...
Updating index cache for path `/usr/share/man/vi/man7'. Wait...done.
Checking for stray cats under /usr/share/man/vi...
Checking for stray cats under /var/cache/man/vi...
Processing manual pages under /usr/share/man/fr...
Updating index cache for path `/usr/share/man/fr/man7'. Wait...done.
Checking for stray cats under /usr/share/man/fr...
Checking for stray cats under /var/cache/man/fr...
Processing manual pages under /usr/share/man/hu...
Updating index cache for path `/usr/share/man/hu/man8'. Wait...done.
Checking for stray cats under /usr/share/man/hu...
Checking for stray cats under /var/cache/man/hu...
Processing manual pages under /usr/share/man/id...
Updating index cache for path `/usr/share/man/id/man8'. Wait...done.
Checking for stray cats under /usr/share/man/id...
Checking for stray cats under /var/cache/man/id...
Processing manual pages under /usr/share/man/fi...
Updating index cache for path `/usr/share/man/fi/man8'. Wait...done.
Checking for stray cats under /usr/share/man/fi...
Checking for stray cats under /var/cache/man/fi...
Processing manual pages under /usr/share/man/zh_CN...
Updating index cache for path `/usr/share/man/zh_CN/man8'. Wait...done.
Checking for stray cats under /usr/share/man/zh_CN...
Checking for stray cats under /var/cache/man/zh_CN...
Processing manual pages under /usr/share/man/gl...
Updating index cache for path `/usr/share/man/gl/man8'. Wait...done.
Checking for stray cats under /usr/share/man/gl...
Checking for stray cats under /var/cache/man/gl...
Processing manual pages under /usr/share/man/fr.ISO8859-1...
Updating index cache for path `/usr/share/man/fr.ISO8859-1/man1'. Wait...done.
Checking for stray cats under /usr/share/man/fr.ISO8859-1...
Checking for stray cats under /var/cache/man/fr.ISO8859-1...
Processing manual pages under /usr/share/man/it.UTF-8...
Updating index cache for path `/usr/share/man/it.UTF-8/man1'. Wait...done.
Checking for stray cats under /usr/share/man/it.UTF-8...
Checking for stray cats under /var/cache/man/it.UTF-8...
Processing manual pages under /usr/share/man/nl...
Updating index cache for path `/usr/share/man/nl/man1'. Wait...done.
Checking for stray cats under /usr/share/man/nl...
Checking for stray cats under /var/cache/man/nl...
Proce...

Read more...

Colin Watson (cjwatson) wrote :

This is actually a bug in man-db, not grub(2), although it's not particularly easy to fix while retaining reasonable performance. See my comments in the Debian bug report I'm about to link to this one.

affects: grub2 (Ubuntu) → man-db (Ubuntu)
Changed in man-db (Ubuntu):
importance: Undecided → Wishlist
status: New → Triaged
Changed in man-db (Debian):
status: Unknown → New
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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