View Issue Details

IDProjectCategoryView StatusLast Update
0008703Kali LinuxGeneral Bugpublic2024-04-07 10:47
Reporterits.bear Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
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

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