we have raspberry pi systems with debian installed, with sources from bullseye, bullseye-backports, raspberrypi, and finally our private repository. In our private repository we pre-compile zfs-modules, so that we don't have re-compile zfs-dkms on each raspberrypi box.
when apt full-upgrade
is performed, and an upgrade to the package 'raspberrypi-kernel' is available but the corresponsing zfs modules package 'zfs-modules-raspi-arm64' is not yet available, apt full-upgrade
elects to remove the zfs modules package.
Instead it should hold the package update of raspberrypi-kernel back.
I tried pinning. I tried mark-auto/mark-manual.
Holding the package 'zfs-modules-raspi-arm64' works, but also prevents normal apt upgrade
operations.
Question is: how to tell apt full-upgrade
, that raspberrypi-kernel should only be upgraded if zfs-modules-raspi-arm64 need not be removed for it?
Or phrased differently: How deos apt full-upgrade
choose for a conflict, whether to hold the one package or remove the other?
my package dependencies (shortened):
Package: raspberrypi-kernel
Version: 1:1.20230405-1
Package: raspberrypi-kernel
Version: 1:1.20230317-1
Package: zfs-modules-raspi-arm64
Version: 2.1.9-2~~1.20230317-1
Provides: zfs-modules
Depends: raspberrypi-kernel(=1:1.20230317-1)
Conflicts: zfs-modules
apt-full-upgrade would remove zfs-modules-raspi-arm64 in order to upgrade raspberrypi-kernel. but i want apt-full-upgrade to hold raspberrypi-kernel back, until a version of zfs-modules-raspi-arm64 compiled against the new kernel version is available.