Paperless-ngx not working with Debian 13 #1806

Closed
opened 2026-02-05 02:18:20 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @hanneslinder on GitHub (Oct 16, 2025).

Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

Paperless-ngx

📂 What was the exact command used to execute the script?

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/paperless-ngx.sh)"

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 13

📈 Which Proxmox version are you on?

pve-manager/9.0.11/3bf5476b8a4699e2 (running kernel: 6.14.8-2-pve)

📝 Provide a clear and concise description of the issue.

Paperless-ngx installation is failing on Debian 13 (Trixie), due to missing dependency liblept5.
Looks like this has been replaced by libleptonica6 in Debian 13.

For now I updated the installation script to manually use Debian 12

🔄 Steps to reproduce the issue.

Run the Paperless-ngx script on Proxmox 9 with Debian 13

Paste the full error output (if available).

Error: Unable to locate package liblept5

🖼️ Additional context (optional).

No response

Originally created by @hanneslinder on GitHub (Oct 16, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Paperless-ngx ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/paperless-ngx.sh)" ### ⚙️ What settings are you using? - [ ] Default Settings - [x] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 13 ### 📈 Which Proxmox version are you on? pve-manager/9.0.11/3bf5476b8a4699e2 (running kernel: 6.14.8-2-pve) ### 📝 Provide a clear and concise description of the issue. Paperless-ngx installation is failing on Debian 13 (Trixie), due to missing dependency `liblept5`. Looks like this has been replaced by `libleptonica6` in Debian 13. For now I updated the installation script to manually use Debian 12 ### 🔄 Steps to reproduce the issue. Run the `Paperless-ngx` script on Proxmox 9 with Debian 13 ### ❌ Paste the full error output (if available). Error: Unable to locate package liblept5 ### 🖼️ Additional context (optional). _No response_
OVERLORD added the bug label 2026-02-05 02:18:20 +03:00
Author
Owner

@MickLesk commented on GitHub (Oct 16, 2025):

Try again in next 2+ min, give Feedback or Close issue

@MickLesk commented on GitHub (Oct 16, 2025): Try again in next 2+ min, give Feedback or Close issue
Author
Owner

@hanneslinder commented on GitHub (Oct 16, 2025):

Thanks for the quick update!
Unfortunately I am now running into the next dependency issue:

Error! Leptonica not detected.

[ERROR] in line 58: exit code 0: while executing command $STD bash ./configure

[ERROR] in line 1345: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/${var_install}.sh)
@hanneslinder commented on GitHub (Oct 16, 2025): Thanks for the quick update! Unfortunately I am now running into the next dependency issue: ``` Error! Leptonica not detected. [ERROR] in line 58: exit code 0: while executing command $STD bash ./configure [ERROR] in line 1345: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/${var_install}.sh)
Author
Owner

@rononline commented on GitHub (Oct 16, 2025):

I got this error:

  ✔️   Installed OCR Dependencies
⠦ Setup JBIG2
[ERROR] in line 159: exit code 0: while executing command "$@" > /dev/null 2>&1
⠏ Setup JBIG2
[ERROR] in line 1345: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/${var_install}.sh)"

@rononline commented on GitHub (Oct 16, 2025): I got this error: ``` ✔️ Installed OCR Dependencies ⠦ Setup JBIG2 [ERROR] in line 159: exit code 0: while executing command "$@" > /dev/null 2>&1 ⠏ Setup JBIG2 [ERROR] in line 1345: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/${var_install}.sh)" ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#1806