Upgrade FreeRDP to 2.11.7+dfsg1-6~deb12u1 for Guacamole Installation on Debian 12

Currently I have freerdp2-dev version 2.10.0+dfsg1-1 installed on Debian 12 (bookworm). There is a newer version available in the Debian 12 security and updates repositories: 2.11.7+dfsg1-6~deb12u1, which includes important fixes and improvements over 2.10.0.

The upstream FreeRDP project itself has much newer releases (such as 3.17.0 and even 3.19.0 as of December 2025). However, these are not yet packaged for Debian 12 and would require manual building if you need a cutting-edge version.
 

Background

For most users and for Apache Guacamole 1.6.0, Debian's 2.x series remains the best-supported choice, but you should upgrade to version 2.11.7+dfsg1-6~deb12u1 from the official package repositories for the latest bug and security fixes within Bookworm.
We can install 2.11.7+dfsg1-6~deb12u1 from Debian’s bookworm-proposed-updates (oldstable-proposed-updates) repository or directly from the .deb in the Debian pool, but both approaches are slightly “off the beaten path” and should be tested carefully on a non-production box first.
root@guacserverdeb12:~# dpkg -l | grep freerdp
ii  freerdp2-dev                         2.10.0+dfsg1-1                 amd64        Free Remote Desktop Protocol library (development files)
ii  libfreerdp-client2-2:amd64           2.10.0+dfsg1-1                 amd64        Free Remote Desktop Protocol library (client library)
ii  libfreerdp-server2-2:amd64           2.10.0+dfsg1-1                 amd64        Free Remote Desktop Protocol library (server library)
ii  libfreerdp-shadow-subsystem2-2:amd64 2.10.0+dfsg1-1                 amd64        FreeRDP Remote Desktop Protocol shadow subsystem libraries
ii  libfreerdp-shadow2-2:amd64           2.10.0+dfsg1-1                 amd64        FreeRDP Remote Desktop Protocol shadow libraries
ii  libfreerdp2-2:amd64                  2.10.0+dfsg1-1                 amd64        Free Remote Desktop Protocol library (core library)

Option 1: Enable proposed-updates (preferred Debian way)

  1. Edit APT sources to add proposed-updates for bookworm:

    • Open /etc/apt/sources.list in your editor (as root) and add a line like:
      deb http://deb.debian.org/debian bookworm-proposed-updates main.

  2. Update package lists:

    • sudo apt update

  3. Install the specific version of the dev package (and runtime libraries will follow):

    • sudo apt install freerdp2-dev=2.11.7+dfsg1-6~deb12u1




root@guacserverdeb12:~# sudo apt install freerdp2-dev=2.11.7+dfsg1-6~deb12u1
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  libfreerdp-client2-2 libfreerdp-server2-2 libfreerdp-shadow-subsystem2-2 libfreerdp-shadow2-2 libfreerdp2-2 libwinpr-tools2-2 libwinpr2-2 libwinpr2-dev winpr-utils
Suggested packages:
  freerdp2-x11
The following packages will be upgraded:
  freerdp2-dev libfreerdp-client2-2 libfreerdp-server2-2 libfreerdp-shadow-subsystem2-2 libfreerdp-shadow2-2 libfreerdp2-2 libwinpr-tools2-2 libwinpr2-2 libwinpr2-dev winpr-utils
10 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
Need to get 1,821 kB of archives.
After this operation, 50.2 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y




  1. To avoid pulling other proposed-updates automatically, you can pin this version in /etc/apt/preferences.d/freerdp2 with something like:

    text
    Package: freerdp2* libfreerdp* libwinpr* Pin: release n=bookworm-proposed-updates Pin-Priority: 1010

    This keeps the higher version available but limits what gets installed by default.

root@guacserverdeb12:~# dpkg -l | grep freerdp
ii  freerdp2-dev                         2.11.7+dfsg1-6~deb12u1         amd64        Free Remote Desktop Protocol library (development files)
ii  libfreerdp-client2-2:amd64           2.11.7+dfsg1-6~deb12u1         amd64        Free Remote Desktop Protocol library (client library)
ii  libfreerdp-server2-2:amd64           2.11.7+dfsg1-6~deb12u1         amd64        Free Remote Desktop Protocol library (server library)
ii  libfreerdp-shadow-subsystem2-2:amd64 2.11.7+dfsg1-6~deb12u1         amd64        FreeRDP Remote Desktop Protocol shadow subsystem libraries
ii  libfreerdp-shadow2-2:amd64           2.11.7+dfsg1-6~deb12u1         amd64        FreeRDP Remote Desktop Protocol shadow libraries
ii  libfreerdp2-2:amd64                  2.11.7+dfsg1-6~deb12u1         amd64        Free Remote Desktop Protocol library (core library)

Option 2: Install from the Debian pool (.deb files)

  1. Download the binaries for amd64 from the Debian pool directory, including at least freerdp2-dev_2.11.7+dfsg1-6~deb12u1_amd64.deb and its runtime dependencies such as libfreerdp2-2libwinpr2-2, etc., from:

    • http://ftp.debian.org/debian/pool/main/f/freerdp2/.

  2. Install with dpkg and fix dependencies with APT:

    • sudo dpkg -i freerdp2-*2.11.7+dfsg1-6~deb12u1_amd64.deb

    • sudo apt -f install
      This will pull any missing dependencies from your configured repositories where versions are compatible.

Compatibility and rollback notes

  • This version is targeted at bookworm as an oldstable-proposed-updates security/bugfix update, so ABI should remain compatible with packages built against 2.10.0, including Guacamole’s guacd on Debian 12.

  • To revert, you can downgrade back to the archive version:

    • sudo apt install freerdp2-dev=2.10.0+dfsg1-1 and the matching library versions, or use apt install freerdp2-dev/bookworm to pull the default bookworm release.

Reference

版权声明:
作者:倾城
链接:https://www.techfm.club/p/229258.html
来源:TechFM
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
< <上一篇
下一篇>>