LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-29-2019, 11:42 AM   #1
jameswilson0609
LQ Newbie
 
Registered: May 2019
Posts: 6

Rep: Reputation: Disabled
signal


I'm a Linux newbie. A few days back I tried to download Signal through the terminal according to the steps mentioned on the site. I wasn't able to download it and it showed an error. The problem is whenever I try to download any software, it shows the same error it showed while I was trying to download Signal:
"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."
Even after rebooting my laptop, the problem persists. Other functions like shutting down work. What is the course of action I should take?

Last edited by jameswilson0609; 05-29-2019 at 11:46 AM.
 
Old 05-29-2019, 11:48 AM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
You have an error in your software sources.

Can you please paste the output from the following command (preferably within CODE tags - see https://www.linuxquestions.org/quest...og.php?b=36313) so that we can have a look at your software sources.

Code:
inxi -r
If you don't have inxi installed and are unable to install it, please instead paste the output from:

Code:
for i in /etc/apt/sources.list{,.d/*}; do echo file: $i; cat $i; echo ====; done
Please also inform us of your distro (and version).
 
2 members found this post helpful.
Old 05-29-2019, 11:49 AM   #3
tyler2016
Member
 
Registered: Sep 2018
Distribution: Debian, CentOS, FreeBSD
Posts: 243

Rep: Reputation: Disabled
Can you post the contents of your singal-xenial.list in code tags?
 
Old 05-29-2019, 11:52 AM   #4
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
OP, why have you marked this as "Solved"? What solution did you find?
 
Old 05-29-2019, 09:47 PM   #5
jameswilson0609
LQ Newbie
 
Registered: May 2019
Posts: 6

Original Poster
Rep: Reputation: Disabled
Code:
Repos:     Active apt sources in file: /etc/apt/sources.list
           deb cdrom:[Xubuntu 18.04.2 LTS _Bionic Beaver_ - Release i386 (20190210)]/ bionic main multiverse restricted universe
           deb http://archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse
           deb http://security.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
           deb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse
           Active apt sources in file: /etc/apt/sources.list.d/signal-xenial.list
           deb [arch=amd64] https://updates.signal.org/desktop/apt xenial main
           sudo apt update && sudo apt install signal-desktop
           deb [arch=amd64] https://updates.signal.org/desktop/apt xenial main
           deb [arch=amd64] https://updates.signal.org/desktop/apt xenial main
           Active apt sources in file: /etc/apt/sources.list.d/teejee2008-ubuntu-ppa-bionic.list
           deb http://ppa.launchpad.net/teejee2008/ppa/ubuntu bionic main
           Active apt sources in file: /etc/apt/sources.list.d/windscribe-repo.list
           deb https://repo.windscribe.com/ubuntu zesty main
 
Old 05-29-2019, 09:53 PM   #6
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,310
Blog Entries: 28

Rep: Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136
You apparently are running Ubuntu Xenial, but one of your repos is for Ubuntu Zesty. As pointed out in this post (which is a proposed "sticky"), that can be an issue.

Last edited by frankbell; 05-29-2019 at 10:20 PM.
 
Old 05-29-2019, 10:17 PM   #7
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,
Quote:
Originally Posted by jameswilson0609 View Post
Code:
Repos:     Active apt sources in file: /etc/apt/sources.list
           deb cdrom:[Xubuntu 18.04.2 LTS _Bionic Beaver_ - Release i386 (20190210)]/ bionic main multiverse restricted universe
           deb http://archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse
           deb http://security.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
           deb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse
           Active apt sources in file: /etc/apt/sources.list.d/signal-xenial.list
           deb [arch=amd64] https://updates.signal.org/desktop/apt xenial main
           sudo apt update && sudo apt install signal-desktop
           deb [arch=amd64] https://updates.signal.org/desktop/apt xenial main
           deb [arch=amd64] https://updates.signal.org/desktop/apt xenial main
           Active apt sources in file: /etc/apt/sources.list.d/teejee2008-ubuntu-ppa-bionic.list
           deb http://ppa.launchpad.net/teejee2008/ppa/ubuntu bionic main
           Active apt sources in file: /etc/apt/sources.list.d/windscribe-repo.list
           deb https://repo.windscribe.com/ubuntu zesty main
In addition to perhaps having the wrong release (xenial vs zesty) in your .list files, you also have "sudo apt update && sudo apt install signal-desktop" in /etc/apt/sources.list.d/signal-xenial.list
Presumably that file should only contain:
Code:
deb [arch=amd64] https://updates.signal.org/desktop/apt xenial main
Remove that line from the file. Then in a terminal run those commands. Ie

Code:
sudo apt update && sudo apt install signal-desktop
Evo2.
 
Old 05-30-2019, 12:49 AM   #8
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by jameswilson0609 View Post
Code:
sudo apt update && sudo apt install signal-desktop
this is a command, not a software source.
please remove it from wherever you added it, then run that very command from your command line a.k.a 'terminal'.
 
Old 05-30-2019, 05:29 AM   #9
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Thanks for posting that, James.

You have several problems with your software sources. You are probably not, as one poster above says, running Ubuntu Xenial (16.04). You appear to be running Ubuntu Bionic (18.04).

It is not good for your system to have "mixed" repositories from different versions of a distro. Yours has repositories from Bionic, Xenial and Zesty.

Please enter the following commands to rectify the situation.

First, open the main software sources file in a text editor (replace gedit with your favourite text editor if relevant).

Code:
sudo gedit /etc/apt/sources.list
Then place a # symbol at the start of the deb cdrom line (which effectively comments it out) and save the file.

Then enter the commands:

Code:
sudo rm /etc/apt/sources.list.d/signal-xenial.list

sudo rm /etc/apt/sources.list.d/windscribe-repo.list

sudo apt update
and report back.

For background info, see my blog post on managing your software sources: https://www.linuxquestions.org/quest...nd-mint-38002/
 
1 members found this post helpful.
Old 05-30-2019, 05:36 AM   #10
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by frankbell View Post
You apparently are running Ubuntu Xenial, but one of your repos is for Ubuntu Zesty. As pointed out in this post (which is a proposed "sticky"), that can be an issue.
Quote:
Originally Posted by evo2 View Post
Hi,

In addition to perhaps having the wrong release (xenial vs zesty) in your .list files, you also have "sudo apt update && sudo apt install signal-desktop" in /etc/apt/sources.list.d/signal-xenial.list
Presumably that file should only contain:
Code:
deb [arch=amd64] https://updates.signal.org/desktop/apt xenial main
Remove that line from the file. Then in a terminal run those commands. Ie

Code:
sudo apt update && sudo apt install signal-desktop
Evo2.
Quote:
Originally Posted by ondoho View Post
this is a command, not a software source.
please remove it from wherever you added it, then run that very command from your command line a.k.a 'terminal'.
The OP is running Bionic according to /etc/apt/sources.list. It is not a good idea in general to ask a poster with problems like these to run apt update unless all the software sources have been looked at and sorted out in case there are additional errors, which there are in this case.

My general approach to problems like these is to comment out or delete the "clashing" software sources, get apt update working correctly on the "non-clashing" software sources that remain and, only once that is working ok, look at finding correct replacements for the software sources for those that were deleted or commented out.

The way the world works, saying all that probably means that I'm now going to muck up my response to this particular poster's issue but the general principle remains - look at the whole situation, cut out the bad stuff, get back to a nub that works correctly, and then build it up again properly.

Last edited by hydrurga; 05-30-2019 at 05:37 AM.
 
Old 05-30-2019, 07:06 PM   #11
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Quote:
Originally Posted by hydrurga View Post
The OP is running Bionic according to /etc/apt/sources.list. It is not a good idea in general to ask a poster with problems like these to run apt update unless all the software sources have been looked at and sorted out in case there are additional errors, which there are in this case.
Yes, *in general*, but in this case the two non-bionic repos are single app repos providing packages that do not exist in Bionic. They will not break the OPs system.

Evo2.
 
Old 06-01-2019, 08:23 AM   #12
jameswilson0609
LQ Newbie
 
Registered: May 2019
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
Thanks for posting that, James.

You have several problems with your software sources. You are probably not, as one poster above says, running Ubuntu Xenial (16.04). You appear to be running Ubuntu Bionic (18.04).

It is not good for your system to have "mixed" repositories from different versions of a distro. Yours has repositories from Bionic, Xenial and Zesty.

Please enter the following commands to rectify the situation.

First, open the main software sources file in a text editor (replace gedit with your favourite text editor if relevant).

Code:
sudo gedit /etc/apt/sources.list
Then place a # symbol at the start of the deb cdrom line (which effectively comments it out) and save the file.

Then enter the commands:

Code:
sudo rm /etc/apt/sources.list.d/signal-xenial.list

sudo rm /etc/apt/sources.list.d/windscribe-repo.list

sudo apt update
and report back.

For background info, see my blog post on managing your software sources: https://www.linuxquestions.org/quest...nd-mint-38002/



After doing this, I am receiving this error message:
Code:
E: Malformed line 1 in source list /etc/apt/sources.list (type)
E: The list of sources could not be read.
 
Old 06-01-2019, 08:25 AM   #13
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by jameswilson0609 View Post
After doing this, I am receiving this error message:
Code:
E: Malformed line 1 in source list /etc/apt/sources.list (type)
E: The list of sources could not be read.
Ok. Please paste the output again from:

Code:
inxi -r
 
Old 06-01-2019, 09:29 AM   #14
jameswilson0609
LQ Newbie
 
Registered: May 2019
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
Ok. Please paste the output again from:

Code:
inxi -r

Code:
Repos:     Active apt sources in file: /etc/apt/sources.list
           a# deb cdrom:[Xubuntu 18.04.2 LTS _Bionic Beaver_ - Release i386 (20190210)]/ bionic main multiverse restricted universe
           deb http://archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse
           deb http://security.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
           deb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse
           Active apt sources in file: /etc/apt/sources.list.d/teejee2008-ubuntu-ppa-bionic.list
           deb http://ppa.launchpad.net/teejee2008/ppa/ubuntu bionic main
 
Old 06-01-2019, 10:37 AM   #15
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by jameswilson0609 View Post
Code:
Repos:     Active apt sources in file: /etc/apt/sources.list
           a# deb cdrom:[Xubuntu 18.04.2 LTS _Bionic Beaver_ - Release i386 (20190210)]/ bionic main multiverse restricted universe
           deb http://archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse
           deb http://security.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
           deb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse
           Active apt sources in file: /etc/apt/sources.list.d/teejee2008-ubuntu-ppa-bionic.list
           deb http://ppa.launchpad.net/teejee2008/ppa/ubuntu bionic main
Ah, when I said "insert a # symbol", I didn't mean to insert "a#", I just meant "#". You need to edit the file as you did before and take out the "a" before the "#". Then run sudo apt update again.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
squid stops due to signal 6 and signal 25 simplyrahul Linux - Software 3 05-28-2011 01:05 AM
Signal frequency out of range / please change signal timing starrynite Linux - Hardware 1 01-06-2007 11:18 AM
Signal Strength Meter shows low signal? falcon56215 Linux - Networking 0 09-15-2006 07:39 AM
Signal 6: Unknown Signal <=> Error with MAYA4.X under Linux SOLVED!!!! Faeroon Linux - Software 9 05-09-2003 01:57 PM
Signal: 6 (Unknown Signal) - Problems running a program Faeroon Linux - Software 86 01-14-2003 12:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration