Bug 107322

Summary: a2ps cannot find pcrr8a.afm
Product: [Retired] Red Hat Linux Reporter: Orion Poplawski <orion>
Component: a2psAssignee: Tim Waugh <twaugh>
Status: CLOSED CURRENTRELEASE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 9CC: tim_johnson
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-01-12 21:14:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Orion Poplawski 2003-10-16 21:11:16 UTC
Description of problem:
a2ps fails with:

a2ps: cannot find file `pcrr8a.afm': No such file or directory

Version-Release number of selected component (if applicable):

a2ps-4.13b-28

How reproducible:
  Everytime

Steps to Reproduce:
1.  Setup RH9 printing with LPRng to HP LJ5m or similar
2.  Print pdf file with acroread with courier font?
3.
    

Additional info:
  Server is stripped down, no KDE or GNOME components.  The font in question is
at:/usr/share/texmf/fonts/afm/adobe/courier/pcrr8a.afm, from the texmf package,
although it is apparently also in the gnome-print package which I don't want to
install.

  /etc/a2ps.conf does not reference the texmf font directories (of which there
are a lot).  Is is possible to tell a2ps in a2ps.conf to search all
subdirectories of a path element?

Comment 1 Tim Johnson 2004-01-15 18:58:35 UTC
This same problem exists with AWS3.0.

I don't understand what exactly is happening but I discovered that by
uninstalling/installing a2ps it seems to work just fine.

--> a2ps foo
a2ps: cannot find file `pcrr8a.afm': No such file or directory
--> locate pcrr8a.afm
--> rpm -e a2ps
--> rpm -i a2ps-4.13b-28.i386.rpm
--> updatedb
--> locate pcrr8a.afm
--> a2ps foo

Note that pcrr8a.afm is still not available but a2ps no longer
references it. The rpm tetex-afm-1.0.7-66 contains the file:        
/usr/share/texmf/fonts/afm/adobe/courier/pcrr8a.afm. That particular
RPM is not currently installed on our systems.

My current work-around is to not install a2ps as part of Kickstart and
install it after Kickstart is complete.

I can document exactly what is installed if that would be useful.



Comment 2 Tim Waugh 2004-01-16 16:44:06 UTC
I suspect this is due to a missing PreReq in the spec file.  I've
added this:

PreReq: sed, coreutils

to the rawhide package.  Could you verify that your installation is
installing one or both of the above packages *after* a2ps?  Either
could cause this I think.

Comment 3 Orion Poplawski 2005-01-12 21:14:05 UTC
Suspect this is no longer an issue.