"PIHOLE_SKIP_OS_CHECK=true pihole -r" should be "PIHOLE_SKIP_OS_CHECK=true pihole -up"

This was the original issue: Update to 6.0.1 allegedly available, but unable to install