mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-09-04 09:05:14 +03:00
Replace the `xpra=6.4*` version clamp on the apt-get install command line with APT pinning via /etc/apt/preferences.d/pin-xpra. The previous specifier stopped resolving once xpra 6.5 was released: the xpra metapackage was pinned to 6.4 while its sub-packages (xpra-client, xpra-server, xpra-codecs, ...) were unconstrained and defaulted to 6.5, so apt could not satisfy the dependency graph and the "Build Docker images" action failed. Pinning all xpra* packages at the preferences level constrains the whole set consistently (xpra-html5 is handled separately since it follows a different version scheme, locked to v19). Blocking every other version with priority -1 ensures that, if the pinned version ever disappears from the repository, apt fails loudly instead of silently upgrading to the latest release. Fixes GNS3/gns3-registry#1044
15 lines
326 B
Plaintext
15 lines
326 B
Plaintext
Explanation: Lock Xpra packages to v6.4
|
|
Package: xpra*
|
|
Pin: version 6.4*
|
|
Pin-Priority: 1000
|
|
|
|
Explanation: xpra-html5 uses different version scheme, lock it to v19
|
|
Package: xpra-html5
|
|
Pin: version 19*
|
|
Pin-Priority: 1000
|
|
|
|
Explanation: Block the installation of other xpra versions
|
|
Package: xpra*
|
|
Pin: version *
|
|
Pin-Priority: -1
|