Issues installing signal with Qubes 4.1. Bullseye instead of xenial in main?

I’m trying to install signal in Qubes 4.1

I tried this:

curl -s -x 127.0.0.1:8082 https://updates.signal.org/desktop/apt/keys.asc | sudo apt-key add -
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
OK
user@debian-11:~$ echo "deb [arch=amd64] https://updates.signal.org/desktop/apt bullseye main" | sudo tee -a /etc/apt/sources.list.d/signal-bullseye.list
deb [arch=amd64] https://updates.signal.org/desktop/apt bullseye main
user@debian-11:~$ sudo apt update && sudo apt install signal-desktop
Hit:1 https://brave-browser-apt-release.s3.brave.com stable InRelease          
Hit:2 https://deb.debian.org/debian bullseye InRelease                         
Hit:3 https://deb.qubes-os.org/r4.1/vm bullseye InRelease                      
Hit:4 https://deb.debian.org/debian-security bullseye-security InRelease       
Ign:5 https://updates.signal.org/desktop/apt bullseye InRelease     
Err:6 https://updates.signal.org/desktop/apt bullseye Release
  404  Not Found [IP: 127.0.0.1 8082]
Hit:7 http://deb.debian.org/debian bullseye-backports InRelease
Reading package lists... Done
E: The repository 'https://updates.signal.org/desktop/apt bullseye Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
user@debian-11:~$ echo "deb [arch=amd64] https://updates.signal.org/desktop/apt buster main" | sudo tee -a /etc/apt/sources.list.d/signal-buster.list
deb [arch=amd64] https://updates.signal.org/desktop/apt buster main
user@debian-11:~$ sudo apt update && sudo apt install signal-desktop
Hit:1 http://deb.debian.org/debian bullseye-backports InRelease                
Hit:2 https://deb.qubes-os.org/r4.1/vm bullseye InRelease                      
Ign:3 https://updates.signal.org/desktop/apt bullseye InRelease                
Hit:4 https://brave-browser-apt-release.s3.brave.com stable InRelease          
Hit:5 https://deb.debian.org/debian bullseye InRelease              
Ign:6 https://updates.signal.org/desktop/apt buster InRelease
Hit:7 https://deb.debian.org/debian-security bullseye-security InRelease
Err:8 https://updates.signal.org/desktop/apt bullseye Release
  404  Not Found [IP: 127.0.0.1 8082]
Err:9 https://updates.signal.org/desktop/apt buster Release
  404  Not Found [IP: 127.0.0.1 8082]
Reading package lists... Done
E: The repository 'https://updates.signal.org/desktop/apt bullseye Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'https://updates.signal.org/desktop/apt buster Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
user@debian-11:~$ 


So i tried adding bullseye and buster. What are the correct commands? :slight_smile:
Just learnt about non-free and contrib also. I’m going to comment out those in software… I did remove non-free and contrib in qubes list 20 min ago also.
Guess i need to remove buster and signal now… Still a beginner when it comes to linux, but it’s fun to learn slowly… Signal should be free though… i hope. open source.

The following message about Signal was posted on a thread about configuring Debian minimal templates. Ideally, Signal would be the only thing installed in a minimal template. Less RAM usage, less disk space, fewer unnecessary packages installed=less attack surface etc. But minimal templates require more initial modifications and finessing to get set up properly so you might want to wait until you get more familiar with Qubes before using them. Either way, this might help you get Signal set up in your template.

2 Likes

Great answers! Thanks again. :slight_smile: I was messing around with this in the normal template just now, a minimal is optimal i will try that!

But dude… Too much work?? I want a couple of easy commands and install signal. Any ideas?

I’m trying this is dom0…
qvm-run --pass-io -u root tpl-deb-10-signal “curl --proxy http://127.0.0.1:8082/ -s https://updates.signal.org/desktop/apt/keys.asc | apt-key add -"

copying from cat signal.txt
But why do i often get these in the terminal and how do i work or bypass it?

