deb http://http.kali.org/kali potassium main non-free contrib
deb http://security.kali.org/kali-security potassium / updates main contrib non-free
If you try, it can update some applications, but if you try to install a new application, it will not be possible to 90% and a message like this will appear:
E: Unable to locate package
The easiest way is to edit /etc/apt/sources.list
Remove or comment each line with # in front and add the following line in the terminal window:
leafpad /etc/apt/sources.list
After this command line, the screen will appear:
Now, remove the old command line and add a new one.
(Don't update Kali 1.0, upgrade to Kali 2016 instead).
123456 ## Regular repositories
deb http://http.kali.org/kali potassium main non-free contrib
deb http://security.kali.org/kali-security potassium / updates main contrib non-free
## Source repositories
deb-src http://http.kali.org/kali potassium main non-free contrib
deb-src http://security.kali.org/kali-security potassium / updates main contrib non-free
(You can still get updates for Kali Sana but not for long. So upgrade to Kali 2016.1)
123456 # Regular repositories
deb http://http.kali.org/kali sana main non-free contrib
deb http://security.kali.org/kali-security sana / updates main contrib non-free
# Source repositories
deb-src http://http.kali.org/kali sana main non-free contrib
deb-src http://security.kali.org/kali-security sana / updates main contrib non-free
123deb http://http.kali.org/kali potassium-rolling main contrib non-free
# For gói nguồn truy cập, uncomment theo sau dòng
# deb-src http://http.kali.org/kali potassium-main contrib non-free
1deb http://repo.kali.org/kali potassium-rolling main non-free contrib
Finally, save and close the file.
Use the following command:
1apt-get clean && apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y
In contrast to dev-potassium, potassium-rolling is expected to be of better quality because it is managed by a tool that ensures the installation capability of all packages contained therein. This tool will select packages that are updated from the dev-command and copy them into potassium-rolling only if they have been verified to be installable.
If you still have any questions about updating, read the article How to update Kali Linux and fix errors when updating.
See more: