Upgrading an install that exhibits this bug is a major trip-hazard, as the act of upgrading the package to the new version will call the broken prerm to execute, resulting in the -dpdk binary being disabled again.
To avoid this:
sudo sed -i "/update-alternatives/d" /var/lib/dpkg/info/openvswitch-switch-dpdk.prerm
before completing the package upgrade thus ensuring the -dpdk version of the binary never gets removed.
Upgrading an install that exhibits this bug is a major trip-hazard, as the act of upgrading the package to the new version will call the broken prerm to execute, resulting in the -dpdk binary being disabled again.
To avoid this:
sudo sed -i "/update- alternatives/ d" /var/lib/ dpkg/info/ openvswitch- switch- dpdk.prerm
before completing the package upgrade thus ensuring the -dpdk version of the binary never gets removed.