Bug 28585 - texlive-collection-basic contains man pages belonging to psutils
Summary: texlive-collection-basic contains man pages belonging to psutils
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard:
Keywords: feedback
Depends on: 29414
Blocks:
  Show dependency treegraph
 
Reported: 2021-03-11 13:50 CET by Giuseppe Ghibò
Modified: 2021-09-02 02:04 CEST (History)
2 users (show)

See Also:
Source RPM: texlive-texmf-20200406-5.mga8.src.rpm
CVE:
Status comment:


Attachments

Description Giuseppe Ghibò 2021-03-11 13:50:41 CET
The package texlive-collection-basic contains two man pages belonging to psutils, without providing the corresponding binaries. In particular the files are psjoin.1.xz and psutils.1.xz; this leads to installation conflicts, triggered for instance when there is some building requirement on some of the two packages:

  file /usr/share/man/man1/psjoin.1.xz conflicts between attempted installs of texlive-collection-basic-20200406-5.mga8.noarch and psutils-2.04-1.mga8.noarch
  file /usr/share/man/man1/psutils.1.xz conflicts between attempted installs of texlive-collection-basic-20200406-5.mga8.noarch and psutils-2.04-1.mga8.noarch
Comment 1 Lewis Smith 2021-03-11 17:51:44 CET
Thanks for this report.

 texlive-collection-basic includes (among loads of binaries/man pages):
/usr/share/man/man1/ps2eps.1.xz     for texlive
/usr/share/man/man1/ps2frag.1.xz    ?
/usr/share/man/man1/ps2pk.1.xz      for texlive
/usr/share/man/man1/psjoin.1.xz     *** in psutils pkg
/usr/share/man/man1/pslatex.1.xz    ?
/usr/share/man/man1/psutils.1.xz    *** in psutils pkg

 $ urpmf /usr/bin/ps2eps
texlive:/usr/bin/ps2eps
 $ urpmf /usr/bin/ps2frag   ?
[nothing]
 $ urpmf /usr/bin/ps2pk
texlive:/usr/bin/ps2pk
 $ urpmf /usr/bin/psjoin
psutils:/usr/bin/psjoin
 $ urpmf /usr/bin/pslatex   ?
[nothing]

 $ urpmq -l texlive | grep /bin/ps
/usr/bin/ps2eps
/usr/bin/ps2pk
 but texlive itself provides no man pages.

 $ urpmq -l psutils | grep /bin/ps
/usr/bin/psbook
/usr/bin/psjoin     ***
/usr/bin/psnup
/usr/bin/psresize
/usr/bin/psselect
/usr/bin/pstops
 $ urpmq -l psutils | grep /man1/ps
/usr/share/man/man1/psbook.1.xz
/usr/share/man/man1/psjoin.1.xz    ***
/usr/share/man/man1/psnup.1.xz
/usr/share/man/man1/psresize.1.xz
/usr/share/man/man1/psselect.1.xz
/usr/share/man/man1/pstops.1.xz
/usr/share/man/man1/psutils.1.xz   ***

So it looks simply that (as Giuseppe pointed) texlive-collection-basic should not include the two man pages highlightedn those being in pkg psutils with the binaries.

Assigning this to Marc for the SRPM.

URL: texlive-collection-basic => (none)
Assignee: bugsquad => mageia

Comment 2 Marc Krämer 2021-03-11 18:02:16 CET
that will be a huge update for just removing 2 man-pages :(
Comment 3 Marc Krämer 2021-03-11 18:04:02 CET
I have both packages installed and wonder why I did not get a warning during install.
Comment 4 Marc Krämer 2021-06-30 13:22:39 CEST
fixed in cauldron, should we really push this update for mga8?
Comment 5 Giuseppe Ghibò 2021-06-30 14:00:19 CEST
Yes, why not?
Comment 6 Marc Krämer 2021-06-30 16:34:42 CEST
just because it is a big package and everyone has to download this again for just removing 2 manpages out of it.
Comment 7 Giuseppe Ghibò 2021-06-30 16:42:56 CEST
Well, I think it's worthwhile even if big files are involved. The problem is not just cosmetic about some missed manpage, or that a manpage is better belonging to one package instead of another, but of installation conflicts, as both packages are pretty common.
Comment 8 Marc Krämer 2021-07-01 19:20:23 CEST
Updated texlive package to correct a packaging bug:
two man-page files belonging to psutils were added in this package.

========================

Updated packages in core/updates_testing:
========================


texlive-fonts-asian-20200406-7.mga8.noarch.rpm
texlive-collection-basic-20200406-7.mga8.noarch.rpm
texlive-context-20200406-7.mga8.noarch.rpm
texlive-fonts-sources-20200406-7.mga8.noarch.rpm
texlive-texmf-20200406-7.mga8.noarch.rpm
texlive-fontsextra-20200406-7.mga8.noarch.rpm
texlive-dist-20200406-7.mga8.noarch.rpm
texlive-doc-20200406-7.mga8.noarch.rpm

SRPM:
texlive-texmf-20200406-7.mga8.src.rpm

Assignee: mageia => qa-bugs

Comment 9 Thomas Andrews 2021-07-15 01:37:38 CEST
Tested in a VirtualBox Plasma guest. psutils had already been installed before this test, so the man pages in question were already there. Used drakrpm to get a list of the man pages installed with psutils, to check all of them.

Used drakrpm to look at the packages included with texlive-collection-basic, and confirmed that two psutils man pages had been included. I installed the rpms and dependencies, with no installation issues.

Used qarepo to download the proposed rpms, then used drakrpm to examine the man pages list in texlive-collection-basic, finding that the psutils man pages were no longer there. 

Went through with the update, then checked /usr/share/man/man1 to be sure that the psutils man pages had not been removed. I found two psutils man pages that were now  gone: psjoin.1.xz and psutils.1.xz.

Those pages, being part of the psutils rpm, should still be there. Simply taking the two packages off the list is OK for new installs, but for existing installs it will break psutils when the old texlive packages are removed.

CC: (none) => andrewsfarm

Dave Hodgins 2021-07-15 05:16:10 CEST

Keywords: (none) => feedback
CC: (none) => davidwhodgins

Thomas Andrews 2021-09-02 02:04:14 CEST

Depends on: (none) => 29414


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