With caution, try this, which I am copying below:
- Find your package in /var/lib/dpkg/info, for example using: ls -l /var/lib/dpkg/info | grep <package>
- Move the package folder to another location:
sudo mv /var/lib/dpkg/info/<package>.* /tmp/
- Run the following command:
sudo dpkg --remove --force-remove-reinstreq <package>
Bookmarks