I think you haven't noticed that I requested for "4.9.1-1" version from "testing" specifically,On 2023-05-14 00:15:39 +0500, Alexander V. Makartsev wrote:Hello, fellow Debian users. When I need to build a backport of a package, I sometimes find it difficult to obtain actual source package(-s) from Debian repos using console. Following advice from a wiki page [1], after "apt update", doesn't do it: $ apt source lego/testing Reading package lists... Done Picking 'golang-github-xenolf-lego' as source package instead of 'lego' E: Can not find version '3.2.0-3.1' of package 'lego' E: Unable to find a source package for golang-github-xenolf-legozira:~> apt-show-versions -a lego lego:amd64 3.2.0-3.1+b5 stable ftp.debian.org No stable-updates version lego:amd64 4.9.1-1 testing ftp.debian.org lego:amd64 4.9.1-1 unstable ftp.debian.org No experimental version lego:amd64 not installed Indeed, 3.2.0-3.1 is no longer the testing version. Your database seems to be out-of-date.
$ apt-show-versions -a legoYet "rmadison" reports there is a version "4.9.1-1" available in "testing":
lego:amd64 3.2.0-3.1+b5 bullseye deb.debian.org
No proposed-updates version
No stable-updates version
No testing version
No unstable version
lego:amd64 not installed
lego:i386 3.2.0-3.1+b5 bullseye deb.debian.org
No proposed-updates version
No stable-updates version
No testing version
No unstable version
lego:i386 not installed
$ rmadison legoI suspect "apt-show-versions" output is inconsistent because I only request "deb-src" from "testing" in "sources.list", as I've shown before.
lego | 0.3.1-5+b13 | oldstable | amd64, arm64, armel, armhf, i386, mips, mips64el, mipsel, ppc64el, s390x
lego | 3.2.0-3.1+b5 | stable | amd64, arm64, armel, armhf, i386, mips64el, mipsel, ppc64el, s390x
lego | 4.9.1-1 | testing | amd64, arm64, armel, armhf, i386, mips64el, mipsel, ppc64el, s390x
lego | 4.9.1-1 | unstable | amd64, arm64, armel, armhf, i386, mips64el, mipsel, ppc64el, s390x
$ rmadison roundcube
roundcube | 1.3.17+dfsg.1-1~deb10u2 | oldstable | source, all
roundcube | 1.4.13+dfsg.1-1~deb11u1~bpo10+1 | buster-backports | source, all
roundcube | 1.4.13+dfsg.1-1~deb11u1 | stable | source, all
roundcube | 1.6.1+dfsg-1 | testing | source, all
roundcube | 1.6.1+dfsg-1 | unstable | source, all
$ apt-show-versions -a roundcube
roundcube:all 1.4.13+dfsg.1-1~deb11u1 bullseye deb.debian.org
roundcube:all 1.4.13+dfsg.1-1~deb11u1 bullseye-security deb.debian.org
No proposed-updates version
No stable-updates version
No testing version
No unstable version
roundcube:all not installed
$ apt source roundcube/testing
Reading package lists... Done
Selected version '1.6.1+dfsg-1' (testing) for roundcube
...
$ rmadison golang-github-xenolf-lego
golang-github-xenolf-lego | 0.3.1-5 | oldstable | source
golang-github-xenolf-lego | 3.2.0-3.1 | stable | source
golang-github-xenolf-lego | 4.9.1-1 | testing | source
golang-github-xenolf-lego | 4.9.1-1 | unstable | source
golang-github-xenolf-lego | 4.9.1-1 | unstable-debug | source
$ apt source golang-github-xenolf-lego/testingBut why "apt" doesn't play along, since it knows the source package for "lego" has different name, but ignores the "testing" part of the request?
Reading package lists... Done
Selected version '4.9.1-1' (testing) for golang-github-xenolf-lego
...
$ apt source lego/testing
Reading package lists... Done
Picking 'golang-github-xenolf-lego' as source package instead of 'lego'
E: Can not find version '3.2.0-3.1' of package 'lego'
E: Unable to find a source package for golang-github-xenolf-lego