Hello, I installed kali linux from scratch on virtual box. The problem I am facing is that every time I am trying to install something I get an error message that package was not found. I edited the source list file but ended up deleting it. Then I ran this command
Code:
echo -e "deb http.kali.org/kali sana main non-free contrib\ndeb http://security.kali.org/kali-security/ sana/updates main contrib non-free" > /etc/apt/sources.list
It created a new source list file with these two repo
Code:
deb http.kali.org/kali sana main non-free contrib
deb http://security.kali.org/kali-security/ sana/updates main contrib non-free
Then tried again
But I am getting this error
Code:
E: Malformed entry 1 in list file /etc/apt/sources.list (URI parse)
E: The list of sources could not be read.
How can I fix this and restore the repo file, so I can download everything again?
Thank you for your time
Update: Reinstalling the OS fixed the problem