To resolve this, you might consider to create a file
like e.g. /etc/apt/preferences.d/multimedia .
Here the content of that file looks like:
Package: *
Pin: release o=Unofficial Multimedia Packages,n=buster
Pin-Priority: 332
Package: *
Pin: release o=Unofficial Multimedia Packages,n=buster-backports
Pin-Priority: 331
Michael,
Thanks for explaining why the difference exists. However, I do not
know what these two rules mean to upgrade decisions. So, I ask the
following based on sources.list lines.
with the respective entries in my sources.list:
debhttp://www.deb-multimedia.org <http://www.deb-multimedia.org/> buster main
non-free
debhttp://www.deb-multimedia.org <http://www.deb-multimedia.org/>
buster-backports main non-free
I have these exact lines in my sources.list also. I thought we have
backports so that we can get the newer version of packages. For example,
buster multimedia has mythtv 0.30 and backports has mythtv 0.31 (the
last time I checked). I have installed 0.31 in my system (using -t
stable-backports, I think) as my frontend need to be compatible with
backend that runs mythtv 0.31 (on xubuntu 20.04). In that case, would
the above pinning rule prevent proper upgrade as it puts backports at a
lower priority? (I assume that is what your pinning rules imply unless
priorities are increased with lower numerical value)
In other words, should I stick to aptitude's decision?
Why priority 331 and 332? Why not some other two with same relationship?
Sorry, if I asked a simple question. I will be more than happy to read
documentation, if I will find it there.
Regards
Ramesh