Skip to content

missing-breaks does not take diversions into account

For initramfs-tools, the newly enabled missing-breaks job reports:

[ERROR] Missing Breaks/Replaces found
[ERROR] initramfs-tools conflicts with live-tools files: {'/usr/share/man/man8/update-initramfs.8.gz', '/usr/sbin/update-initramfs'}

but live-tools diverts both of these files.

I realise it's probably hard to detect these diversions, but I don't think we should just disable the check entirely for packages that are affected by diversions.

Can you add some kind of exclusion mechanism?

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information