On Fri, 31 Jan 2025, Eddie wrote:
> On 1/31/25 12:40, Henrik Ahlgren wrote:
> > Packages from backports are pinned with low priority (100) and never
> > installed by default. So in order to install a backported package, you
> > need to do it like:
> > 
> > apt install yt-dlp/bookworm-backports
> > 
> > Not sure how to do it in Synaptic.
> > 
> In Synaptic go to "Settings" - 'Preferences" - "Distributions"
> then select "Prefer Versions From" - backports

I added the line 

 deb http://deb.debian.org/debian/ debian-backports main contrib non-free 

to /etc/apt/sources.list, ran apt update and got the error message

 root@maria ~ apt update
 Hit:1 ...
 Ign:5 http://deb.debian.org/debian debian-backports InRelease        
 Err:7 http://deb.debian.org/debian debian-backports Release          
  404  Not Found [IP: 151.101.2.132 80]
 Reading package lists... Done                
 E: The repository 'http://deb.debian.org/debian debian-backports Release' does 
    not have a Release file.
 N: Updating from such a repository can't be done securely, and is therefore 
    disabled by default.
 N: See apt-secure(8) manpage for repository creation and user configuration 
    details.

So when I go to "Synaptic -> Settings -> Preferences -> Distributions -> Prefer 
versions from", I see no backports. 

Should I add allow-insecure=yes or allow-downgrade-to-insecure=yes to 
sources.list, or is there some better way?

Roger

Reply via email to