我认为Ghostscript的版本和我在Raspberry Pi Zero上安装的打印机有问题。Ghostscript 的版本是 9.27~dfsg-2+deb10u3.
如何降级Ghostscript?要么,要么试试最新版本的Ghostscript?
我输入了 apt-cache策略 并得到了。
ghostscript:
Installed: 9.27~dfsg-2+deb10u3
Candidate: 9.27~dfsg-2+deb10u3
Version table:
*** 9.27~dfsg-2+deb10u3 500
500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
100 /var/lib/dpkg/status
我试过了
sudo apt-get install ghostscript=9.26a~dfsg-0+deb9u6
但我得到了。
E: Version '9.26a~dfsg-0+deb9u6' for 'ghostscript' was not found
你需要联系你的操作系统上的Ghostscript包维护者(似乎是Raspbian,基本上是Debian),或者自己从源码中构建Ghostscript。
Debian 似乎有 9.52 的测试版本。
关于从源码编译Ghostscript的文档可以在下面找到 此处