Debian linux: force remove package

echo ‘exit 0′ >/var/lib/dpkg/info/<package_name>.postrm
dpkg –purge <package_name>
apt-get purge <package_name>
apt-get remove <package_name>

Advertisements