Opened 6 years ago

Closed 6 years ago

#3890 closed defect (fixed)

Please prevent installing the whole man5 of the attr package.

Reported by: yuksiy Owned by: lfs-book@…
Priority: normal Milestone: 7.9
Component: Book Version: SVN
Severity: normal Keywords:
Cc: yuk@…

Description

( This ticket has been re-posted revised my following post.
http://lists.linuxfromscratch.org/pipermail/lfs-dev/2016-February/070820.html )

According to http://lists.linuxfromscratch.org/pipermail/lfs-dev/2015-December/070629.html, man2 and man5 have already been removed in the upstream of the attr package.

However, in LFS 7.8 "6.21. Attr-2.4.47", while preventing installation of the whole man2 of the attr package in order to prevent overwriting already installed man2 of the man-pages package, attr.5 of the attr package overwrites already installed attr.5 of the man-pages package.

In addition, it's hard for LFS readers to judge whether this overwriting is intended or not, because there is no supplementary explanation about overwriting in this page.

Therefore, I suggest installation of the whole man5 of the attr package is prevented as well as the whole man2.
(As far as I have checked at present, man5 installed by the attr package is attr.5 only.)

If this suggestion is not acceptable, I think at least it would be better to add supplementary explanation that overwriting attr.5 is intended.

See also the following post and thread messages:
http://lists.linuxfromscratch.org/pipermail/lfs-dev/2015-April/070126.html
http://lists.linuxfromscratch.org/pipermail/lfs-dev/2015-November/070624.html

Change History (3)

comment:1 by bdubbs@…, 6 years ago

Comparing the man page versions, I do not see any significant differences. There is only one file in the attr man5 directory.

The current command in the book is:

sed -i -e "/SUBDIRS/s|man2||" man/Makefile

Changing to:

sed -i -e "/SUBDIRS/s|man[25]||g" man/Makefile

will skip installing the page. Not tested.

comment:2 by bdubbs@…, 6 years ago

Cc: yuk@… added

comment:3 by bdubbs@…, 6 years ago

Milestone: 7.107.9
Resolution: fixed
Status: newclosed

Fixed at revision 11026.

Note: See TracTickets for help on using tickets.