Package: librust-cargo-dev
Version: 0.43.1-3
Severity: serious
Tags: patch

librust-cargo-dev depends on librust-flate2-1+default-dev and
librust-flate2-1+zlib-dev which are (versioned) virtual packages
provided by librust-flate2+zlib-dev in buster and by
librust-flate2+rust-backend-dev and librust-flate2+libz-sys-dev
in bullseye. apt-get has problems exchanging these two packages during an
upgrade from buster to bullseye and prefers to keep the already installed
provider installed. This can be fixed by making the dependency versioned
s.t. the old provider from buster is no longer considered as a valid
solution.


Andreas
diff -Nru rust-cargo-0.43.1/debian/changelog rust-cargo-0.43.1/debian/changelog
--- rust-cargo-0.43.1/debian/changelog  2020-12-07 06:19:36.000000000 +0100
+++ rust-cargo-0.43.1/debian/changelog  2021-06-28 14:13:18.000000000 +0200
@@ -1,3 +1,14 @@
+rust-cargo (0.43.1-4) UNRELEASED; urgency=medium
+
+  * librust-cargo-dev: Bump the dependency version on the virtual packages
+    librust-flate2-1+default-dev and librust-flate2-1+zlib-dev for smoother
+    upgrades from buster which need to switch the provider from
+    librust-flate2+zlib-dev to librust-flate2+rust-backend-dev and
+    librust-flate2+libz-sys-dev.  (Closes: #-1)
+  * Bump the version in the Build-Depends for consistency.
+
+ -- Andreas Beckmann <a...@debian.org>  Mon, 28 Jun 2021 14:13:18 +0200
+
 rust-cargo (0.43.1-3) unstable; urgency=medium
 
   * Team upload.
diff -Nru rust-cargo-0.43.1/debian/control rust-cargo-0.43.1/debian/control
--- rust-cargo-0.43.1/debian/control    2020-12-07 06:19:36.000000000 +0100
+++ rust-cargo-0.43.1/debian/control    2021-06-28 14:13:12.000000000 +0200
@@ -21,8 +21,8 @@
  librust-curl-sys-0.4+default-dev (>= 0.4.22-~~) <!nocheck>,
  librust-env-logger-0.7+default-dev <!nocheck>,
  librust-filetime-0.2+default-dev <!nocheck>,
- librust-flate2-1+default-dev (>= 1.0.3-~~) <!nocheck>,
- librust-flate2-1+zlib-dev (>= 1.0.3-~~) <!nocheck>,
+ librust-flate2-1+default-dev (>= 1.0.13-~~) <!nocheck>,
+ librust-flate2-1+zlib-dev (>= 1.0.13-~~) <!nocheck>,
  librust-fs2-0.4+default-dev <!nocheck>,
  librust-fwdansi-1+default-dev <!nocheck>,
  librust-git2-0.13+default-dev (>= 0.13.11-~~) <!nocheck>,
@@ -109,8 +109,8 @@
  librust-curl-sys-0.4+default-dev (>= 0.4.22-~~),
  librust-env-logger-0.7+default-dev,
  librust-filetime-0.2+default-dev,
- librust-flate2-1+default-dev (>= 1.0.3-~~),
- librust-flate2-1+zlib-dev (>= 1.0.3-~~),
+ librust-flate2-1+default-dev (>= 1.0.13-~~),
+ librust-flate2-1+zlib-dev (>= 1.0.13-~~),
  librust-fs2-0.4+default-dev,
  librust-fwdansi-1+default-dev,
  librust-git2-0.13+default-dev (>= 0.13.11-~~),

Reply via email to