1

I'm trying to do apt-get update at in result i am getting these errors, tried various methods, couldnt resolve. i need help with this error.

Get:1 http://http.kali.org/kali kali-rolling InRelease [18.3 kB]
Err:1 http://http.kali.org/kali kali-rolling InRelease
  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Reading package lists... Done        
E: Failed to fetch http://http.kali.org/kali/dists/kali-rolling/InRelease  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
E: The repository 'http://http.kali.org/kali kali-rolling InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

The ls results of /etc/apt/apt.conf.d are:

00aptitude      00trustcdrom  02autoremove-postgresql  50command-not-found  70debconf
00CDMountPoint  01autoremove  50apt-file.conf          50kali               80debtags

My Kali is a virtual machine on MacOS silicon version. Output of cat /etc/os-release:

{PRETTY_NAME="Kali GNU/Linux Rolling"
NAME="Kali GNU/Linux"
VERSION="2022.4"
VERSION_ID="2022.4"
VERSION_CODENAME="kali-rolling"
ID=kali
ID_LIKE=debian
HOME_URL="https://www.kali.org/"
SUPPORT_URL="https://forums.kali.org/"
BUG_REPORT_URL="https://bugs.kali.org/"
ANSI_COLOR="1;31"}

Results of cat /etc/apt/sources.list:

{# See https://www.kali.org/docs/general-use/kali-linux-sources-list-repositories/
deb http://http.kali.org/kali kali-rolling main contrib non-free

Additional line for source packages

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

ls of /etc/apt/sources.list.d just shows nothing.

tripleee
  • 3,308
  • 5
  • 36
  • 35
Ravi
  • 11
  • 1
  • 3

0 Answers0