0

The error is explained via Photo below The Images are attached for reference

I am a newbie to Kali Linux and couldn't get around this, so your help would be very beneficial.

4
  • 1
    You have the literal line echo ... in there, which should have been an echo to that file, not a literal string to put in there.
    – Chris Down
    Feb 14, 2021 at 15:41
  • 3
    It appears that you followed some instructions incorrectly. You appear to have put the command that you are supposed to run inside the sources.list. Perhaps Kali Linux isn’t an ideal distro for learning Linux?
    – jsbillings
    Feb 14, 2021 at 15:43
  • 2
    Please post text as text. So that it is accessible. e.g. Big enough to read, readable by blind people, searchable, … Feb 14, 2021 at 17:15
  • 1
    How much experience do you have with other Gnu/Linuxes? Feb 14, 2021 at 17:15

2 Answers 2

2

Lines #1 and #2 in the sources list file are offensive. Edit the file, and leave the following line (remove the rest):

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

The line under Additional sources is OK. You can leave it there.

2
0

The error message is quite explicit: The first line in sources.list contains the word echo. This is a syntax error. In fact, the file looks quite jumbled. After fixing the first line, you will have more work to do.

4
  • Sir, Can you put some more light onto the Topic, specifically on how to resolve this issue ? As I am new here and still learning. Help much appreciated. Feb 14, 2021 at 15:45
  • @ShlokBharadwaj I suggest you read this: kali.org/docs/introduction/should-i-use-kali-linux
    – jsbillings
    Feb 14, 2021 at 15:47
  • 1
    @ShlokBharadwaj please don't use Kali if you are new. Kali is not a normal operating system. It is a tool designed for experts and should only be used by experts. Anything you can do in Kali, you can also do with a normal linux, so please use a regular Linux while you're learning. If you don't know how to resolve a problem as simple as this, you really really shouldn't be using Kali. What you are doing is like trying to learn how to drive on a formula one car.
    – terdon
    Feb 14, 2021 at 15:48
  • Remove all the lines that contain tor and you should be fine. However, if you are unable to understand and fix this issue on your own, you won't have much fun with Kali and stumble from error to error. I suggest you first invest some time learning the basics of Linux, in particular Debian. Feb 14, 2021 at 15:49

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .