[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

SimpleBackportCreation attempt says: The value 'unstable' is invalid for APT::Default-Release



Hi, on buster, I'm having a problem using the wiki instructions
https://wiki.debian.org/SimpleBackportCreation
specifically the 3 steps under the subheading
"Add source package entries for the testing distribution"
Although in my case I am seeking to obtain the source package
from unstable, not testing.

Per step 1, I add a temporary unstable deb-src line so that my
/etc/apt/sources.list becomes (comments removed, see last line):
$ cat /etc/apt/sources.list
deb http://approx:9999/debian/ buster main non-free contrib
deb http://security.debian.org/debian-security buster/updates main
contrib non-free
deb http://approx:9999/debian/ buster-updates main contrib non-free
deb http://approx:9999/debian/ buster-backports main contrib non-free
deb-src http://approx:9999/debian/ unstable main contrib non-free
$

Per step 2, I run apt update:
# apt update
Hit:1 http://approx:9999/debian buster InRelease
Hit:2 http://security.debian.org/debian-security buster/updates InRelease
Hit:3 http://approx:9999/debian buster-updates InRelease
Hit:4 http://approx:9999/debian buster-backports InRelease
Get:5 http://approx:9999/debian unstable InRelease [146 kB]
Get:6 http://approx:9999/debian unstable/contrib Sources [47.3 kB]
Get:7 http://approx:9999/debian unstable/non-free Sources [84.9 kB]
Get:8 http://approx:9999/debian unstable/main Sources [8,620 kB]
Fetched 8,899 kB in 7s (1,187 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
#

But step 3 fails:
$ 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
$ apt source -t testing cgdb
Reading package lists... Done
E: The value 'testing' is invalid for APT::Default-Release as such a
release is not available in the sources
E: Unable to find a source package for
$

What is wrong, and how do I fix it?


Reply to: