Ok, so quickly going through the postrm, preinst and postinst script,
assuming a working scenario (the upgrade doesn't get cancelled):

postrm: Nothing happens
preinst: disable_udevadm (diverts the OLD udevadm to /sbin/udevadm.upgrade, 
then puts a shell script to replace udevadm)
postinst: remove the "fake" udevadm and remove the diversion

Now, I don't see any manual moving of udevadm done in any of these scripts and 
my understanding of dpkg diversions is that when updating the files in the 
udevadm package, udevadm.upgrade should have been updated with the new content, 
then moved back to /sbin/udevadm when the diversion got removed.
For some reason this didn't happen ...

I'll do some more tests to reproduce tomorrow with a non-critical
package, to check if that's a udev-specific issue or something wrong
with dpkg-divert (or me understanding it).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/745011

Title:
  "info: unrecognized option '--convert-db'" on upgrade

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to