Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how to downgrade nvidia-graphics-drivers packages?

4 views
Skip to first unread message

Harald Dunkel

unread,
Feb 19, 2024, 7:10:04 AMFeb 19
to
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?

Regards
Harri

Dan Ritter

unread,
Feb 19, 2024, 8:20:04 AMFeb 19
to
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-
0 new messages