E: Internal error opening cache (1). Please report.

Asked by Keith

hi i reported a problem on an internal error, and ran the sudo dpkg --configure -a as suggested but i still cannot update or add and remove programs. the full error is.
E: The package googleearth needs to be reinstalled, but I can't find an archive for it.
E: Internal error opening cache (1). Please report.
i cannot reinstall googleearth i have also tried other suggestions from other sources but none appear to work?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Keith
Solved:
Last query:
Last reply:
Revision history for this message
Alan Pope 🍺🐧🐱 πŸ¦„ (popey) said :
#1

Try removing it first

sudo apt-get remove --purge googleearth

Revision history for this message
Keith (j-halls1) said :
#2

hi tried that to no avail.

Revision history for this message
Alan Pope 🍺🐧🐱 πŸ¦„ (popey) said :
#3

What happens when you try it?

Revision history for this message
Keith (j-halls1) said :
#4

hi it reports
reading package lists ...done
building dependency tree
reading state information...done
E: The package googleearth needs to be reinstalled, but I can't find an archive for it.

it doesn't have any effect.
i tried sudo dpkg --configure -a afterwards as well but still no good?

cheers keith

Revision history for this message
Keith (j-halls1) said :
#5

hi thanks everybody but i had to re-install in the end after trying all sorts from different sources. thanks again.

Revision history for this message
vinoth (vinoth-ree) said :
#6

sudo dpkg --remove --force-remove-reinstreq PACKAGE NAME

It will remove the package and you can reinstall it again.