Hi,
I have been following a guide on making a RasPi Kali box:
http://whitedome.com.au/re4son/index...pi/#comment-45

The guide is great but I am having trouble fixing the Pygame issue where libsdl1.2 is causing touch problems.

I have deviated from the guide in that I am using a B+ Pi and not a Pi2 and I downloaded the PiTFT Kali distro. Other than that I have followed the guide andd all seems well.

When it comes to fixing Pygame I am asked to:
Pygame is broken in Jessie because of libsdl1.2-15-10, so we remove it and install the one from from Wheezy.

Comment everything out in your /etc/apt/sources.list and temporarily add:
deb http://archive.raspbian.org/raspbian wheezy main contrib non-free

Run the following commands:
gpg --keyserver keys.gnupg.net --recv-key 9165938D90FDDD2E
gpg -a --export 9165938D90FDDD2E | sudo apt-key add -
sudo apt-get update

Remove the offending packages and replace them with the ones from wheezy:
sudo apt-get remove libsdl1.2debian python-pygame
sudo apt-get install libsdl-image1.2 libsdl-mixer1.2 libsdl-ttf2.0-0 libsdl1.2debian libsmpeg0 python-pygame
sudo apt-mark hold libsdl1.2debian

Restore /etc/apt/sources to it’s original state and re-run:
sudo apt-get update

The trouble starts when I try to perform the first sudo apt-get update, it returns:
Get:1 http://archive.raspbian.org wheezy/main Sources [6,081 kB]
W: Failed to fetch http://archive.raspbian.org/raspbian...eezy/InRelease Unable to find expected entry 'main/binary-armel/Packages' in Release file (Wrong sources.list entry or malformed file)

E: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
E: The value 'stable' is invalid for APT:efault-Release as such a release is not available in the sources

I have tried the adafruit script but the same error occurs.

If anyone has the time to point this noob in the right direction I would be very grateful

greenHorn