adafruit / Adafruit-PiTFT-Helper

Script to configure an installed PiTFT
MIT License
82 stars 26 forks source link

Unable to locate package adafruit-pitft-helper #10

Closed mvaneijgen closed 6 years ago

mvaneijgen commented 8 years ago

I am trying to get my PiTFT to work with Kali Lunix, but I keep getting stuck on this point. I am following this tutorial and all I get is Unable to locate package adafruit-pitft-helper

The following command: curl -SLs https://apt.adafruit.com/add | sudo bash Will result in this:

                                 .`
                              -dMMs
                             +MMMMMo
                           .dMMMMMMN-
                          +NMMMMMMMMd`
                        `hMMMMMMMMMMMo
                       -mMMMMMMMMMMMMN.
                       dMMMMMMMMMMMMMMo
  :hmmmmmmmmmmmmdhs/. `MMMMMMMMMMMMMMMh
  sMMMMMMMMMMMMMMMMMMd+NMMMMMMMMMMMMMM+
   /NMMMMMMMMMMMMMMMMMMMMMMMMs+NMMMMMm/+syyyso/-`
    `hMMMMMMMMMMMMMMMMMMMMMMo  hMMMMMMMMMMMMMMMMMNhs+:.
      /NMMMMMMMMMMMNmmNMMMMN. `mMMMMMMMMMMMMMMMMMMMMMMMNh-
       .hMMMMMMMMMMh` `-sNMMs-hMMMMMMMMMMMMMMMMMMMMMMMMMM+
         /mMMMMMMMMMNy+-./MMMMMMy:....oMMMMMMMMMMMMMMMNo.
           :ymMMMMMMMMMMMMMMMMMNy//oymMMMMMMMMMMMMMNy:
              .yMMMMMMMms:oMMNhNMMMMMMMMMMMMMMMMNh/`
            .yMMMMMMMN/  .dMMy `sMMMMMMMMMMMNmy/`
           /NMMMMMMMM:`-sMMMMM:  sMMMMMMs-..`
          -NMMMMMMMMMNNMMMMMMMMs./MMMMMMMh`
          mMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMs
         sMMMMMMMMMMMMMMMMhMMMMMMMMMMMMMMMN
        :MMMMMMMMMMMMMMMN+ hMMMMMMMMMMMMMMN.
       `dMMMMMMMMMMMMNh/`  `hMMMMMMMMMMMMMN.
       /MMMMMMMMmhs+-        /dMMMMMMMMMMMN.
       .hmdys/-                -sNMMMMMMMMN.
                                 `:hNMMMMMN.
                                    `+dMMMN`
                                       ./+-

  adding apt.adafruit.com to /etc/apt/sources.list

adafruit repo already added to apt sources
Hit http://apt.adafruit.com wheezy InRelease
Hit http://security.kali.org sana/updates InRelease
Hit http://http.kali.org sana InRelease
Hit http://security.kali.org sana/updates/main Sources
Hit http://http.kali.org sana/main Sources
Hit http://security.kali.org sana/updates/contrib Sources
Hit http://http.kali.org sana/non-free Sources
Hit http://security.kali.org sana/updates/non-free Sources
Hit http://http.kali.org sana/contrib Sources
Hit http://security.kali.org sana/updates/main armel Packages
Hit http://security.kali.org sana/updates/contrib armel Packages
Hit http://http.kali.org sana/main armel Packages
Hit http://http.kali.org sana/non-free armel Packages
Hit http://security.kali.org sana/updates/non-free armel Packages
Hit http://http.kali.org sana/contrib armel Packages
Ign http://http.kali.org sana/contrib Translation-en
Ign http://http.kali.org sana/main Translation-en
Ign http://security.kali.org sana/updates/contrib Translation-en
Ign http://security.kali.org sana/updates/main Translation-en
Ign http://security.kali.org sana/updates/non-free Translation-en
Ign http://http.kali.org sana/non-free Translation-en
W: Failed to fetch http://apt.adafruit.com/raspbian/dists/wheezy/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.```
toddtreece commented 8 years ago

Raspbian currently is on Debian 8 "Jessie", and it looks like the version of Kali you are using might be a fork of Debian 7 "Wheezy". I think Kali 2.x is based on Jessie, so you might want to give that a shot.

I am not currently in a place where I can test this, but if you do and it's successful, please let us know and we'll update the tutorial to use Kali 2.x. Thanks!

mvaneijgen commented 8 years ago

I am using Kali 2.0.1 and tried both images with and without the TFT build in. Downloaded from https://www.offensive-security.com/kali-linux-vmware-arm-image-download/

toddtreece commented 8 years ago

can you paste in the output of this for me:

$ cat /etc/debian_version

my guess is that you need to edit /etc/apt/sources.list with your favorite text editor and replace this line:

deb http://apt.adafruit.com/raspbian/ wheezy main

with this one:

deb http://apt.adafruit.com/raspbian/ jessie main

and then try:

$ sudo apt-get update
arormoser commented 8 years ago

Same error here. Raspberry B+ with latest version of Kali. Not working. I tried changing sources for deb http://apt.adafruit.com/raspbian/ jessie main and got the same error:

W: Failed to fetch http://apt.adafruit.com/raspbian/dists/jessie/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.

IgorGanapolsky commented 8 years ago

I am getting the same error on RP 3 B, even though I have deb http://apt.adafruit.com/raspbian/ jessie main

ladyada commented 6 years ago

fixed with totally new system & guides updated!