Linux Lite Forums

Software - Support => Installing Software => Topic started by: printemps on March 18, 2019, 08:29:19 AM

Title: install signal / update error
Post by: printemps on March 18, 2019, 08:29:19 AM
Hi,
I tried to install Signal's desktop version on Lite 3.8 with following commands:

curl -s https://updates.signal.org/desktop/apt/keys.asc (https://updates.signal.org/desktop/apt/keys.asc) | sudo apt-key add -
echo "deb [arch=amd64] https://updates.signal.org/desktop/apt (https://updates.signal.org/desktop/apt) xenial main" | sudo tee -a /etc/apt/sources.list.d/signal-xenial.list
sudo apt update && sudo apt install signal-desktop

Following error occurs:
E:Type 'sudo' is not known on line 2 in source list /etc/apt/sources.list.d/signal-xenial.list
E:The list of sources could not be read.

Same error for Linux Lite updates when it tries to fetch the package cache information lists...

What can I do?
Thanks for help
Title: Re: install signal / update error
Post by: DeepThought on March 18, 2019, 09:06:50 AM

Not sure how you typed this part into terminal but it should be one line
Code: [Select]
echo "deb [arch=amd64] https://updates.signal.org/desktop/apt xenial main" | sudo tee -a /etc/apt/sources.list.d/signal-xenial.list
To check the sources list:
Code: [Select]
sudo nano /etc/apt/sources.list.d/signal-xenial.list
The only line in the signal-xenial.list file should be
Code: [Select]
deb [arch=amd64] https://updates.signal.org/desktop/apt xenial main
You may need to edit the line, then control-x , y, and enter to save any edits.
Then try:
Code: [Select]
sudo apt update && sudo apt install signal-desktop
Title: Re: install signal / update error
Post by: printemps on March 18, 2019, 10:12:52 AM
Thanks a lot.
After editing the sources list and reducing to one line, update and installation worked without problem.
Title: Re: install signal / update error
Post by: DeepThought on March 18, 2019, 10:23:31 AM
Glad to help :)