5

I have been working with the Kali Linux distribution built for the Raspberry Pi Zero, and am running into a bit of a problem. It is running fine, but I am having trouble installing Raspbian packages on it. Specifically, I want to be able to access the Raspi Camera.

Here is my current sources.list:

deb http://http.kali.org/kali kali-rolling main non-free contrib
deb-src http://http.kali.org/kali kali-rolling main non-free contrib
deb http://archive.raspbian.org/raspbian wheezy main contrib non-free
deb-src http://archive.raspbian.org/raspbian wheezy main contrib non-free

But when I run apt-get update, this error is generated:

Reading package lists... Done
N: Skipping acquire of configured file 'main/binary-armel/Packages' as repository 'http://archive.raspbian.org/raspbian wheezy InRelease' doesn't support architecture 'armel'
N: Skipping acquire of configured file 'contrib/binary-armel/Packages' as repository 'http://archive.raspbian.org/raspbian wheezy InRelease' doesn't support architecture 'armel'
N: Skipping acquire of configured file 'non-free/binary-armel/Packages' as repository 'http://archive.raspbian.org/raspbian wheezy InRelease' doesn't support architecture 'armel'
root@kali:~# 

I can still install any packages in the Kali repository fine, but when I try to install raspistill, apt-get says that it can't find the package raspistill.

What am I doing wrong? I have seen something online about Raspbian not supporting armel, (which is what the Zero runs), but is that true? If so, how do I get Raspbian repositories on the Raspberry Pi Zero?

As a secondary question, if anyone knows a way to access the RasPi Cam on a different distribution than Raspbian, please let me know. I have done extensive research and have not been able to get anything to work.

3

2 Answers 2

1

Wheezy ("Old-Stable") is no longer the current distribution of Raspbian (and Debian from which it is derived) but not being familiar with Kali I am not sure from what it derives it's parentage - what do they say you should have in your sources.list currently - beware of using old documentation...!

Mixing repository sources is not a good idea unless a derivative distribution says it is OK to - they might suggest the "parent" from which they derived their own versions from - but only for the things they do not provide themselves, otherwise things can get broken quickly...

1

There is a tool called katoolin. You can use that software. The script is written in python. Just opne the software from terminal with

sudo python katoolin.py

and you will find options for everything

Katoolin

4
  • I know Katoolin is for Ubunto 18. Is it OK with Rpi4 buster?
    – tlfong01
    Commented Oct 31, 2019 at 5:26
  • 1
    Yes it is.. Same thing..You have to run it with python command. Select the answer if it works. Thank you. Commented Oct 31, 2019 at 5:28
  • Many thanks for your advice. I am a huge fan of python but C++ hater! :). I do use C Sharp, but it is poorly supported in Rpi4B buster. :(
    – tlfong01
    Commented Oct 31, 2019 at 5:32
  • @tlfong01 c sharp has nothing to do with using katoolin. That is another thing Commented Oct 31, 2019 at 5:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.