Re: how to downgrade nvidia-graphics-drivers packages?
Harald Dunkel wrote:
> Hi folks,
>
> Looking at a set of installed binary packages built from the same source
> package, I would like to keep the version numbers consistent. There might
> be exceptions, but in general you won't like to mix unstable and experimental
> binary packages from the nvidia-graphics-drivers, for example.
>
> Question is, how can I tell apt to avoid mixing version numbers?
If they come from different repositories (i.e. backports,
unstable, experimental) you can set priorities in
/etc/apt/preferences.d/ -- read the man page for
apt_preferences, because it's not intuitive.
Package: *
Pin: release a=bookworm
Pin-Priority: 900
Package: *
Pin: release a=bookworm-backports
Pin-Priority: 50
Or you can set things per-package by name, or a variety of other
mechanisms.
-dsr-
Reply to: