Use dpkg --force-remove-essential to avoid interactive dpkg