Adventures With A Raspberry Pi: Raspberry PI Update Fails

Raspberry PiThis post is part of the Adventures with a Raspberry Pi series. I always intended for this to be a long running series, but it’s been quite a while since I did anything with the Pi. I bought one initially to use as a Pi-hole which I have been using ever since although this usually just goes as far as applying updates or whitelisting a site.

There was recently a pending update which I tried to apply, but the update failed saying that an unsupported OS was detected:

Unsupported OS detected

I was in the middle of other things and I haven’t updated the OS on a Pi before, so I was reluctant to look into doing so then and there. When I was researching the error, I found a thread on the Pi-hole Discourse which discussed the issue. One of the comments included a command for ignoring the check:

PIHOLE_SKIP_OS_CHECK=true sudo -E pihole -up

I decided to go for it and get the Pi-hole updated. Usually when the pihole -up command is run it goes through without any further input required, but using the command above, there was one prompt which needed a response to either retain settings or reverting back to defaults:

Update or retain settings

Overriding the OS version check is risky as there could be an incompatibility which could break things. I opted to take the risk this time and got away with it, but isn’t really something I would recommend.

Adventures With A Raspberry Pi

What should we write about next?

Leave a Reply

Your email address will not be published. Required fields are marked *