-3

I tried running sudo apt-get install apktool and got:

Reading package list... Done
Reading dependency tree... Done
Reading state information... Done
E: Unable to locate package apktool

I ran sudo apt-get update and got:

Ign:1 http://security.kali.org/kali-security sana/updates InRelease
Ign:2 http://http.kali.org/kali sana InRelease   
Err:3 http://http.kali.org/kali sana Release     
  404  Not Found [IP: 192.99.200.113 80]
Ign:1 http://security.kali.org/kali-security sana/updates InRelease
Ign:1 http://security.kali.org/kali-security sana/updates InRelease
Err:1 http://security.kali.org/kali-security sana/updates InRelease
  Could not resolve 'security.kali.org'
Reading package lists... Done
E: The repository 'http://http.kali.org/kali sana 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.

How can I make apt-get work so I can install stuff?

Also: I am running kali as a vm in VMware... It is connected to the internet, but not sure if that is the problem.

2 Answers2

1

The generic recommendation is to install fresh copy of Kali Linux. This and few other things are explained in this meta Q/A.

You do not need Kali to run apktool. Just follow the installation guide and you will be able to install it on virtually any Linux distribution (where you can install java).

Romeo Ninov
  • 17,484
-1

Kali Sana is an EOL release, it is no longer maintained. You need to migrate from Kali Sana to Kali rolling. Upgrading the installed system is not guaranteed, a fresh installation is more suitable, as said @Romeo Ninov.

Next step; The apktool is available in Kali repositories:

sudo apt install apktool

The VMware image can be downloaded from here. (Don't make chage the sources.list)

GAD3R
  • 66,769
  • I downloaded the vmware file from kali.org 4 days ago and didn't change anything... How would a fresh installation help? – Kovy Jacob Feb 21 '22 at 01:06
  • @KovyJacob you should download the vmare image from here https://www.kali.org/get-kali/#kali-virtual-machines – GAD3R Feb 23 '22 at 17:54