Problem installing signal messenger

Hi everybody,
i managed to install signal messenger until recently the app told me that this version is old and i need to upgrade.
Trying to do so i put such a mess in my files and now im completely lost when i try to install signal again in my debian template i have these messages:
Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/signal-desktop.list:1 and /etc/apt/sources.list.d/signal-xenial.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/signal-desktop.list:1 and /etc/apt/sources.list.d/signal-xenial.list:1
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/signal-desktop.list:1 and /etc/apt/sources.list.d/signal-xenial.list:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/signal-desktop.list:1 and /etc/apt/sources.list.d/signal-xenial.list:1

Im very noob about all this, is anyone could just tell me step by step what command line i need to enter and where exactly please?
thank you

i just notice that when i try to update my debian 11 template i do have the same series of messages, is it because i need to update to debian 12?

It explicitly says that there’s a duplicate, keep only one of the two files (/etc/apt/sources.list.d/signal-xenial.list or /etc/apt/sources.list.d/signal-desktop.list).
Run only one of these:

sudo rm -f /etc/apt/sources.list.d/signal-xenial.list
sudo rm -f /etc/apt/sources.list.d/signal-desktop.list

thank you,
i just ran the first line in my debian template, what do i need to do next please?

Run sudo apt update in your template and see if you get the same warnings. If all is well, proceed with your updates as usual.

this is what i get:

Hit:1 Index of /debian bullseye InRelease
Hit:2 Index of /r4.1/vm/ bullseye InRelease
Hit:3 https://updates.signal.org/desktop/apt xenial InRelease
Get:4 https://deb.debian.org/debian-security bullseye-security InRelease [48.4 kB]
Err:3 https://updates.signal.org/desktop/apt xenial InRelease
The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY D980A17457F6FB06
Fetched 48.4 kB in 3s (16.0 kB/s)
Reading package lists… Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://updates.signal.org/desktop/apt xenial InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY D980A17457F6FB06
E: Failed to fetch https://updates.signal.org/desktop/apt/dists/xenial/InRelease The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY D980A17457F6FB06
E: Some index files failed to download. They have been ignored, or old ones used instead.

Run this command in your template:

curl -sx http://127.0.0.1:8082 https://updates.signal.org/desktop/apt/keys.asc | gpg --dearmor | sudo tee /usr/share/keyrings/signal-desktop-keyring.gpg &>/dev/null

ok, i did it, nothing special happened do i need to type another command now?

Run your update command again and see if it completes this time.

1 Like

yes, this time the update has been all the way!
What do i need to do and where to install signal now?
Again, thank you so much for your help.

Install Signal inside the template with sudo apt install signal-desktop. Then stop the template, create a new qube based on that template and add Signal in the application list.
When it’s done, you’ll be able to start the newly created qube with Signal from the menu.

thank you so much it worked!
Please can you tell me where can i go to learn about all this and try to understand just the thing that we did?
Again thank you so much!!

2 Likes

This is mostly classic linux stuff. You can search for the binaries you used, like apt and curl, in any search engine and read their documentation. For anything related to Qubes, you can also check the official documentation. Read the “Getting started” section in particular:

3 Likes

configuration
#installing
#maintenance
#repositories
#resolved
#software