Tuesday, April 23, 2019

Kali not updating

Environment: Fresh Kali download running on VirtualBox 6.0 (current)
Problem: after clean install, it will not update.

I originally found this trying to install OpenVAS.

sudo apt-get install openvas 
returned 
Unable to locate packages. 
sudo apt-get update did not do anything either. 
sudo leafpad /etc/apt/sources.list 
  
In that file, I copied the correct source file repository from here: 
 I used the Kali-Rolling 
deb http://http.kali.org/kali kali-rolling main non-free contrib 
Then I was able to run: 
Sudo apt-get update 
Sudo apt-get dist-upgrade (this took a VERY long time) 
Sudo apt-get install openvas 

ModuleNotFoundError: No module named 'torchvision.transforms.functional_tensor'

 I tried a couple things, downgrading, reinstalling, followed some github links talking about /usr/local/lib/python3.10/dist-packages/basics...