Red Hat Bugzilla – Bug 1022558
perl-PAR-Packer not installable, conflict with nss-tools
Last modified: 2014-11-12 03:04:34 EST
Description of problem:
Package perl-PAR-Packer cannot be installed due to conflict with nss-tools on file /usr/share/man/man1/pp.1.gz.
The nss-tools package includes the pp man page, but the pp executable is only in the unsupported-tools directory which is not in the stock path.
I must install the the perl-PAR-Packer package, but nss-tools cannot be removed due to it's chain of dependencies being critical to the system as a whole. Yum refuses to remove it for this reason.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install Fedora 19 minimal
2. Attempt 'yum install perl-PAR-Packer'
Transaction check error:
file /usr/share/man/man1/pp/1/gz from install of perl-PAAR-Packer-1.015-1.fc19.i686 conflicts with file from package nss-tools-2.15.2-1.fc19.i686.
perl-PAR-Packer package installed and available for use.
Since the nss-tools's 'pp' program is not in the path (it is 'unsupported' apparently), it's man page need not be installed, or could be made available in /usr/share/doc/...
I noticed that I did not have this issue on another host recently, and upon investigation, found that it was OK on that host because yum's 'tsflags=nodocs' was enabled, so the potentially conflicting man pages were not installed at all.
There are two workarounds:
1) Install perl-PAR-Packer without the man pages (yum --setopt=tsflags=nodocs install perl-PAR-Packer)
or, since I do want those man pages,
2.a) rm -f /usr/share/man/man1/pp.1.gz
2.b) yum install perl-PAR-Packer
Created attachment 919965 [details]
Patch that fixes the reported issue.
This simple patch to the SPEC file corrects the reported issue by NOT packaging the useless 1-byte pp.1.gz man page. With this change, per-PAR-Packer can be installed without conficting with nss-utils.
(In reply to Ian Morgan from comment #1)
> Created attachment 919965 [details]
> Patch that fixes the reported issue.
> This simple patch to the SPEC file corrects the reported issue by NOT
> packaging the useless 1-byte pp.1.gz man page. With this change,
> per-PAR-Packer can be installed without conficting with nss-utils.
FYI, the above patch is against the SPEC file for the current FC20 src rpm:
Modified bug to indicate that the issue is with perl-PAR-Packer instead of nss, and that's it's relevant to FC20.
Ping... knock-knock... Any chance of getting the above patch to the SPEC file integrated before F21?
Adding the previous SPEC file updater to the CC, in case they can help get this looked at.
*** This bug has been marked as a duplicate of bug 989511 ***