I understand totally the apprehensions of
@arochester above, and for the most part agree. But then, I too, fall into that category, as I have only scratched the surface of pen testing, with Kali and with Parrot so far.
As for
@JasKinasis - we seldom have reason to disagree
, and usually have each other's back, but I do here.
First question for the OP is this:
@Moses Thompson - Mate, not prying, but what country and what time zone?
Jas is in UK, and possibly is well fed by good servers, same applies in many parts of USA.
My point is simply - if you are just using Kali, you may be keeping up-to-date all the time. If you are multibooting, such as I, perhaps not.
It may be 3 weeks or more before I go into Kali, and I am faced with perhaps
1 GiB or so* of updates. In Australia, the default updates mirror for Kali is woefully slow, so I change it to the fastest of our local mirrors, all reputable and I know their names.
All Debian-based Distros either ship with "netselect" installed or in their Repositories. "Directly Debian" ones such as Debian itself, Kali, MX-16 & MX-17, antiX, one of the Netrunners, and others, also have "netselect-apt" installed.
Once you enter, as Root
... you will be taken through a process pinging maybe 300 or more Debian servers worldwide. At the end of the process, it will output the fastest 10, and choose the fastest one, to add to your sources.list.
That is where you can stop for breath, and check, perhaps that those fastest 10 were reputable. The amended sources.list resides for the moment where you issued the command. In my case, that would be in /home/chris along with pictures document videos &c.
To get the proposed, faster mirror in place:
Code:
# mv /etc/apt/sources.list /etc/apt/sources.list_bkp1
# mv sources.list /etc/apt
This updates in real time, and you can perform your downloads faster.
I do not have Kali installed currently, so cannot help with the upgrade, but from my Timeshift snapshot of this, my sources.list looks as follows:
# Debian packages for testing
deb http://debian.mirror.serversaustralia.com.au/debian/ testing main contrib non-free
# Uncomment the deb-src line if you want 'apt-get source'
# to work with most packages.
# deb-src
http://debian.mirror.serversaustralia.com.au/debian/ testing main contrib non-free
# Security updates for stable
# deb
http://security.debian.org/ stable/updates main contrib non-free
Kali would not have this facility in place if it was not meant to be used.
In line with the failed commands you have experienced, I would then try the following (once you have the fastest mirror):
Code:
# apt-get update --fix-missing
# apt-get upgrade --fix-missing
or commands to similar effect. If they do not work, I do not have further options for the moment.
If this is the first Linux Distro you have tried - I would strongly advise getting practice with some simpler Distros, getting the experience and troubleshooting knowledge for
them, and then coming back to Kali.
Cheers all, and
avagudweegend
Wizard
EDIT -
* This should read hundreds of MiB... on further reflection, it is Parrot which will often have 1 GiB or so of updates for me