The package NAME needs to be reinstalled, but I can’t find an archive for it..
Some time with Ubuntu you have the the prolem with the package NAME.The error look like below
E: The package NAME needs to be reinstalled, but I can't find an archive for it. E: Internal error opening cache (1). Please report.
And the solution is
sudo dpkg --remove --force-remove-reinstreq NAME
For Example you get the following error:
E: The package virtualbox needs to be reinstalled, but I can't find an archive for it. E: Internal error opening cache (1). Please report.
Then the solution is
sudo dpkg --remove --force-remove-reinstreq virtualbox