0

I had some sort of browser-junk malware in my google chrome installation, so I wanted to completely destroy that installation. I followed the instructions here:

How do I completely uninstall Google Chrome and Chromium?

So I used sudo apt-get purge google-chrome-stable (and deleted ~/.config/google-chrome). Now I want to reinstall, so I tried sudo apt-get install google-chrome stable, and it spit out this result:

$ sudo apt-get install google-chrome-stable
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package google-chrome-stable

It seems like (How to undo an improper purge?) suggests that should work, and sudo apt-get install ubuntu-desktop (Undo apt-get remove --purge) seems like overkill. Is there something simple I can do to reinstall this package?

1 Answers1

0

Google chrome is not a default Ubuntu repository. Because of this, "apt-get purge" discarded the PPA (which was added automatically by google's .deb installer) from the repositories being managed by apt-get, and there is no way to simply apt-get install the repository again without re-adding the PPA.

The solution is to reinstall chrome from the .deb file, as described here: How do I do a Chrome offline installation?