On Sat, Feb 1, 2025 at 2:17 AM Max Nikulin <maniku...@gmail.com> wrote:
>
> On 01/02/2025 02:34, Eddie wrote:
> > In Synaptic go to "Settings" - 'Preferences" - "Distributions"
> > then select "Prefer Versions From" - backports
>
> Do not do it. It is not a supposed way to use backports.
> <https://backports.debian.org/>
> > It is therefore recommended to only select single backported packages
> > that fit your needs, and not use all available backports.
>
> I do not use Synaptic, but from another message in this thread I suspect
> that it sets APT::Default-Release somewhere in /etc/apt/apt.conf or
> /etc/apt/apt.conf.d/. This is a deprecated setting with some non-obvious
> pitfalls:
> <https://wiki.debian.org/AptConfiguration#Be_careful_with_APT::Default-Release>

This command should help find them (for those who don't use U&L text tools):

    $ grep -iR Default-Release /etc/apt

> For those who followed the suggestion, I recommend to inspect
> /etc/apt/apt.conf and /etc/apt/apt.conf.d/ and to *remove* the
> APT::Default-Release line. I would not be surprised if attempts to
> change the setting from GUI may just change value instead of removing it
> completely from config.
>
> If some equivalent of "apt upgrade" has been executed since setting
> default release to backports then the following command should report
> much more packages than intentionally installed from backports and their
> dependencies):
>
>      apt list '?narrow(~i,~Astable-backports)'
>
> You may miss security updates from the bookworm-security repository.
> (Check that it is present in "apt policy" output.)
>
> Roger, you likely did not do an action similar to "apt update" after
> adding the backports repository.

Jeff

Reply via email to