Debian Bug report logs - #983103
dak: version checks for binaries not enforced when binary changes from any to all

Package: ftp.debian.org; Maintainer for ftp.debian.org is Debian FTP Master <[email protected]>;

Reported by: Axel Beckert <[email protected]>

Date: Thu, 18 Feb 2021 08:12:02 UTC

Severity: normal

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], [email protected], Debian Qt/KDE Maintainers <[email protected]>:
Bug#983018; Package qdbus. (Thu, 18 Feb 2021 08:12:04 GMT) (full text, mbox, link).


Acknowledgement sent to Axel Beckert <[email protected]>:
New Bug report received and forwarded. Copy sent to [email protected], Debian Qt/KDE Maintainers <[email protected]>. (Thu, 18 Feb 2021 08:12:04 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Axel Beckert <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: qdbus: Needs package downgrade from Buster to Bullseye (missing epoch in transitional package)
Date: Thu, 18 Feb 2021 09:08:46 +0100
Package: qdbus
Severity: serious
Justification: §3.2 and https://wiki.debian.org/SystemDowngrade

Hi,

on one system I wondered why qdbus is still on Qt4. Then I noticed that
the version of the Qt4 qdbus package from Buster is higher (!) than the
version of the Qt5 qdbus package in Bullseye:

$ apt-cache policy qdbus
qdbus:
  Installed: 4:4.8.7+dfsg-18+deb10u1
  Candidate: 4:4.8.7+dfsg-18+deb10u1
  Version table:
 *** 4:4.8.7+dfsg-20 100
        100 /var/lib/dpkg/status
     5.15.2-3 990
        900 https://debian.ethz.ch/debian bullseye/main i386 Packages

From what I can see, the proper fix is to prepend at least an epoch of
"4" to (only) the transitional package, i.e. to make the version of
qdbus in Bullseye "4:5.15.2-…" instead of just "5.15.2-…".

Even the BTS gets it partially wrong probably because of this and still
thinks the current qdbus package is built from the qt4-x11 source
package:

https://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=qdbus;dist=unstable
(Note that it displays the correct version number, but the wrong source
package.)

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (600, 'testing'), (500, 'unstable-debug'), (500, 'buildd-unstable'), (110, 'experimental'), (1, 'experimental-debug'), (1, 'buildd-experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-1-amd64 (SMP w/4 CPU threads)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled



Marked as found in versions qttools-opensource-src/5.15.2-3. Request was from Axel Beckert <[email protected]> to [email protected]. (Thu, 18 Feb 2021 08:30:02 GMT) (full text, mbox, link).


Message sent on to Axel Beckert <[email protected]>:
Bug#983018. (Thu, 18 Feb 2021 17:15:03 GMT) (full text, mbox, link).


Message #10 received at [email protected] (full text, mbox, reply):

From: Dmitry Shachnev <[email protected]>
To: [email protected]
Subject: Bug#983018 marked as pending in qttools-opensource-src
Date: Thu, 18 Feb 2021 17:10:56 +0000
Control: tag -1 pending

Hello,

Bug #983018 in qttools-opensource-src reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/qt-kde-team/qt/qttools/-/commit/3f30e1424052ebb926ec506f1fda8294c49f0434

------------------------------------------------------------------------
Add 4: epoch to qdbus transitional package.

Closes: #983018.
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/983018



Added tag(s) pending. Request was from Dmitry Shachnev <[email protected]> to [email protected]. (Thu, 18 Feb 2021 17:15:03 GMT) (full text, mbox, link).


Information forwarded to [email protected], Debian Qt/KDE Maintainers <[email protected]>:
Bug#983018; Package qdbus. (Fri, 19 Feb 2021 11:33:04 GMT) (full text, mbox, link).


Acknowledgement sent to Ivo De Decker <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Qt/KDE Maintainers <[email protected]>. (Fri, 19 Feb 2021 11:33:04 GMT) (full text, mbox, link).


Message #17 received at [email protected] (full text, mbox, reply):

From: Ivo De Decker <[email protected]>
To: Axel Beckert <[email protected]>
Cc: [email protected]
Subject: Re: qdbus: Needs package downgrade from Buster to Bullseye (missing epoch in transitional package)
Date: Fri, 19 Feb 2021 12:30:12 +0100
clone -1 -2
reassign -2 ftp.debian.org
retitle -2 dak: version checks for binaries not enforced when binary changes from any to all
severity -2 normal
tags -2 - pending

Hi,

On Thu, Feb 18, 2021 at 09:08:46AM +0100, Axel Beckert wrote:
> Hi,
> 
> on one system I wondered why qdbus is still on Qt4. Then I noticed that
> the version of the Qt4 qdbus package from Buster is higher (!) than the
> version of the Qt5 qdbus package in Bullseye:
> 
> $ apt-cache policy qdbus
> qdbus:
>   Installed: 4:4.8.7+dfsg-18+deb10u1
>   Candidate: 4:4.8.7+dfsg-18+deb10u1
>   Version table:
>  *** 4:4.8.7+dfsg-20 100
>         100 /var/lib/dpkg/status
>      5.15.2-3 990
>         900 https://debian.ethz.ch/debian bullseye/main i386 Packages

The current situation:

qdbus      | 5.15.2-3                             | testing      | all
qdbus      | 5.15.2-3                             | unstable     | all
qdbus      | 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1 | oldoldstable | amd64, armel, armhf, i386
qdbus      | 4:4.8.7+dfsg-11                      | oldstable    | amd64, arm64, armel, armhf, i386, mips, mips64el, mipsel, ppc64el, s390x
qdbus      | 4:4.8.7+dfsg-18+deb10u1              | stable       | amd64, arm64, armel, armhf, i386, mips, mips64el, mipsel, ppc64el, s390x

Normally, version checks should prevent an upload to unstable of a binary that
has a lower version than in stable or testing. However, this is checked per
architecture, and it seems the check wasn't done because the binary changed
from arch: any to arch: all at the same time. This case should probably be
checked in dak as well (obviously also for arch: all to arch: any).

Cloning the bug to track the issue in dak.

Cheers,

Ivo






Bug 983018 cloned as bug 983103 Request was from Ivo De Decker <[email protected]> to [email protected]. (Fri, 19 Feb 2021 12:03:13 GMT) (full text, mbox, link).


Bug reassigned from package 'qdbus' to 'ftp.debian.org'. Request was from Ivo De Decker <[email protected]> to [email protected]. (Fri, 19 Feb 2021 12:03:14 GMT) (full text, mbox, link).


No longer marked as found in versions qttools-opensource-src/5.15.2-3. Request was from Ivo De Decker <[email protected]> to [email protected]. (Fri, 19 Feb 2021 12:03:14 GMT) (full text, mbox, link).


Changed Bug title to 'dak: version checks for binaries not enforced when binary changes from any to all' from 'qdbus: Needs package downgrade from Buster to Bullseye (missing epoch in transitional package)'. Request was from Ivo De Decker <[email protected]> to [email protected]. (Fri, 19 Feb 2021 12:03:14 GMT) (full text, mbox, link).


Severity set to 'normal' from 'serious' Request was from Ivo De Decker <[email protected]> to [email protected]. (Fri, 19 Feb 2021 12:03:15 GMT) (full text, mbox, link).


Removed tag(s) pending. Request was from Ivo De Decker <[email protected]> to [email protected]. (Fri, 19 Feb 2021 12:03:15 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 12:55:00 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.