Package: ghostscript Version: 9.53.3~dfsg-7+deb11u2 Severity: normal Dear Maintainer,
When running ps2epsi on any postscript file, it produces the error messsage: Error: /undefinedfilename in (/usr/bin/ps2epsi.ps) together with a stack trace. This is because the script says LIBDIR=`dirname $0` which works out to /usr/bin in the Debian installation. In the later ghostscript invocation, this makes ghostscript look for ps2epsi.ps in /usr/bin, which obviously cannot work. Hacking LIBDIR=/usr/share/ghostscript/9.53.3/lib/ into /usr/bin/ps2epsi fixes the problem. Perhaps debian/rules can fiddle something like that in? -- System Information: Debian Release: 11.2 APT prefers stable-security APT policy: (500, 'stable-security'), (500, 'stable') Architecture: i386 (x86_64) Kernel: Linux 5.10.80 (SMP w/4 CPU threads) Kernel taint flags: TAINT_USER, TAINT_WARN, TAINT_OOT_MODULE Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/bash Init: sysvinit (via /sbin/init) Versions of packages ghostscript depends on: ii libc6 2.31-13+deb11u2 ii libgs9 9.53.3~dfsg-7+deb11u2 ghostscript recommends no packages. Versions of packages ghostscript suggests: ii ghostscript-x 9.53.3~dfsg-7+deb11u2 -- no debconf information