I’ve got a Grow with a Pi Zero with Raspbian. The tutorial recommends beginners use Pi OS but I was given an SD with a Raspbian image and don’t immediately have access to a way to create a new image.
When I run apt update or the instruction to install the grow software, I get an error ‘Some index files failed to download. They have been ignored, or old ones used instead.’
I’ve found various suggestions that it’s an issue with the mirror so I’ve tried calling a couple of different ones in sources.list but I get the same issue.
Is there anyway to fix or do I need to suck it up and install Pi OS?
Pi OS is just the new name for Raspbian. If your running Raspbian your running a really old version of what is now called Pi OS.
One option is to run sudp apt update
and then sudo apt full-upgrade
.
- full-upgrade: Upgrades packages to the latest version by removing or replacing the old one in Linux.
Thanks, I didn’t realise that.
I should have said that I get the same problem with sudo apt update. I have successfully run sudo apt upgrade though (not full upgrade).
There is also sudo apt dist-upgrade -y
which will in place upgrade you to the latest Pi OS version. Caution is advised as there is a chance it might go wrong? That’s what I have been told on the Official Pi forum. Have you got a spare SD Card? If yes, you can install the Pi Imager on your raspberry Pi and image the spare card with Bookworm.
I have two Grow Hat setups on Pi 3A’s. If memory serves me I installed Legacy OS. No having to mess with the Python virtual environment that way.