LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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


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

Rep: Reputation: Disabled
"Type 'sudo' is not known on line 2 in source list /etc/apt/sources.list.d/signal-xenial.list"


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?
 
Old 05-29-2019, 11:59 AM   #2
jmgibson1981
Senior Member
 
Registered: Jun 2015
Location: Tucson, AZ USA
Distribution: Debian
Posts: 1,151

Rep: Reputation: 393Reputation: 393Reputation: 393Reputation: 393
post your signal-xenial.list. there shouldn't ever be the word sudo in your sources.list

Code:
deb http://ppa.launchpad.net/team-xbmc/ppa/ubuntu xenial main
the address you are targetting should be different but the above is the right way to have a source list entry. if you are doing source code instead of binaries you should have the same line but beginning with
Code:
deb-src
instead of deb.

Last edited by jmgibson1981; 05-29-2019 at 12:03 PM.
 
Old 05-29-2019, 12:01 PM   #3
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
I replied to your other post (https://www.linuxquestions.org/quest...al-4175654785/). This is a duplicate and will probably be removed shortly.
 
1 members found this post helpful.
Old 05-29-2019, 12:04 PM   #4
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
 
  


Closed Thread



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
Type 'sudo' is not known on line 52 in source list /etc/apt/sources.list How to resolve? kumarvivekyours Ubuntu 2 06-25-2018 03:57 AM
E: Type 'sudo' is not known on line 1 in source list /etc/apt/sources.list.d/mono-official.list 221B Linux - Newbie 6 09-07-2017 12:14 PM
E: Type '<HTML>' is not known on line 1 in source list /etc/apt/sources.list.d/conkyh bojan661 Linux - Newbie 4 05-18-2012 09:59 AM
E:Type 'Reading' is not known on line 53 in source list /etc/apt/sources.list, E:The hunterclan0405 Linux - Newbie 2 01-15-2011 11:08 PM
apt-get; E: Type 'GPG' is not known on line 20 in source list /etc/apt/sources.list tomorrow Linux - Newbie 9 05-21-2009 08:42 AM

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

All times are GMT -5. The time now is 10:50 AM.

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