On Wed, 18 Aug 2021, Chew, Kean Ho wrote:
> root:~# apt -t buster-backports search linux-image-amd64
> E: The value 'buster-backports' is invalid for APT::Default-Release as
> such a release is not available in the sources
You likely have that somewhere in /etc/apt.conf{,.d/*}.
Best to remove it entirely from there.
The issue is what they're telling apt. That command line be:
# apt -t bullseye-backports search linux-image-amd64
The old command line actively tells apt to use buster-backports rather than bullseye-backports, so it will definitely fail if it's not in the apt sources.
--
Stuart Young (aka Cefiar)