View Issue Details

IDProjectCategoryView StatusLast Update
0008703Kali LinuxGeneral Bugpublic2025-03-20 13:02
Reporterits.bear Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionopen 
Summary0008703: apt update error
Description

When i try to run the command "apt update" i get this error

E: Type 'apt' is not known on line 2 in source list /etc/apt/sources.list
E: The list of sources could not be read.

Attached Files
kali error.png (52,763 bytes)   
kali error.png (52,763 bytes)   

Activities

0xgreyhound

0xgreyhound

2024-04-06 19:01

reporter   ~0019109

Last edited: 2024-04-06 19:03

Seems like you have a syntax error in your sources.list file you need to correct it.

This is how the correct syntax looks like:

See https://www.kali.org/docs/general-use/kali-linux-sources-list-repositories/ (this should be a # in front of the "See" which comments out the line (idk why it did change it to a bold/big text))

deb http://http.kali.org/kali kali-rolling main contrib non-free non-free-firmware

Additional line for source packages (same here)

deb-src http://http.kali.org/kali kali-rolling main contrib non-free non-free-firmware

You probably have some wrong spacing or something.

kali-bugreport

kali-bugreport

2024-04-06 21:46

reporter   ~0019111

Not a bug in Kali so can be closec

g0tmi1k

g0tmi1k

2025-03-20 13:02

administrator   ~0020404

This report has been filed against an old version of Kali. We will be closing this ticket due to inactivity.

Please could you see if you are able to replicate this issue with the latest version of Kali Linux (https://www.kali.org/get-kali/)?

If you are still facing the same problem, feel free to re-open the ticket. If you choose to do this, could you provide more information to the issue you are facing, and also give information about your setup?
For more information, please read: https://www.kali.org/docs/community/submitting-issues-kali-bug-tracker/

Issue History

Date Modified Username Field Change
2024-04-05 12:02 its.bear New Issue
2024-04-05 12:02 its.bear File Added: kali error.png
2024-04-06 19:01 0xgreyhound Note Added: 0019109
2024-04-06 19:02 0xgreyhound Note Edited: 0019109
2024-04-06 19:03 0xgreyhound Note Edited: 0019109
2024-04-06 19:03 0xgreyhound Note Edited: 0019109
2024-04-06 21:46 kali-bugreport Note Added: 0019111
2025-03-20 13:02 g0tmi1k Note Added: 0020404
2025-03-20 13:02 g0tmi1k Status new => closed