Inky pHat issue

This is the error I get when i try to install the pHat curl bash script. Please help it wont load and its a fresh new raspbian image

Eli

This is strange, it looks like your apt is broken in some way.

What installers did you run prior to trying to install Inky?
What happens if you run sudo apt update in isolation?
Can you post the output of /etc/apt/sources.list.d/raspi.list?

Is that maybe a “Buster” related issue Phil?
I’m getting the feeling Buster wasn’t really ready for prime time but was released anyway so they could launch the new Pi 4? There are always niggles, just seems to be a lot of them this time around.

Actually I’ve just run into this exact same prompt when installing something on my own Pi.

It looks like apt explicitly requires you to agree (Y/N) to the switch from “testing” to “stable”, but this prompt gets ignored by the installer, so it fails.

Just running:

sudo apt update

Should give the prompt, and all future installs should proceed as normal.

1 Like

Nice catch Phil. Thumbs up.

Thank you! I had to run

sudo apt update

twice for some reason to get the prompt.

Tried to run the script again got further but still the pHat won’t work.

So I then ran

sudo apt upgrade
sudo apt-get update
sudo apt-get upgrade
sudo apt-get -y install python3-rpi.gpio

Then I turned on both spi and i2c and it works!

Thank you again for your help!

1 Like

Oof. This does not seem to be a great solution.

I do believe it is a non issue now. Raspbian Buster was released before the official Release of Debian Buster. It was still in a prerelease mode. Then switched to official release. Not the exact terms but something like that. Anybody installing Buster (current image) now won’t run into the apt apt-get issue.

Correct its no longer an issue