manual pages not installed correctly

Bug #324307 reported by Morten Kjeldgaard
6
Affects Status Importance Assigned to Milestone
postgresql-8.3 (Ubuntu)
Invalid
Undecided
Unassigned
Nominated for Hardy by Morten Kjeldgaard
Nominated for Intrepid by Morten Kjeldgaard
Nominated for Jaunty by Morten Kjeldgaard

Bug Description

Binary package hint: postgresql-8.3

The manual pages are not installed in /usr/share/man as required by policy section 12.1. Instead, they are installed in /usr/share/postgresql/8.3/man/man1/, which means they cannot be read by man without doing funny stuff to the MANPATH.

I have verified this to be the case for package, postgresql-client-8.3_8.3.5-0ubuntu8.10 from Intrepid Ibex.

Morten Kjeldgaard (mok0)
description: updated
Revision history for this message
Morten Kjeldgaard (mok0) wrote :

This patch makes the build put manpages in the /usr/man/ tree. Also adds clean target to remove temp cdbs files.

Revision history for this message
Morten Kjeldgaard (mok0) wrote :

PS: The above patch is for jaunty version.

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

This looks clearly wrong; it will result in conflicts between different postgresql-client-* packages (8.2, 8.3, etc.), which are currently coinstallable.

Isn't this already handled in the postinst? I see a _link_manpages function in /usr/share/postgresql-common/maintscripts-functions, which seems to be doing appropriate things with alternatives.

Revision history for this message
Morten Kjeldgaard (mok0) wrote :

I don't see why you'd want to co-install different versions of postgresql-client? Perhaps I'm missing something.

If the package is supposed to do things with alternatives (thanks for pointing it out, I missed that) it is not working. I noticed this bug on my own machine, when I needed to consult the manpages they were not found.

I will investigate a bit further.

Revision history for this message
Martin Pitt (pitti) wrote :

It's fine as they are. postgresql-common deals with making them available in the "normal" manpath for the latest version.

Changed in postgresql-8.3:
status: New → Invalid
Revision history for this message
Martin Pitt (pitti) wrote :

Morten, please see http://people.debian.org/~mpitt/architecture.html for the general idea of postgresql-common.

Revision history for this message
Morten Kjeldgaard (mok0) wrote :

Thanks for the URL, a good read. The upgrade path of postgresql is indeed very clever! I used to have lots of problems with it on Redhat-derived systems in the past.

The alternatives are apparently screwed up on my system, I've now fixed it for postgresql and the manpages show up as they should.

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

Other bug subscribers

Remote bug watches

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