Greetings. I just brought my debian squeeze up to date with aptitude update and aptitude safe-upgrade, and now my GPL Ghostscript 8.71 can't display any pdf files, not even those generated by gs version 8.71 ! nor the PDF invoice my ISP just sent me :-( It displays the the correct number of pages down the left-hand-side, but then every page it tries to display:
Error: /undefined in copy_trailer_attrs Operand stack:
> Greetings. I just brought my debian squeeze up to date with > aptitude update and aptitude safe-upgrade, and now my > GPL Ghostscript 8.71 can't display any pdf files ... > Error: /undefined in copy_trailer_attrs > GPL Ghostscript 8.71: Unrecoverable error, exit code 1 > Postscript files seem to work fine.
This, it seems, is a ghostscript bug which occurs in debian ("testing") package ghostscript 8.71~dfsg-1 and is fixed in ghostscript 8.71~dfsg-2 (currently still "unstable").
It's got something to do with copy_trailer_attrs changing to process_trailer_attrs. So I can either get 8.71~dfsg-2 from unstable, or wait till it migrates to testing, and that should solve the problem.