[PR #12195] fix: update api libldap package version in Dockerfile for security im… #27547

Closed
opened 2026-02-21 20:41:44 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langgenius/dify/pull/12195

State: closed
Merged: Yes


…provements

Summary

Fix package update, 2.5.18+dfsg-3+b1 to 2.5.19+dfsg-1.

11.14 Package libldap-2.5-0 is not available, but is referred to by another package.
11.14 This may mean that the package is missing, has been obsoleted, or
11.14 is only available from another source
11.14 
11.15 E: Version '2.5.18+dfsg-3+b1' for 'libldap-2.5-0' was not found
------
Dockerfile:51
--------------------
  50 |     
  51 | >>> RUN apt-get update \
  52 | >>>     && apt-get install -y --no-install-recommends curl nodejs libgmp-dev libmpfr-dev libmpc-dev \
  53 | >>>     # if you located in China, you can use aliyun mirror to speed up
  54 | >>>     # && echo "deb http://mirrors.aliyun.com/debian testing main" > /etc/apt/sources.list \
  55 | >>>     && echo "deb http://deb.debian.org/debian testing main" > /etc/apt/sources.list \
  56 | >>>     && apt-get update \
  57 | >>>     # For Security
  58 | >>>     && apt-get install -y --no-install-recommends expat=2.6.4-1 libldap-2.5-0=2.5.18+dfsg-3+b1 perl=5.40.0-8 libsqlite3-0=3.46.1-1 zlib1g=1:1.3.dfsg+really1.3.1-1+b1 \
  59 | >>>     # install a chinese font to support the use of tools like matplotlib
  60 | >>>     && apt-get install -y fonts-noto-cjk \
  61 | >>>     && apt-get autoremove -y \
  62 | >>>     && rm -rf /var/lib/apt/lists/*
  63 |     
--------------------

Important

Please review the checklist below before submitting your pull request.

  • This change requires a documentation update, included: Dify Document
  • I understand that this PR may be closed in case there was no previous discussion or issues. (This doesn't apply to typos!)
  • I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change.
  • I've updated the documentation accordingly.
  • I ran dev/reformat(backend) and cd web && npx lint-staged(frontend) to appease the lint gods
**Original Pull Request:** https://github.com/langgenius/dify/pull/12195 **State:** closed **Merged:** Yes --- …provements # Summary Fix package update, 2.5.18+dfsg-3+b1 to 2.5.19+dfsg-1. ``` 11.14 Package libldap-2.5-0 is not available, but is referred to by another package. 11.14 This may mean that the package is missing, has been obsoleted, or 11.14 is only available from another source 11.14 11.15 E: Version '2.5.18+dfsg-3+b1' for 'libldap-2.5-0' was not found ------ Dockerfile:51 -------------------- 50 | 51 | >>> RUN apt-get update \ 52 | >>> && apt-get install -y --no-install-recommends curl nodejs libgmp-dev libmpfr-dev libmpc-dev \ 53 | >>> # if you located in China, you can use aliyun mirror to speed up 54 | >>> # && echo "deb http://mirrors.aliyun.com/debian testing main" > /etc/apt/sources.list \ 55 | >>> && echo "deb http://deb.debian.org/debian testing main" > /etc/apt/sources.list \ 56 | >>> && apt-get update \ 57 | >>> # For Security 58 | >>> && apt-get install -y --no-install-recommends expat=2.6.4-1 libldap-2.5-0=2.5.18+dfsg-3+b1 perl=5.40.0-8 libsqlite3-0=3.46.1-1 zlib1g=1:1.3.dfsg+really1.3.1-1+b1 \ 59 | >>> # install a chinese font to support the use of tools like matplotlib 60 | >>> && apt-get install -y fonts-noto-cjk \ 61 | >>> && apt-get autoremove -y \ 62 | >>> && rm -rf /var/lib/apt/lists/* 63 | -------------------- ``` > [!IMPORTANT] > Please review the checklist below before submitting your pull request. - [ ] This change requires a documentation update, included: [Dify Document](https://github.com/langgenius/dify-docs) - [x] I understand that this PR may be closed in case there was no previous discussion or issues. (This doesn't apply to typos!) - [x] I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change. - [x] I've updated the documentation accordingly. - [x] I ran `dev/reformat`(backend) and `cd web && npx lint-staged`(frontend) to appease the lint gods
yindo added the pull-request label 2026-02-21 20:41:44 -05:00
yindo closed this issue 2026-02-21 20:41:44 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#27547