How do I get rid of a duplicate application?

Snowcrash

When I search my Applications for Discord I see 2 versions (see screenshot).

One opens Discord normally. The other prompts me to download an update then disappears. If I download the update and run it prompts me to Remove discord.

If I Remove discord, I just end up with the version that prompts me to download a new update.

Any suggestions how I can clean this mess up?enter image description here

At the bare minimum, I'd like to delete the faulty app (which I'm currently unable to do). I've sunk too many hours trying to delete the faulty app or mistakenly clicking on it.

I don't see it in ~/.local/share/applications/ or /usr/share/applications/ or /usr/local/share/applications/ btw.

Henning Kockerbeck

There are multiple ways to install applications in Ubuntu. For example, you can copy the application's file to the places they need to go manually, you can install a Debian package, you can install an application via Snap and others. If you install the same application with two or more of these methods, you can end up with multiple copies of the same application. Probably, this is what happened here.

Chances are, you installed one copy of the Discord client from a Debian package (a file ending with .deb) and another copy via Snap. You can check that with

dpkg -l '*discord*'

(I'm not aware of an official apt repository for Discord, so I'll stay on the dpkg layer for this answer)

If this prints a line for discord starting with ii, there's a copy of the Discord client installed from a Debian package. It should look similar to

ii  discord        0.0.11       amd64        All-in-one voice and text chat for gamers

Regarding Snap, you can list the installed Snaps with

snap list

The list printed by this command probably contains an entry for the Discord client, as well.

You can remove the reduntant installation with

dpkg -r discord

or

snap remove discord

respectively.

To find out which copy is working and which isn't, you just have to try. If you uninstalled the "wrong" copy, you just need to reinstall it. This is done by downloading the *.deb file from [https://discord.com/new](Discord's home page) and installing that with something similar to

dpkg -i discord-0.0.11.deb

or

snap install discord

respectively.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How do I get rid of the NameError and TypeError

From Dev

How do I get rid of this jump on slideToggle()?

From Dev

How do I get rid of "[1]"?

From Dev

What is ­ and how do i get rid of it

From Dev

How do I get rid of this new line?

From Dev

How do I get rid of SKTextures?

From Dev

How do i get rid of an "MySQLSyntaxErrorException"

From Dev

How do I get rid of this goto?

From Dev

NoSuchElementException on Scanner, how do i get rid of it?

From Dev

How do I get rid of this new line?

From Dev

How do I get rid of this Anthy toolbar?

From Dev

How do I get rid of this allocated space?

From Dev

How do i get rid of this warning

From Dev

How do I get rid of the last comma?

From Dev

How do I get rid of OneDrive completely?

From Dev

How do I get rid of this monitor error?

From Dev

How do I get rid of these "Formatting" lines?

From Dev

How do I get rid of this toolbar in Eclipse?

From Dev

How do I get rid of pocket for firefox?

From Dev

How do I get rid of Amazon Assistant?

From Dev

How can I get rid of all duplicate watches in AngularJS?

From Dev

How can I get rid of all duplicate watches in AngularJS?

From Dev

How can I get rid of duplicate icons in /usr/share/applications?

From Dev

C++ Window application opening with an additional window. How do I get rid of the second window?

From Dev

When using git filter-branch, it duplicates my commit history and creates duplicate files. How do I get rid of this?

From Dev

When using git filter-branch, it duplicates my commit history and creates duplicate files. How do I get rid of this?

From Dev

How do I completely rid my Rails 4.2 application of teamcity?

From Dev

How do I get rid of the ^I symbols in vim?

From Dev

Sonarqube: How to get rid of duplicate issues?

Related Related

  1. 1

    How do I get rid of the NameError and TypeError

  2. 2

    How do I get rid of this jump on slideToggle()?

  3. 3

    How do I get rid of "[1]"?

  4. 4

    What is ­ and how do i get rid of it

  5. 5

    How do I get rid of this new line?

  6. 6

    How do I get rid of SKTextures?

  7. 7

    How do i get rid of an "MySQLSyntaxErrorException"

  8. 8

    How do I get rid of this goto?

  9. 9

    NoSuchElementException on Scanner, how do i get rid of it?

  10. 10

    How do I get rid of this new line?

  11. 11

    How do I get rid of this Anthy toolbar?

  12. 12

    How do I get rid of this allocated space?

  13. 13

    How do i get rid of this warning

  14. 14

    How do I get rid of the last comma?

  15. 15

    How do I get rid of OneDrive completely?

  16. 16

    How do I get rid of this monitor error?

  17. 17

    How do I get rid of these "Formatting" lines?

  18. 18

    How do I get rid of this toolbar in Eclipse?

  19. 19

    How do I get rid of pocket for firefox?

  20. 20

    How do I get rid of Amazon Assistant?

  21. 21

    How can I get rid of all duplicate watches in AngularJS?

  22. 22

    How can I get rid of all duplicate watches in AngularJS?

  23. 23

    How can I get rid of duplicate icons in /usr/share/applications?

  24. 24

    C++ Window application opening with an additional window. How do I get rid of the second window?

  25. 25

    When using git filter-branch, it duplicates my commit history and creates duplicate files. How do I get rid of this?

  26. 26

    When using git filter-branch, it duplicates my commit history and creates duplicate files. How do I get rid of this?

  27. 27

    How do I completely rid my Rails 4.2 application of teamcity?

  28. 28

    How do I get rid of the ^I symbols in vim?

  29. 29

    Sonarqube: How to get rid of duplicate issues?

HotTag

Archive