-3

I'm using Kali Linux and every time I use apt-get update or any command with apt in terminal I receive this message:

E: Malformed entry 1 in list file /etc/apt/sources.list.d/atom.list (URI)
E: The list of sources could not be read.
E: Malformed entry 1 in list file /etc/apt/sources.list.d/atom.list (URI)
E: The list of sources could not be read.
Kiwy
  • 9,534
  • Please post content of this file: cat /etc/apt/sources.list.d/atom.list – yahol Mar 13 '18 at 08:05
  • Kali ask not to change the sources.list. You shouldn't try try to have a different source.list . Most likely people won't help you with Kali Linux : https://unix.stackexchange.com/questions/399626/why-is-kali-linux-so-hard-to-set-up-why-wont-people-help-me – Kiwy Mar 13 '18 at 08:06
  • 1
    @Kiwy thanks for help , for that link it helps me to re-think about when to use Kali – Ahmed Awaad Mar 13 '18 at 08:16
  • @yahol thanks i checked it an will see the standard source list on google – Ahmed Awaad Mar 13 '18 at 08:17

1 Answers1

1

Your atom.list repository definition is broken... To restore your ability to run apt, move it out of the way:

mv /etc/apt/sources.list.d/atom.{list,broken}

If you don’t plan on fixing it, you can delete it instead:

rm /etc/apt/sources.list.d/atom.list

As others have mentioned, Kali isn’t really appropriate for beginners; you might do better with another distribution first. See Why is Kali Linux so hard to set up? Why won't people help me? for details.

Stephen Kitt
  • 434,908