PDA

View Full Version : Kali won't upgrade everything



Abdulmalek97
2017-07-19, 09:30
After writing apt-get update && apt-get upgrade -y, it says: "0 upgraded 0 newly installed 0 to remove and 71 not upgraded Kali Linux" see the attachments.

Any ideas how to get it to update everything? and why does this happen?

I/ve just installed it and changed the networkmanger.conf to true and updated the sources.list by adding :


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

Last step was updating by the command : apt-get update && apt-get upgrade -y followed by apt-get install -y 4.9.0-kali4-amd64
and then restarting.

after checking by tyoing uname -r, it says that i indeed have the 4.9.0 kali 4 amd 64.


Thanks!

grid
2017-07-19, 11:58
I generally run apt-get update && apt-get dist-upgrade when updating Kali. This has always worked for me.

Crash
2017-07-19, 12:02
You don't need the repo "deb-src http://http.kali.org/kali kali-rolling main contrib non-free" if you not compiling the tools from the source, so, remove it.

Start to use this commando to update:
apt update ; apt full-upgrade -y ; apt autoremove -y

The current kernel (07/19/2017) is: 4.9.0-kali4-amd64 #1 SMP Debian 4.9.30-2kali1 (2017-06-22) x86_64 GNU/Linux

Also, you always can run this script to check if you kali is up to date: https://github.com/crashbrz/kalihealthcheck/
****Dot not use the deep checking, is not very well yet****

_defalt
2017-07-19, 12:24
Those 71 items are package dependencies. Run apt-get dist-upgarde to install them.

Abdulmalek97
2017-07-19, 13:36
I generally run apt-get update && apt-get dist-upgrade when updating Kali. This has always worked for me.


Thanks it worked for me as well.


You don't need the repo "deb-src http://http.kali.org/kali kali-rolling main contrib non-free" if you not compiling the tools from the source, so, remove it.

Start to use this commando to update:
apt update ; apt full-upgrade -y ; apt autoremove -y

The current kernel (07/19/2017) is: 4.9.0-kali4-amd64 #1 SMP Debian 4.9.30-2kali1 (2017-06-22) x86_64 GNU/Linux

Also, you always can run this script to check if you kali is up to date: https://github.com/crashbrz/kalihealthcheck/
****Dot not use the deep checking, is not very well yet****


Thanks for your suggestion but out professor at the university asked us to put these.


Those 71 items are package dependencies. Run apt-get dist-upgarde to install them.

it worked! Thanks!

_defalt
2017-07-19, 17:12
Thanks for your suggestion but out professor at the university asked us to put these.
Ask your professor why do we require that. deb-src is only needed when you want to build the package from its source code. But you are directly installing the already compiled packages so you don't need that repository.