I installed a .deb package and it did not get installed properly. Now, when I try to remove it by
sudo apt-get --purge remove <packagename>
sudo dpkg remove <packagename>
E: The package <packagename> needs to be reinstalled, but I can't find an archive for it.
I also followed this article,
which seem to have solved a lot of people's problems(check comment) The link basically tell us to,
In my case, I check the shell scripts, i did not have
/bash/sh -e , instead I had
I tried removing
set -e (check comments, it had worked for people), but it does not work for me.
I also tried removing the package from
tried to run update and upgrade commands, Still it did not work.
Can someone help me out here also explain what is this issue. Seems like a lot of people are stuck on this issue for days.