How do you install session in Pureos?

Could you help me install this with advice in PureOS?

sudo curl -so /etc/apt/trusted.gpg.d/oxen.gpg https://deb.oxen.io/pub.gpg
echo “deb https://deb.oxen.io $(lsb_release -sc) main” | sudo tee /etc/apt/sources.list.d/oxen.list
sudo apt update

Shows errors

Can you paste in what those errors are? and which command(s) gave errors?

echo “deb https://deb.oxen.io $(lsb_release -sc) main” | sudo tee /etc/apt/sources.list.d/oxen.list
sudo apt update
“deb https://deb.oxen.io byzantium main”
E: Type ‘“deb’ is not known on line 1 in source list /etc/apt/sources.list.d/oxen.list
E: The list of sources could not be read.

$ sudo apt update

Ign:5 hps://deb.oxen.io byzantium InRelease
Err:6 h
ps://deb.oxen.io byzantium Release
404 Not Found [IP:
Reading package lists… Done
E: The repository ‘h*ps://deb.oxen.io byzantium 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.

I edited some…

echo “deb hps://deb.oxen.io $(lsb_release -sc) main” | sudo tee /etc/apt/sources.list.d/oxen.list
sudo apt update
“deb h
ps://deb.oxen.io byzantium main”
E: Type ‘“deb’ is not known on line 1 in source list /etc/apt/sources.list.d/oxen.list
E: The list of sources could not be read.

Right, yes, the commands given by that repository aren’t going to work with PureOS.

The piece $(lsb_release -sc) won’t give the right result. Try that command again as

echo “deb https://deb.oxen.io bullseye main” | sudo tee /etc/apt/sources.list.d/oxen.list
1 Like

sudo apt update
E: Type ‘“deb’ is not known on line 1 in source list /etc/apt/sources.list.d/oxen.list
E: The list of sources could not be read.

$ sudo apt update
[sudo] password for:

Hit:2 htps://repo.pureos.net/pureos byzantium InRelease
Ign:3 ht
ps://deb.oxen.io byzantium InRelease
Hit:4 htps://repo.pureos.net/pureos byzantium-security InRelease
Hit:5 ht
ps://repo.pureos.net/pureos byzantium-updates InRelease
Err:6 ht*ps://deb.oxen.io byzantium Release
404 Not Found [IP: 149.56.148.124 443]

** (appstreamcli:3674): WARNING **: 13:52:03.740: Found icon of unknown type ‘unknown’ in ‘system/flatpak/flatpak/cc.nift.nsm/*’, skipping it.

** (appstreamcli:3674): WARNING **: 13:52:03.740: Found icon of unknown type ‘unknown’ in ‘system/flatpak/flatpak/cc.nift.nsm/’, skipping it.
Reading package lists… Done
E: The repository 'ht
ps://deb.oxen.io byzantium 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.

?

I thought it was very convenient that the AppImage on Session’s download page was plug-and-play on my Linux machine. Are you using arm (Librem 5) or x86_64 (L13, L14, L15)?

On x86_64, I guess the AppImage should just work with no configuration, besides a chmod +x command, perhaps.

I read you can’t trust appimages or .deb really. Better to compile or install in other ways… viruses and such.

Compiling yourself from source is a great option if you need extra verification that your version of Session uses the publicly available code.

But I think you have been trying to install using the .deb? I believe this will be roughly equivalent level of trust with using the official AppImage.

Evidently you haven’t cleared out previous errors. You are still referencing the byzantium release for a third party repository that does not support or recognise byzantium.

Perhaps sudo rm /etc/apt/sources.list.d/oxen.list

and then recreate that file using the command that I gave in my previous post.

Needless to say that /etc/apt/sources.list should not have any references to this third party repository.