This question already has an answer here:

I have the latest google chrome but accidentally tried to install the .deb package i downloaded two years ago, then cancelled with ctrl-c when it was unpacking, now it keeps telling me its half installed (although i'm using the latest version) is there a way to fix this?

Reading a couple of similar questions i've found most of them rely on removing and installing again the package but i don't want to go through all of that trouble, this chrome installation has been running smooth for over a year and it has all my internet history, bookmarks, addons and configurations and it would be silly to spend so much time to backup all of that to fix a progam that is working fine just to remove that silly error message.

I already tried sudo dpkg --configure -a and sudo apt-get install -f without luck.

Is there anything else i could try or ill have to live with it?

share|improve this question

marked as duplicate by muru, karel, Eric Carvalho, Charles Green, edwinksl Aug 25 '17 at 14:05

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
Reinstall google chrome. – iTux Aug 14 '15 at 11:26
    
Connect your google chrome browser with google account, it will backup automatically – iTux Aug 14 '15 at 11:29
    
Edit your question and add the error message. The installation of a newer Chrome release does nothing with your private data/history/addons/…. – A.B. Aug 14 '15 at 11:45
up vote 2 down vote accepted

I suggest installing the same deb file again. Then you will be able to remove it.

share|improve this answer
    
I deleted the package – octohedron Aug 14 '15 at 11:35
1  
Then try to install the new one. – Pilot6 Aug 14 '15 at 11:57

In the past, I have had some stubborn packages, that wouldnt uninstall properly. (Im not sure why that happens, package quality perhaps?) anyhow, try: sudo apt-get purge <package>

Then you might also use find, or locate to locate any residual files that you might want to remove. places for concern might include anything that is in one of the directories located within the $PATH variable.

So if I did sudo apt-get purge xyz then got:

 sudo locate xyz
/usr/bin/xyz/files
/opt/xyz
/home/user/.xyz

... I would investigate the files in /opt and /usr/bin first. You may need to do sudo rm -rf /usr/bin/xyz

So be cautious. If you find files for the old package installation, or you're uncertain, post back here with what those are, and we can try to assist/ advise. Incidentally, what is the package you are trying to remove / install?

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.