I've upgraded Ubuntu 14.04 server to 16.04 (the LTS upgrade). Now there are two pages of packages with the "deinstall" state in the
dpkg output. Does that mean the packages are still installed? Does that also mean that I now have the old and new versions of the software running, i.e. PHP 5.5 and 7.0, or MySQL 5.6 and 5.7? Is it necessary to clean up after the upgrade process, or will that happen automatically after some time? Will purging old packages delete the config file for newer versions as well if they are in the same path?
sudo do-release-upgrade ... dpkg --get-selections |grep deinstall