Bug 1278857

Summary: less Requires: man-db - WHY?
Product: [Fedora] Fedora Reporter: Harald Reindl <h.reindl>
Component: lessAssignee: Pavel Raiskup <praiskup>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: hhorak, jmlich83, watanabe.yu
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: less-481-5.fc23 less-481-5.fc24 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-26 20:53:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Harald Reindl 2015-11-06 15:01:07 UTC
why in the world pulls "less" man-db explicitly?
see also https://bugzilla.redhat.com/show_bug.cgi?id=1262605

on headless servers with "tsflags=nodocs" in the yum/dnf configuration it makes *zero sense* to pull /usr/bin/man & friends as well it makes no sense to have manpages on each of 35 virtual servers when you can read them fine on the admin machine

Comment 2 Yu Watanabe 2016-03-09 08:19:30 UTC
Yeah, please remove the dependencies.

Our cloud servers are installed with tsflags=nodocs option and only less package requires man-db.

Comment 3 Honza Horak 2016-03-09 10:32:24 UTC
man dependency was introduced as fix for BZ#1241543, so what we could do is to make the lesspipe.sh script a bit smarter and use man only when available, otherwise use groff as before. Then soft RPM dependency would be valid there -- `Suggests: man` should be sufficient I guess. How does this solution sound to you?

Comment 4 Yu Watanabe 2016-03-10 07:01:44 UTC
I see. If man is not available, I think it is enough to output error message like when identify command is not available for pictures files.
Man-db is a mandatory package of core group. So, almost all users are not affected by that change.

Note that "Requires: groff-base" is not necessary if my suggestion is approved.

Comment 5 Yu Watanabe 2016-03-15 02:12:35 UTC
Now I change my mind. Just removing requirements groff-base and man-db from spec file is enough. Because, many commands are used in lesspipe.sh, but these commands excepts man are not required in the spec file.

Anyway, "Requires: groff-base" is completely meaningless. And removing "Requires: man-db" does not affect for almost all users, since, as I said before, man-db is a mandatory package of core group.

Comment 6 Fedora Admin XMLRPC Client 2016-03-24 18:01:09 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 7 Pavel Raiskup 2016-04-20 08:03:11 UTC
Fixed in Rawhide, can anybody check that it makes sense?
http://pkgs.fedoraproject.org/cgit/rpms/less.git/commit/?id=6dde17a8465c3f7c75d18d61

Comment 8 Yu Watanabe 2016-04-22 07:45:10 UTC
Thanks. Now less can be installed without man-db, and it works for me.

Comment 9 Jozef Mlich 2016-04-22 08:54:28 UTC
Patch looks good for me. Thanks Pavel.

Comment 10 Fedora Update System 2016-04-25 05:06:58 UTC
less-481-5.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-9a937faae1

Comment 11 Fedora Update System 2016-04-25 06:07:25 UTC
less-481-5.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-ff70f6b6a3

Comment 12 Fedora Update System 2016-04-25 17:51:05 UTC
less-481-5.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-9a937faae1

Comment 13 Fedora Update System 2016-04-26 00:52:48 UTC
less-481-5.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-ff70f6b6a3

Comment 14 Fedora Update System 2016-04-26 20:53:16 UTC
less-481-5.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 15 Fedora Update System 2016-05-07 11:55:33 UTC
less-481-5.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.