PDA

View Full Version : Fresh Install of Kali 2020.1 won't let me apt-get updates



blong206b
2020-02-25, 17:49
Hi, This was solved by Rasalom, my thank you hasn't been approved yet, so editing main post.

Did a fresh install of the newer 2020.1 Kali distro, tried to get any updates.
Am I having permission issues?

used 2019.2 for months with no issues.
15 years A+, minor network+, CompTIA, CySA+, Pentest+, Kali is required for my WithYouWithMe hacking course. Google interprets my searches as "How to I Install 2020.1?", I know any permission issues will reoccur in multiple scenarios so I want to squash this now.

3879

Rasalom
2020-02-26, 04:18
sudo apt update && sudo apt dist-upgrade -y

If you have an issue with "not enough space" during a kernel upgrade, check your current kernel (uname -a) then remove the prior versions listed in the /boot directory (config, initrd, System.map, & vmlinuz).

So, for example, I'm on the 5.4.0-kali4 kernel. If I were to get that error, I would erase config-5.4.0-kali3, kali2,etc, then run the apt dist-upgrade -y command again. Be sure not to erase current kernel nor an updated kernel.

blong206b
2020-02-26, 23:15
sudo apt update && sudo apt dist-upgrade -y

If you have an issue with "not enough space" during a kernel upgrade, check your current kernel (uname -a) then remove the prior versions listed in the /boot directory (config, initrd, System.map, & vmlinuz).

So, for example, I'm on the 5.4.0-kali4 kernel. If I were to get that error, I would erase config-5.4.0-kali3, kali2,etc, then run the apt dist-upgrade -y command again. Be sure not to erase current kernel nor an updated kernel.

That was it, put sudo in front of both commands, have I used 10 words yet?

Mister_X
2020-02-27, 14:19
You need root to run apt-get, and you currently are a regular user. Using sudo as explained by Rasalom is the way to go.

blong206b
2020-02-27, 14:23
hmm, already posted a thank you, looks like it didn't take.