Why can’t i just install signal-desktop in linux like other stuff??? This takes too much time!!!
I don’t get signal! It’s open source… Should be on f-droid, not google play, should be able to install it with one command in debian! Annoying. I can’t waste time in linux when i’m not as good… i got stuff to do… They should implement quick commands!

sudo apt-get install signal = done.
This is wasting my time…Why is it not on debian… Might be, i just have issues with getting it to work at the moment…

Note to self:
Instead of wasting over 1 hour installing signal. Use the official signal guide. It just works!

here is how you install signal:
Linux (Debian-based) Install Instructions

# NOTE: These instructions only work for 64 bit Debian-based
# Linux distributions such as Ubuntu, Mint etc.

# 1. Install our official public software signing key
wget -O- https://updates.signal.org/desktop/apt/keys.asc | gpg --dearmor > signal-desktop-keyring.gpg
cat signal-desktop-keyring.gpg | sudo tee -a /usr/share/keyrings/signal-desktop-keyring.gpg > /dev/null

# 2. Add our repository to your list of repositories
echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/signal-desktop-keyring.gpg] https://updates.signal.org/desktop/apt xenial main' |\
  sudo tee -a /etc/apt/sources.list.d/signal-xenial.list

# 3. Update your package database and install signal
sudo apt update && sudo apt install signal-desktop

Anyways, it works now… A couple of easy commands…

Forgot to wrote i changed to a proxy though and used curl instead of wget, which did not work in a template… might help someone less linux experienced like me out there:

user@debian-11:~$ curl --proxy 127.0.0.1:8082 https://updates.signal.org/desktop/apt/keys.asc | gpg --dearmor > signal-desktop-keyring.gpg
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 3090 100 3090 0 0 2698 0 0:00:01 0:00:01 --:–:-- 2698

2 Likes

I could have check if the issue was already on the qubes github docs… :wink:

If someone else happens to google this and having issues finding the right links straight away, without even looking through the qubes documentation…
A solution that just works straight away. :wink:

1 Like

user@debian-11:~$ sudo su
root@debian-11:/home/user# cat signal-desktop-keyring.gpg | sudo tee -a /usr/share/keyrings/signal-desktop-keyring.gpg > /dev/nul
root@debian-11:/home/user# exit
exit
user@debian-11:~$ echo ‘deb [arch=amd64 signed-by=/usr/share/keyrings/signal-desktop-keyring.gpg] https://updates.signal.org/desktop/apt xenial main’ |
sudo tee -a /etc/apt/sources.list.d/signal-xenial.list
deb [arch=amd64 signed-by=/usr/share/keyrings/signal-desktop-keyring.gpg] https://updates.signal.org/desktop/apt xenial main
user@debian-11:~$ sudo apt-get update
Get:1 https://updates.signal.org/desktop/apt xenial InRelease [2,316 B]
Hit:2 Index of /r4.1/vm/ bullseye InRelease
Get:3 https://updates.signal.org/desktop/apt xenial/main amd64 Packages [6,616 B]
Hit:4 Index of /debian bullseye InRelease
Hit:5 Index of /debian-security bullseye-security InRelease
Fetched 8,932 B in 1s (6,385 B/s)
Reading package lists… Done
user@debian-11:~$ sudo apt-get install signal-desktop
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
The following NEW packages will be installed:
signal-desktop
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 128 MB of archives.
After this operation, 451 MB of additional disk space will be used.
Get:1 https://updates.signal.org/desktop/apt xenial/main amd64 signal-desktop amd64 5.26.1 [128 MB]
Fetched 128 MB in 17min 39s (121 kB/s)
Selecting previously unselected package signal-desktop.
(Reading database … 99174 files and directories currently installed.)
Preparing to unpack …/signal-desktop_5.26.1_amd64.deb …
Unpacking signal-desktop (5.26.1) …
Setting up signal-desktop (5.26.1) …
Processing triggers for desktop-file-utils (0.26-1) …
Processing triggers for hicolor-icon-theme (0.17-2) …
Processing triggers for qubes-core-agent (4.1.31-1+deb11u1) …
Processing triggers for mailcap (3.69) …

I just haven’t had problems installing it last night out of curiosity…

Ok, i wrote this: