Your message dated Wed, 24 Nov 2021 15:48:41 +0000 with message-id <[email protected]> and subject line Bug#998444: fixed in apt 2.3.13 has caused the Debian Bug report #998444, regarding apt source --target-release=/./ is weird to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 998444: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=998444 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: apt Version: 2.2.4 Severity: minor On a system with bullseye and bullseye-backports, I wanted to source the latest vlc apt had anywhere (backports or not). That is, temporarily override any pinning. $ apt source -t/./ vlc # gives confusing error (see below) $ apt download -t/./ vlc # works as expected The expected behaviour is that --target-release works the same for "apt source" as it does for "apt download" (or "apt install"). 20:40 <juliank> twb: So source does not support regular expressions or glob patterns in -t, APT::Default-Release 20:40 <juliank> only exact release names 20:41 <juliank> twb: presumably nobody noticed that it did its own matching :) 20:41 <twb> OK. If that's known/expected behaviour, then it's not a bug 20:42 <juliank> i think it's a bug because it's an oversight and clashes with the release notes 20:42 <juliank> which suggested that default-release "/^bullseye(-security|-updates)$/" works as "bullseye" would have before; but it breaks source Here is full transcript for bullseye: bash5$ mmdebstrap bullseye /dev/null --customize-hook='chroot $1 apt download -t/./ vlc' --customize-hook='chroot $1 apt source -t/./ vlc' 'deb http://deb.debian.org/debian bullseye main' 'deb-src http://deb.debian.org/debian bullseye main' I: automatically chosen mode: unshare I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: tar I: using /tmp/mmdebstrap.FcuegMKvYL as tempdir I: running apt-get update... done I: downloading packages with apt... done I: extracting archives... done I: installing essential packages... done I: downloading apt... done I: installing apt... done I: installing remaining packages inside the chroot... done done --> I: running --customize-hook in shell: sh -c 'chroot $1 apt download -t/./ vlc' exec /tmp/mmdebstrap.FcuegMKvYL --> Get:1 http://deb.debian.org/debian bullseye/main amd64 vlc amd64 3.0.16-1 [144 kB] Fetched 144 kB in 0s (1526 kB/s) W: Download is performed unsandboxed as root as file '//vlc_3.0.16-1_amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) --> I: running --customize-hook in shell: sh -c 'chroot $1 apt source -t/./ vlc' exec /tmp/mmdebstrap.FcuegMKvYL --> Reading package lists... Done E: Unable to find a source package for vlc E: run_chroot failed: E: command failed: chroot $1 apt source -t/./ vlc W: listening on child socket failed: I: removing tempdir /tmp/mmdebstrap.FcuegMKvYL... Here is a full transcript for sid: bash5$ mmdebstrap unstable /dev/null --customize-hook='chroot $1 apt download -t/./ vlc' --customize-hook='chroot $1 apt source -t/./ vlc' 'deb http://deb.debian.org/debian unstable main' 'deb-src http://deb.debian.org/debian unstable main' I: automatically chosen mode: unshare I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: tar I: using /tmp/mmdebstrap.nTcELCiBZM as tempdir I: running apt-get update... done I: downloading packages with apt... done I: extracting archives... done I: installing essential packages... done I: downloading apt... done I: installing apt... done I: installing remaining packages inside the chroot... done done --> I: running --customize-hook in shell: sh -c 'chroot $1 apt download -t/./ vlc' exec /tmp/mmdebstrap.nTcELCiBZM --> Get:1 http://deb.debian.org/debian unstable/main amd64 vlc amd64 3.0.16-1+b4 [145 kB] Fetched 145 kB in 0s (1443 kB/s) W: Download is performed unsandboxed as root as file '//vlc_3.0.16-1+b4_amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) --> I: running --customize-hook in shell: sh -c 'chroot $1 apt source -t/./ vlc' exec /tmp/mmdebstrap.nTcELCiBZM --> Reading package lists... Done --> E: Can not find version '3.0.16-1' of package 'vlc' --> E: Unable to find a source package for vlc E: run_chroot failed: E: command failed: chroot $1 apt source -t/./ vlc W: listening on child socket failed: I: removing tempdir /tmp/mmdebstrap.nTcELCiBZM... bash5$
--- End Message ---
--- Begin Message ---Source: apt Source-Version: 2.3.13 Done: Julian Andres Klode <[email protected]> We believe that the bug you reported is fixed in the latest version of apt, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Julian Andres Klode <[email protected]> (supplier of updated apt package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Wed, 24 Nov 2021 16:24:21 +0100 Source: apt Architecture: source Version: 2.3.13 Distribution: unstable Urgency: medium Maintainer: APT Development Team <[email protected]> Changed-By: Julian Andres Klode <[email protected]> Closes: 998444 1000424 Changes: apt (2.3.13) unstable; urgency=medium . [ Alexander Kanavin ] * apt-pkg/contrib/srvrec.h: Explicitly include sys/types.h . [ Américo Monteiro ] * Portuguese manpages translation update (Closes: #1000424) . [ David Kalnischkies ] * Support more than exact release matches in 'source' (Closes: #998444) . [ Cameron Katri ] * basehttp: Rename HaveContent's Tristate Checksums-Sha1: 7ba68c4b1af52cf7f135f4a6f8cb310819ac8a70 2801 apt_2.3.13.dsc 0c1862e2ef5243364fdc07eecf1791c1a274a210 2212300 apt_2.3.13.tar.xz 230d7085d8d5e79f215a28f2986495e12d2157d8 7417 apt_2.3.13_source.buildinfo Checksums-Sha256: 5f23eb09860647baeeb4f7fafe5267df24afe1fe277cbf5b125872ebb3436bda 2801 apt_2.3.13.dsc e519e55f1015d656425e68f8c7c7bebd1908df3ac87836eb6e7b6b58ce3f965d 2212300 apt_2.3.13.tar.xz 26f2be83d321522e61520faf452a76589c1eed6dde46e36f6c1c645b44e646fc 7417 apt_2.3.13_source.buildinfo Files: b4698e5fd139cd1ea1659913361a5796 2801 admin important apt_2.3.13.dsc 0a17a36490ac8106522364a3da5430fc 2212300 admin important apt_2.3.13.tar.xz b34835d934f1af9c51c6f21c95ce7a4c 7417 admin important apt_2.3.13_source.buildinfo -----BEGIN PGP SIGNATURE----- iQJDBAEBCgAtFiEET7WIqEwt3nmnTHeHb6RY3R2wP3EFAmGeWXwPHGpha0BkZWJp YW4ub3JnAAoJEG+kWN0dsD9xKWoQAJEA3TCtuJDxbZHj2eYEcd21dLbvilSGzUPh eMzaUuPl85t4qXe4Tji3f4FPWNJoPrG4gjtvgnDJHgP5Supfrb8//dNtUTx3uTJ+ oqtGJdn7FZyeY15s5QRS9lkXPtLTN0v4WrE1X/0vNAFtkcD6PMTzYYjygVv8OHjE HOThq3Ud/iaWI6597tQk7fvae2lYR0lL5kADLC1HIlAmzjnCQJyxkcI7g4Evj53H rFI1r+gwcco/0+iI0P+dOzndyQAIWHbFldwfGJ/0ijBVdD+sZoRK5fFbvBbnixUQ 3D7UaucTRtzI2vFDbLp8HEwRy36Jh76AK++INxGkRYQDezmKEm1vdNUNPsxk2OPX oRKQf48ft4nb/xvlmG5FTTbaojb+LSjXjR5Ng9cgv1M0OP64JECTFdd+I5bUYH5E 1kgpfIMU5Wtmu43IbrFdGG8YAE1/drf6tiUgbtvljEFAr57bUgREbjIxyhwBRpIL Pv/YOXRHmQ0t7YGv75GZ52JYVR/udVR7fz0bdpt8L5dxboogXEhXqiI+TGh+550W ZzwhqHxVvL1qcrXqYsAaYZQiOFMEkPv9yOWA4zIyHnE9lI27/jDPXFqYM+edwUXb NN+45Tl8gn+qGvaXH2V4W+0OxeKFEoXgSvxxPMgUMVTALD6GTmwFgw93KegHS7sr XwZe7Rn6 =tPGc -----END PGP SIGNATURE-----
--- End Message ---

