Bug 15939 - Man pages is empty
Summary: Man pages is empty
Status: RESOLVED INVALID
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal major
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-14 22:42 CEST by Raphael Gertz
Modified: 2015-05-18 04:28 CEST (History)
1 user (show)

See Also:
Source RPM: man-1.6g-10.mga5.src.rpm
CVE:
Status comment:


Attachments

Description Raphael Gertz 2015-05-14 22:42:57 CEST
Description of problem:
No man pages seems to be installed in the system.

It is likely there is a problem in hooks or something, because man-pages-fr has the same problem...

Version-Release number of selected component (if applicable):
man-pages-3.82-1.mga5

How reproducible:
Always

Steps to Reproduce:
1. urpmi man-pages
2. for i in `rpm -ql man-pages`; do test -f $i && echo $i; done
/etc/cron.weekly/makewhatis-en.cron
/usr/share/man/whatis
3. man umask
No manual entry for umask

Reproducible: 

Steps to Reproduce:
Comment 1 Samuel Verschelde 2015-05-14 23:56:15 CEST
What installation medium did you use? I think RPMs in LiveCD and LiveDVD get stripped from documentation for size contraints (although for man-pages that would not be very smart from us)

Can you look at the RPM actual contents (on the mirrors) and see if it's empty or not?
Comment 2 Raphael Gertz 2015-05-15 00:20:46 CEST
I re-installed from mirror, I even tried to install it in a chroot with :
urpmi --root=/tmp/root man-pages

And the content of the man-pages is still empty in the chroot (except the two files cited above).

I installed from cooker remote install minimal non-free cd.
Comment 3 David Walser 2015-05-15 01:43:29 CEST
I can confirm that this is certainly INVALID.  The package is not empty.  man-pages-fr is also unrelated as it's generated from its own SRPM.  RPM does have a setting to not install any documentation, and obviously you have that set.  Who knows *how* it got set, that'd be interesting if you could figure that out.  IINM, the setting goes in /etc/rpm/macros.

Status: NEW => RESOLVED
Resolution: (none) => INVALID

Comment 4 Raphael Gertz 2015-05-15 01:53:46 CEST
Then man should warn about anavailable doc when the following macro is present :
/etc/rpm/macros:%_excludedocs yes

And for me this behaviour is DIRTY, it shouldn't install the man-pages+docs at all instead of silent deleting them !

Status: RESOLVED => REOPENED
Resolution: INVALID => (none)
Source RPM: man-pages-3.82-1.mga5.src.rpm => man-1.6g-10.mga5.src.rpm

Comment 5 Raphael Gertz 2015-05-15 01:55:11 CEST
Or have a package nodoc which provides the doc packages and have this flag in /etc/rpm/macros.d/nodoc for example.
Comment 6 David Walser 2015-05-15 18:38:04 CEST
man doesn't know anything about rpm.

excludedocs makes it not install the docs when you install RPMs with that set, that's exactly what it does.  It doesn't go delete docs you already have installed.

Please don't reopen this bug, it is INVALID.

Status: REOPENED => RESOLVED
Resolution: (none) => INVALID

Comment 7 Thierry Vignaud 2015-05-18 04:28:27 CEST
Indeed if you got this setting, it mean you did a minimal install with explicitely refusing "With basic documentation (recommended!)"
Ie we didn't install neither man nor man-pages so you did it later conflicting with your earlier settings

Status: RESOLVED => REOPENED
CC: (none) => thierry.vignaud
Resolution: INVALID => (none)

Comment 8 Thierry Vignaud 2015-05-18 04:28:36 CEST
Closing

Status: REOPENED => RESOLVED
Resolution: (none) => INVALID


Note You need to log in before you can comment on or make changes to this bug.