• In Debian Bullseye dpkg-dep returns empty output if showformat is any v

    From Uladzimir Bely@21:1/5 to All on Tue Jan 25 09:00:02 2022
    Package: dpkg
    Version: 1.20.9
    Severity: bug

    In Debian Bullseye dpkg-deb returns nothing when asked for some 'source:*' field, even if .deb file provides the package that is already installed.

    At the same time, dpkg-query output is OK.

    Logs from Debian Bullseye chroot:

    ```
    (chr-bullseye-amd64)ubely:~$ sudo dpkg -l | grep "ca-certificates"
    ii ca-certificates 20210119 all Common CA certificates (chr-bullseye-amd64)ubely:~$ dpkg-deb --show --showformat '${Package}' /var/ cache/apt/archives/ca-certificates_20210119_all.deb; echo
    ca-certificates
    (chr-bullseye-amd64)ubely:~$ dpkg-deb --show --showformat '${source:Package}' /var/cache/apt/archives/ca-certificates_20210119_all.deb; echo

    (chr-bullseye-amd64)ubely:~$ dpkg-query --show --showformat='$ {source:Package}' ca-certificates; echo
    ca-certificates
    (chr-bullseye-amd64)ubely:~$ dpkg-deb --version
    Debian 'dpkg-deb' package archive backend version 1.20.9 (amd64).
    ```

    Under Debign Buster everything is OK:

    ```
    (chr-buster-amd64)ubely:~$ sudo dpkg -l | grep "ca-certificates"
    ii ca-certificates 20200601~deb10u2 all Common CA certificates (chr-buster-amd64)ubely:~$ dpkg-deb --show --showformat '${Package}' /var/ cache/apt/archives/ca-certificates_20200601~deb10u2_all.deb; echoca- certificates
    (chr-buster-amd64)ubely:~$ dpkg-deb --show --showformat '${source:Package}' / var/cache/apt/archives/ca-certificates_20200601~deb10u2_all.deb; echo ca-certificates
    (chr-buster-amd64)ubely:~$ dpkg-query --show --showformat='${source:Package}' ca-certificates; echo
    ca-certificates
    (chr-buster-amd64)ubely:~$ dpkg-deb --version
    Debian 'dpkg-deb' package archive backend version 1.19.7 (amd64).
    ```

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Guillem Jover@21:1/5 to Uladzimir Bely on Tue Jan 25 11:50:01 2022
    Hi!

    Thanks for the report!

    On Tue, 2022-01-25 at 10:17:31 +0300, Uladzimir Bely wrote:
    Package: dpkg
    Version: 1.20.9
    Severity: bug

    Bug reports should be directed to submit@bugs.debian.org, or you could
    use reportbug which should manage all this for you.

    (I'll probably file a report out of this later today.)

    In Debian Bullseye dpkg-deb returns nothing when asked for some 'source:*' field, even if .deb file provides the package that is already installed.

    At the same time, dpkg-query output is OK.

    It looks like this is a regression from the fix for #972580. I'll fix
    this a queue it for the next unstable and stable versions.

    Thanks,
    Guillem

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Uladzimir Bely@21:1/5 to All on Tue Jan 25 14:20:01 2022
    In the email from вторник, 25 января 2022 г. 13:40:58 +03 user Guillem Jover
    wrote:
    Hi!

    Thanks for the report!

    On Tue, 2022-01-25 at 10:17:31 +0300, Uladzimir Bely wrote:
    Package: dpkg
    Version: 1.20.9
    Severity: bug

    Bug reports should be directed to submit@bugs.debian.org, or you could
    use reportbug which should manage all this for you.

    (I'll probably file a report out of this later today.)


    If you could deal with it quickly, please make the report. I've never used `reportbug` tool before, so it can take me some time to figure out how to do it in proper way.

    In Debian Bullseye dpkg-deb returns nothing when asked for some 'source:*' field, even if .deb file provides the package that is already installed.

    At the same time, dpkg-query output is OK.

    It looks like this is a regression from the fix for #972580. I'll fix
    this a queue it for the next unstable and stable versions.

    Thanks,
    Guillem

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)