Red Hat Bugzilla – Bug 248940
netpbm-progs: pstopnm requires ghostscript, but it's not listed as a dependancy of netpbm-progs
Last modified: 2013-07-02 19:22:22 EDT
Description of problem:
netpbm-progs should require ghostscript - it doesn't
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Install netpbm-progs without ghostscript installed
2.do anything with /usr/bin/pstopnm
3.error to the effect of "can't find /usr/bin/gs"
"If you don't have GhostScript installed or the version you have installed was
not built with the relevant PNM device drivers, pstopnm will fail."
Unfortunatly installing ghostscript (for me at least) brings in quite a few
dependancies that I didn't have installed before, but oh well - I need pstopnm
Unfortunately I cannot add a hard dependency to ghostscript in netpbm-progs,
because only two programs out of the total 317 shipped within netpbm-progs
require ghostscript (pstopnm and pbmtextps) to handle postscript files so that
it would cause unneeded dependency bloat. It is common practise to not to add
such dependencies as RPM doesn't support "suggest" dependencies and let the
users install them when needed.
Sorry, it's not a good solution, but if you need pstopnm and pbmtextps to work,
use yum to install ghostscript separately.