"PITFT Apt failed to update indexes" error on Tft install

EL Wire/Tape/Panels, LEDs, pixels and strips, LCDs and TFTs, etc products from Adafruit

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
friol
 
Posts: 6
Joined: Sun Dec 30, 2012 12:00 pm

"PITFT Apt failed to update indexes" error on Tft install

Post by friol »

Hello,
I have a raspberry pi B+ and a PiTFT - Assembled 320x240 2.8" TFT resistive.
Os is: Linux raspberrypi 5.10.60+ #1449 Wed Aug 25 14:59:20 BST 2021 armv6l GNU/Linux

When I try to run the adafruit-pitft.py script, in interactive mode, at the end I get this error:

PITFT Checking init system...
Found systemd
/boot is mounted
PITFT System update
Updating apt indexes............
PITFT Apt failed to update indexes!

Is there anything I can do?
Thanks

User avatar
Deadflag8
 
Posts: 1
Joined: Tue Sep 28, 2021 9:26 pm

Re: "PITFT Apt failed to update indexes" error on Tft instal

Post by Deadflag8 »

I also have this exact same issue

friol
 
Posts: 6
Joined: Sun Dec 30, 2012 12:00 pm

Re: "PITFT Apt failed to update indexes" error on Tft instal

Post by friol »

If anyone is interested, I solved the issue manually running the command

sudo apt update

(that's what the .py script was doing).

The display is now running fine.
IMG_6145.jpg
IMG_6145.jpg (536.13 KiB) Viewed 758 times

User avatar
CasBleach
 
Posts: 1
Joined: Fri Nov 19, 2021 3:55 pm

Re: "PITFT Apt failed to update indexes" error on Tft instal

Post by CasBleach »

Yep, that fixed the issue for me too. Specifically, using your suggestion and then running the install script again, and voila!

Thank you!

Locked
Please be positive and constructive with your questions and comments.

Return to “Glowy things (LCD, LED, TFT, EL) purchased at Adafruit”