LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Can't get rid of Brave browser (https://www.linuxquestions.org/questions/linux-desktop-74/cant-get-rid-of-brave-browser-4175611317/)

PatD 08-04-2017 11:48 AM

Can't get rid of Brave browser
 
I have removed and purged this software, but the update manager keeps trying update it anyway and failing, of course. It's really annoying and I don't know how to stop it.
Can anybody help?

MensaWater 08-04-2017 12:58 PM

How did you originally install this software?

How did you purge it?

What Linux distro and version are you using?

At a guess you installed using a package appropriate to your distro and version (e.g. a .deb for Ubuntu or a .rpm for RedHat). You simply deleted files instead of removing the package so your update manager still finds the package in your list of installed packages and prompts to update it. You'd need to remove the package itself to stop that behavior.

PatD 08-04-2017 02:19 PM

Thanks.

But I figured out what the error was about, and removed the brave entry in etc/apt/sources.list.d/ - after backing it up first, of course :)

That fixed it - learn something every day with Linux !!

Habitual 08-04-2017 02:46 PM

+1
backing up, then edit

Get Cape. Wear Cape. Fly.

MensaWater 08-04-2017 04:17 PM

Quote:

Originally Posted by PatD (Post 5744518)
Thanks.

But I figured out what the error was about, and removed the brave entry in etc/apt/sources.list.d/ - after backing it up first, of course :)

That fixed it - learn something every day with Linux !!

apt being used for package management on Debian derived distros like Ubuntu. Your issue was what I suggested it was. You likely installed with apt-get and should have used the appropriate command to remove rather than deleting individual files.

Habitual 08-05-2017 07:43 AM

Quote:

Originally Posted by MensaWater (Post 5744566)
apt being used for package management on Debian derived distros like Ubuntu. Your issue was what I suggested it was. You likely installed with apt-get and should have used the appropriate command to remove rather than deleting individual files.

Pivoting off this estimate, let's try opening a terminal and issuing:
Code:

sudo apt-get install -f
This is a reparation function.
You should consider the options presented as a method of fixing the damage done to the "package" in question.

I generally run it twice, (once again after 1st run) and any course that produces
Code:

Reading package lists... Done
Building dependency tree     
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

you should consider ok.

Now for the second method of ending the suffering of "trying to update and failing"
in a terminal issue:
Code:

sudo apt-mark hold <package>
and an
Code:

apt-get update
should sing a different song, I hope.

Now if you utilize an
Code:

apt list --upgradable
the held package(s) still show, but they do not actually upgrade.

Don't ever try to 'upgrade' python2

I hope this has helped.


All times are GMT -5. The time now is 07:35 PM.