Linux man-pages:   home | contributing | bugs | patches | download   ||   online pages

What version of man-pages do I have?

When making bug reports, please specify what version of man-pages you are using. (To make my life easier still, you could download the latest version of the man-pages tarball, or look in the online pages and check if the bug is still present.)

Since man-pages-2.69, you can see what version of man-pages a page comes from by looking in the COLOPHON section at the end of the page.

If your system has an older version of man-pages then you can determine the version as described below. By way of example, here's how to find the version of man-pages containing the chown(2) man page.

RPM-based distributions

On an RPM-based distribution (e.g., SUSE, Red Hat, Mandriva), use the following:

$ rpm -qf $(man -w <section> <page-name>)

For example:

$ rpm -qf $(man -w 2 chown)
man-pages-2.41-11

If you do not see the string "man-pages" in the output, then the page you are looking at is not part of man-pages, and you need to look here.

Debian-based distributions

On a Debian-based distribution (e.g., Debian, Knoppix, Ubuntu), we can use dpkg command:

$ dpkg -S $(man -w <section> <page-name>)

This should print a line that contains the string "manpages" or "manpages-dev". If it does not, then you need to look here.

The dpkg -p command can then be used to find out the upstream version of man-pages from which the Debian "manpages" or "manpages-dev" package has been taken. For example:

$ dpkg -S $(man -w 2 chown)
manpages-dev: /usr/share/man/man2/chown.2.gz
$ dpkg -p manpages-dev | grep Version
Version: 2.39-1

Gentoo

On Gentoo, we can use the equery belongs command to do similar:

$ equery belongs $(man -w <section> <page-name>)

For example:

$ equery belongs $(man -w 2 chown)
sys-apps/man-pages-2.63

If you do not see the string "man-pages" in the output, then the page you are looking at is not part of man-pages, and you need to look here.

Other distributions

(FIXME: add instructions for doing the equivalent of the above on distributions that use other schemes.)