Comment 17 for bug 745011

Revision history for this message
Raphaƫl Hertzog (hertzog) wrote :

This is a bug in udev only... if udev wants to diverts its own file it must not use "--package udev" otherwise it instructs dpkg to divert the file EXCEPT when it's provided by udev (which it does). So in reality the replacement /sbin/udevadm is only there for a short time and overwritten by the new udevadm.

And then the postinst reinstalls the old udevadm which has been copied into /sbin/udevadm.upgrade (from the previous version) which supposedly does not support the --convert-db option.

I suggest to use "--package fake-udev" or "--local" instead (but --local is meant to be used by the admin in theory and might generate a lintian warning).