Add missed binary version deps to avoid issue in some cases like upgrade to -backports

In some cases like upgrade to -backports don't update all deps correctly
causing issues.
I already had in past, doing for example:
sudo apt -t buster-backports install freerdp2-x11
and latest times I workaround it with:
sudo apt -t buster-backports install freerdp2-x11 libfreerdp-client2-2
libfreerdp2-2 libwinpr2-2

This commit solve this issue adding binary version dependency on any
component (not only for x11 client but also wayland client, server and
other components used by other software, for example remmina).
Also avoided to add duplicate entries (if already present in other deps
of the component)

Closes: #964147
This commit is contained in:
Fabio Fantoni 2021-02-15 15:50:12 +01:00
parent b87910fc96
commit 7966d9219f
2 changed files with 20 additions and 0 deletions

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
freerdp2 (2.2.0+dfsg1-2~) UNRELEASED; urgency=medium
* Add missed binary version deps to avoid issue in some cases
like upgrade to -backports. (Closes: #964147)
-- Fabio Fantoni <fantonifabio@tiscali.it> Mon, 15 Feb 2021 15:41:08 +0100
freerdp2 (2.2.0+dfsg1-1) unstable; urgency=medium
* New upstream release.

13
debian/control vendored
View File

@ -56,6 +56,7 @@ Architecture: any
Depends:
${misc:Depends},
${shlibs:Depends},
libfreerdp-client2-2 (= ${binary:Version}),
Provides:
freerdp,
Replaces:
@ -89,6 +90,7 @@ Pre-Depends:
Depends:
${misc:Depends},
${shlibs:Depends},
libwinpr2-2 (= ${binary:Version}),
Breaks:
libfreerdp2 (<< 2.0.0~git20170725.1.1648deb+dfsg1-1~),
Replaces:
@ -110,6 +112,7 @@ Pre-Depends:
Depends:
${misc:Depends},
${shlibs:Depends},
libfreerdp2-2 (= ${binary:Version}),
Breaks:
libfreerdp-client2 (<< 2.0.0~git20170725.1.1648deb+dfsg1-1~),
Replaces:
@ -129,6 +132,7 @@ Pre-Depends:
Depends:
${misc:Depends},
${shlibs:Depends},
libfreerdp2-2 (= ${binary:Version}),
Breaks:
libfreerdp-server2 (<< 2.0.0~git20170725.1.1648deb+dfsg1-1~),
Replaces:
@ -175,6 +179,7 @@ Pre-Depends:
Depends:
${misc:Depends},
${shlibs:Depends},
libwinpr2-2 (= ${binary:Version}),
Breaks:
libwinpr-tools2 (<< 2.0.0~git20170725.1.1648deb+dfsg1-1~),
Replaces:
@ -233,6 +238,7 @@ Architecture: any
Depends:
${misc:Depends},
${shlibs:Depends},
libwinpr-tools2-2 (= ${binary:Version}),
Description: Windows Portable Runtime library command line utilities
WinPR is a spin-off project of FreeRDP which aims at providing a portable
implementation of important portions of the Windows API. Just like FreeRDP,
@ -253,6 +259,8 @@ Pre-Depends:
Depends:
${misc:Depends},
${shlibs:Depends},
libfreerdp-server2-2 (= ${binary:Version}),
libwinpr-tools2-2 (= ${binary:Version}),
Breaks:
libfreerdp-shadow2 (<< 2.0.0~git20170725.1.1648deb+dfsg1-1~),
Replaces:
@ -272,6 +280,7 @@ Pre-Depends:
Depends:
${misc:Depends},
${shlibs:Depends},
libfreerdp-shadow2-2 (= ${binary:Version}),
Breaks:
libfreerdp-shadow2 (<< 2.0.0~git20170725.1.1648deb+dfsg1-1~),
Replaces:
@ -288,6 +297,7 @@ Architecture: any
Depends:
${misc:Depends},
${shlibs:Depends},
libfreerdp-shadow-subsystem2-2 (= ${binary:Version}),
Provides:
freerdp,
Description: FreeRDP x11 shadowing server
@ -305,6 +315,7 @@ Pre-Depends:
Depends:
${misc:Depends},
${shlibs:Depends},
libfreerdp2-2 (= ${binary:Version}),
Breaks:
libuwac0 (<< 2.0.0~git20170725.1.1648deb+dfsg1-1~),
Replaces:
@ -334,6 +345,8 @@ Architecture: linux-any
Depends:
${misc:Depends},
${shlibs:Depends},
libfreerdp-client2-2 (= ${binary:Version}),
libuwac0-0 (= ${binary:Version}),
Description: RDP client for Windows Terminal Services (wayland client)
FreeRDP is a libre client/server implementation of the Remote
Desktop Protocol (RDP).