View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update | 
|---|---|---|---|---|---|
| 0005784 | Kali Linux | General Bug | public | 2019-11-09 16:58 | 2025-07-14 09:38 | 
| Reporter | mattyfoo | Assigned To | rhertzog | ||
| Priority | normal | Severity | minor | Reproducibility | always | 
| Status | closed | Resolution | no change required | ||
| Summary | 0005784: error message | ||||
| Description | E: Malformed line 2 in source list /etc/apt/sources.list (type)  | ||||
| 
	 Could you paste the contents of the file? It might have accidentally been modified.  | 
|
| 
	 Can you please explain a little more I'm new to this.  | 
|
| 
	 Well, you need to provide more information about what you were doing when the error occurred. 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. 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.  | 
|
| 
	 root@kali:~# cat /etc/os-release  | 
|
| 
	 i was trying to add mana toolkit  | 
|
| 
	 i cannot run apt update as it just comes up with that error message.  | 
|
| 
	 /etc/apt/sources.list: Permission denied  | 
|
| 
	 Could you try pasting this as root (all 3 lines)? cat <<EOF>/etc/apt/sources.list It's from https://www.kali.org/releases/kali-linux-2019-3-release/ (the section titled "Ensuring your Installation is Updated") and it should reset your /etc/apt/sources.list to sane defaults. If you have modified it, you could back it up first.  | 
|
| 
	 Obsolete major version 11  | 
|
| 
	 running the install update and it says this?  | 
|
| 
	 This is a bug tracker, not a support forum. Please seek help on forums.kali.org instead.  | 
|
| 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 | |
| 2019-11-14 17:25 | mattyfoo | Note Added: 0011300 | |
| 2019-11-14 17:30 | mattyfoo | Note Added: 0011301 | |
| 2019-11-14 17:33 | mattyfoo | Note Added: 0011302 | |
| 2019-11-14 17:36 | mattyfoo | Note Added: 0011303 | |
| 2019-11-16 05:34 | radualexandrupopescu | Note Added: 0011312 | |
| 2019-11-17 13:54 | mattyfoo | Note Added: 0011315 | |
| 2019-11-17 13:55 | mattyfoo | Note Added: 0011316 | |
| 2019-11-18 13:14 | rhertzog | Assigned To | => rhertzog | 
| 2019-11-18 13:14 | rhertzog | Status | new => closed | 
| 2019-11-18 13:14 | rhertzog | Resolution | open => no change required | 
| 2019-11-18 13:14 | rhertzog | Note Added: 0011318 | |
| 2025-07-14 09:36 | g0tmi1k | Priority | high => normal | 
| 2025-07-14 09:38 | g0tmi1k | Severity | crash => minor |