2

I'm new to Ubuntu. I've already installed Discord, now it's asking me to upgrade it.

When I click on download, it downloads a .deb file. But when I click on it, it gives me a grayed-out option that says Installed (Potentially Unsafe).

How do I upgrade it?

My current discord version.

discord --version
Discord 0.0.85
Quitting secondary instance.
blackbox: 2/27/2025, 10:10:26 AM CST 0 

enter image description here

enter image description here

Dan
  • 14,180

2 Answers2

4

This warning is issued because you try to install a debian package not from official repositories.

I checked the package, it contains an executable file named chrome-sandbox which is owned by root and has the suid-bit set, this means that this file will be executed with root-privileges. This is indeed a potential security risc due to full access to everything in your computer. In the end it is a question of trust, if you trust the publisher, install the software, you may need to download manually from discord.com and use the commandline to do so (see this question).

If you're unsure and want a safer approach, you can use a snap-package, snaps run under strict confinement which is much safer. The snap-package will also be updated automatically. The package is available in the snap-store, you can also use the terminal and install the snap with sudo snap install discord

Just for completeness, discord is also available as a flatpak.

mook765
  • 18,644
3

Looks like you're using Apps Centre. Uninstall that version of Discord.

go to https://discord.com/download and download the .deb file

in the Terminal go to the directory the .deb file is in, likely Downloads

cd [directory Discord is in]

then

sudo dpkg -i [discordfilename].deb

Discord will be installed. When you want to upgrade it, download the latest .deb by following the popup link and follow the same instructions. Discord will be updated.

lifebook
  • 46
  • 4