UNABLE TO FIND PACKAGES

Solved
xAdriieen Posted messages 89 Registration date   Status Membre Last intervention   -  
xAdriieen Posted messages 89 Registration date   Status Membre Last intervention   -
Hello everyone!

Not long ago, I decided to switch to Linux, so I first installed Ubuntu, but after discovering Kali Linux, I decided to take it up a notch by installing version 1.1.0a x64.

My problem is that I can't install any applications on Kali Linux from the terminal by running, for example:

apt-get install cmatrix
apt-get install chromium
apt-get install tor-browser

I always get this message: [E: Unable to locate package (name)].

While searching online, I found out that it was related to SOURCES.LIST, but I can’t find a solution!

Here’s the content of my SOURCES.LIST:

# deb cdrom:[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot amd64 #LIVE/INSTALL Binary 20150312-17:50]/ kali contrib main non-free

#deb cdrom:[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot amd64 LIVE/#INSTALL Binary 20150312-17:50]/ kali contrib main non-free

# Line commented out by installer because it failed to verify:
#deb http://security.kali.org/ kali/updates main contrib non-free
# Line commented out by installer because it failed to verify:
#deb-src http://security.kali.org/ kali/updates main contrib non-free

PS: I know Kali 2.0 has just been released, but I can't install it due to a disk problem!

Thanks in advance for your answers!

Best regards.

1 réponse

xAdriieen Posted messages 89 Registration date   Status Membre Last intervention   14
 
Problem solved, I added a few lines found on the internet! THANK YOU GOOGLE!

For those who might encounter the same issue:

type in the terminal: gksu gedit /etc/apt/sources.list

then add these lines:

deb http://kali.cs.nctu.edu.tw/ /kali main contrib non-free
deb http://kali.cs.nctu.edu.tw/ /wheezy main contrib non-free
deb http://kali.cs.nctu.edu.tw/kali/ kali-dev main contrib non-free
deb http://kali.cs.nctu.edu.tw/kali/ kali-dev main/debian-installer
deb-src http://kali.cs.nctu.edu.tw/kali/ kali-dev main contrib non-free
deb http://kali.cs.nctu.edu.tw/kali/ kali main contrib non-free
deb http://kali.cs.nctu.edu.tw/kali/ kali main/debian-installer
deb-src http://kali.cs.nctu.edu.tw/kali/ kali main contrib non-free
deb http://kali.cs.nctu.edu.tw/kali-security kali/updates main contrib non-free
deb-src http://kali.cs.nctu.edu.tw/kali-security kali/updates main contrib non-free
deb http://kali.cs.nctu.edu.tw/kali/ kali-bleeding-edge main

Thanks to whom :D
11