View Issue Details

IDProjectCategoryView StatusLast Update
0005784Kali Linux[All Projects] General Bugpublic2019-11-09 21:11
Reportermattyfoo Assigned To 
PriorityhighSeveritycrashReproducibilityalways
Status newResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary0005784: error message
DescriptionE: Malformed line 2 in source list /etc/apt/sources.list (type)
E: The list of sources could not be read.

Activities

radualexandrupopescu

2019-11-09 19:28

reporter   ~0011287

Could you paste the contents of the file? It might have accidentally been modified.

mattyfoo

2019-11-09 19:40

reporter   ~0011288

Can you please explain a little more I'm new to this.

radualexandrupopescu

2019-11-09 21:11

reporter   ~0011289

Well, you need to provide more information about what you were doing when the error occurred.
Also, since it's a file related to repositories, what other repositories did you add or you tried to add.

The error is quite clear: there is an error on line 2 of "/etc/apt/sources.list". Hence, a copy of that file's content would be helpful.
My "/etc/apt/sources.list" looks like this:
#

# deb cdrom:[Debian GNU/Linux 2016.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20160830-11:29]/ kali-rolling contrib main non-free

#deb cdrom:[Debian GNU/Linux 2016.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20160830-11:29]/ kali-rolling contrib main non-free

deb https://http.kali.org/kali kali-rolling main non-free contrib
# deb-src http://http.kali.org/kali kali-rolling main non-free contrib
#deb http://security.debian.org/debian-security wheezy/updates main


The lines that start with "#", are comments, so they are ignored.

Issue History

Date Modified Username Field Change
2019-11-09 16:58 mattyfoo New Issue
2019-11-09 19:28 radualexandrupopescu Note Added: 0011287
2019-11-09 19:40 mattyfoo Note Added: 0011288
2019-11-09 21:11 radualexandrupopescu Note Added: 0011289