On Saturday, 01-02-2025 at 08:41 Roger Price wrote:
> 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 

I guess just a simple mistake, but why did you use "debian-backports" ? Are you 
running bookworm? And thus use "bookworm-backports" ?

I compared:
deb http://deb.debian.org/debian/ debian-backports main contrib non-free
deb https://deb.debian.org/debian/ bookworm-backports main contrib non-free 
non-free-firmware

(I also use non-free-firmware from time to time, so I include that too, but it 
is not necessary)

https://wiki.debian.org/Backports
Copy the repository below, then hit the "Add Source" button: 
deb http://deb.debian.org/debian bookworm-backports main contrib non-free

George.


> 
> 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