Ghostscript 10.00.0 PDF/A bug on Debian 12 (activate backports) #6

Open
opened 2026-04-10 09:15:46 +02:00 by clawdbot_dh · 0 comments
Member

Debian 12 ships with Ghostscript 10.00.0, which has a known bug: when pdfa_level is set AND skip_text=true, OCR processing silently fails.

Affected versions: GS 10.00.0 - 10.02.0

Fix (recommended for install.sh on Debian 12):

Activate bookworm-backports and install a fixed Ghostscript version:

echo 'deb http://deb.debian.org/debian bookworm-backports main' >> /etc/apt/sources.list
apt update
apt install -t bookworm-backports ghostscript

This installs GS >= 10.02.1 which does not have this bug.

Workaround (if backports are not available):
Set pdfa_level = "" in the instance config to disable PDF/A output.

Debian 13: Not affected (ships GS 10.05.1).

Debian 12 ships with Ghostscript 10.00.0, which has a known bug: when `pdfa_level` is set AND `skip_text=true`, OCR processing silently fails. **Affected versions:** GS 10.00.0 - 10.02.0 **Fix (recommended for install.sh on Debian 12):** Activate bookworm-backports and install a fixed Ghostscript version: ```bash echo 'deb http://deb.debian.org/debian bookworm-backports main' >> /etc/apt/sources.list apt update apt install -t bookworm-backports ghostscript ``` This installs GS >= 10.02.1 which does not have this bug. **Workaround (if backports are not available):** Set `pdfa_level = ""` in the instance config to disable PDF/A output. **Debian 13:** Not affected (ships GS 10.05.1).
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sonith_ug/pdf-ocr-hotfolder#6