PDA

View Full Version : Cant update Kali version



hz93
2019-10-01, 12:39
Hello i installed Kali version :4.15.0-kali2-amd64 #1 SMP Debian 4.15.11-1kali1 (2018-03-21) x86_64 GNU/Linux
then i fist updated Kali using apt-get update and apt-get full-upgrade but nothing update and version remain same:
PRETTY_NAME="Kali GNU/Linux Rolling"
NAME="Kali GNU/Linux"
ID=kali
VERSION="2018.2"
VERSION_ID="2018.2"
ID_LIKE=debian
ANSI_COLOR="1;31"
HOME_URL="https://www.kali.org/"
SUPPORT_URL="https://forums.kali.org/"
BUG_REPORT_URL="https://bugs.kali.org/"

then I check source.list and found that it is totally empty
then i add original Kali sources.list Repositories and then re update but still not working

Can anybody help me

Mister_X
2019-10-01, 23:41
could you define "Still not working"? Outputs are useful.

And did apt update return anything? If yes, what?

hz93
2019-10-18, 11:04
root@localhost:/etc# cd /
root@localhost:/# cat /etc/os-release
PRETTY_NAME="Kali GNU/Linux Rolling"
NAME="Kali GNU/Linux"
ID=kali
VERSION="2018.2"
VERSION_ID="2018.2"
ID_LIKE=debian
ANSI_COLOR="1;31"
HOME_URL="https://www.kali.org/"
SUPPORT_URL="https://forums.kali.org/"
BUG_REPORT_URL="https://bugs.kali.org/"
root@localhost:/# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@localhost:/# apt update
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
root@localhost:/# uname -a
Linux localhost.localdomain 4.15.0-kali2-amd64 #1 SMP Debian 4.15.11-1kali1 (2018-03-21) x86_64 GNU/Linux
root@localhost:/#

Mister_X
2019-10-19, 01:05
Do you have anything in /etc/apt/sources.list?

hz93
2019-10-19, 05:08
root@localhost:~# cat /etc/apt/source.list
deb http://http.kali.org/kali kali-rolling main non-free contrib
deb-src http://http.kali.org/kali kali-rolling main non-free contrib

Mister_X
2019-10-25, 20:16
You have to do 'apt dist-upgrade' after 'apt update'. Does that command do anything? Could you show the output?

kaligreg
2019-10-28, 19:52
I am getting this error page:

oot@GregsKali:~# apt update
Ign:1 https://www.kali.org/kali kali-rolling InRelease
Err:2 https://www.kali.org/kali kali-rolling Release
404 Not Found [IP: 192.124.249.10 443]
Reading package lists... Done
E: The repository 'https://kali.org/kali kali-rolling Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
root@GregsKali:~# apt dist-update
E: Invalid operation dist-update
root@GregsKali:~# apt dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@GregsKali:~# !ping
ping 192.124.249.10
PING 192.124.249.10 (192.124.249.10) 56(84) bytes of data.
64 bytes from 192.124.249.10: icmp_seq=1 ttl=57 time=21.4 ms
64 bytes from 192.124.249.10: icmp_seq=2 ttl=57 time=21.7 ms
64 bytes from 192.124.249.10: icmp_seq=3 ttl=57 time=21.3 ms


This despite playing with variations of the dists page:
http.kali.org/dists/kali-rolling-only/ ...


The official kali mirrors site tesll us to set up user accounts in our platforms to access the mirrors:
docs.kali.org/community/kali-linux-mirrors

is the new way of things?

Mister_X
2019-10-30, 01:09
Are you sure that's the content of your sources.list (notice the 's' at the end of it, and in your command you typed it without 's')? apt is hitting http://www.kali.org, which is incorrect.


You're misunderstanding that documentation (mirror). It is meant to have a copy of the kali repo on one of your system, and that isn't needed. It is only useful if you have a lot of users in your company running kali, and will save bandwidth, and it can save time when building ISOs, but otherwise, there is no reason to have one.