On Sat, Jun 13, 2020 at 03:30:08PM +1000, David wrote: > Greg thanks for providing a worked example, but I was disappointed that you > did not actually test the command given on the wiki page, the one that > failed for me. In your example, you used > > $ apt-get source ksh > > How do you know which suite that command downloads the source from?
I've seen so many differing instructions for "simple sid backport" that I can't even remember all of them. What I used was totally from memory, and it probably a pastiche of several different suggestions I've seen over the years. Whatever issue you're seeing with some new-fangled set of instructions is probably a more recent artifact. The steps I followed do not have those issues. "apt-get source foo" pulls from the most recent available deb-src with no issues for me. I've seen other people who had to do the "apt-get source foo/unstable" thing but I never dug into the matter to try to figure out what the underlying cause is. > I found myself wishing that you had tested the command that actually failed > for me in my posted question: > > $ apt source -t unstable cgdb I don't know anything about that syntax. Never used it. I didn't need to specify which deb-src to use, for ksh, at all. > That's what triggered the bug/error. Does it work for you? unicorn:/tmp/q$ apt source -t unstable cgdb Reading package lists... Done E: The value 'unstable' is invalid for APT::Default-Release as such a release is not available in the sources E: Unable to find a source package for unicorn:/tmp/q$ apt-get source -t unstable cgdb Reading package lists... Done E: The value 'unstable' is invalid for APT::Default-Release as such a release is not available in the sources E: Unable to find a source package for unicorn:/tmp/q$ apt-get source cgdb Reading package lists... Done Need to get 680 kB of source archives. Get:1 http://ftp.us.debian.org/debian buster/main cgdb 0.6.7-2 (dsc) [1,088 B] Get:2 http://ftp.us.debian.org/debian buster/main cgdb 0.6.7-2 (tar) [674 kB] Get:3 http://ftp.us.debian.org/debian buster/main cgdb 0.6.7-2 (diff) [4,465 B] Fetched 680 kB in 2s (320 kB/s) dpkg-source: info: extracting cgdb in cgdb-0.6.7 dpkg-source: info: unpacking cgdb_0.6.7.orig.tar.gz dpkg-source: info: unpacking cgdb_0.6.7-2.debian.tar.gz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying mips_defines.diff dpkg-source: info: applying manpage.diff dpkg-source: info: applying texinfo_itemx.diff unicorn:/tmp/q$ apt-get source cgdb/unstable Reading package lists... Done Selected version '0.6.7-2' (unstable) for cgdb Skipping already downloaded file 'cgdb_0.6.7-2.dsc' Skipping already downloaded file 'cgdb_0.6.7.orig.tar.gz' Skipping already downloaded file 'cgdb_0.6.7-2.debian.tar.gz' Need to get 0 B of source archives. Skipping unpack of already unpacked source in cgdb-0.6.7 *shrug* I don't know what's going on there. cgdb is not a pacakge I'm familiar with, and according to packages.debian.org, the difference between the buster and sid versions is very small (0.6.7-2+b4 vs. 0.6.7-2+b5). That makes it extra hard to see whether something actually worked.