Some packages use features that we haven’t implemented yet. udev, for example, isn’t supported yet and causes several apt-get upgrade errors.

To fix issues related to udev, follow the following steps:

Write the following to /usr/sbin/policy-rc.d and save your changes.

#!/bin/sh
exit 101

Add execute permissions to /usr/sbin/policy-rc.d

chmod +x /usr/sbin/policy-rc.d

Run the following commands

dpkg-divert --local --rename --add /sbin/initctl
ln -s /bin/true /sbin/initctl