no (or bad) support for diverted or conflicting man pages

Bug #606456 reported by Scott Moser on 2010-07-16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Ubuntu Manpage Repository

Bug Description

I'm guessing its a very similar root cause, to bug 336328 or bug 544332.
shows the man page is from loop-aes-utils_2.15.1~rc1-2ubuntu1_i386 .

More likely, on a user's system, 'mount' provides /usr/share/man/man5/fstab.5.gz

In the debs, both loop-aes-utils and mount provide fstab.5.gz. loop-aes-utils diverts /usr/share/man/man5/fstab.5.gz to /usr/share/man/man5/fstab-orig.5.gz

In the processing of the archive, loop-aes-utils man page "won", although it is less complete in some respects.

One potential work around for this (and possibly the other bugs) would be to collect all versions of a man page, and if there was more than one, provide links to the specific ones.
Basically, providing per-package man pages if a collision occured.

Dustin Kirkland  (kirkland) wrote :

Confirmed, known, long standing issue with no simple solution.

Ideally, the package installing the conflicting manpage would respect the global namespace, and add an iterator within its manpage file naming.

Search for "open":

There's a section 3 for open, for perl, tcl, and posix.

That's much cleaner.

Changed in ubuntu-manpage-repository:
status: New → Triaged
importance: Undecided → Medium
Clint Byrum (clint-fewbar) wrote :

The iterator is helpful and definitely a best practice. we should report bugs on any packages that don't respect that namespace.

However, even in that situation, its not clear how to link to the output of 'man 3 open' that one would expect on a default or common install.

This one is particularly troubling:

This is particularly frustrating as the best practice on learning about upstart is 'read man 5 init' .. but if you try to use the web to do it, you get runit-run, which is an init replacement from universe.

Seems that one simple thing to do would be to make sure the repositories are generated in least important -> most. So at least do main *last* so that its man pages will overwrite those of any other repository.

That can be fixed by switching the default order that is used right now.

Longer term, I'm testing a fix right now that builds an index file of conflicting pages so you get the Provided by's with links to each page.

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

Other bug subscribers