Can't get pihole to update via CLI

A post was split to a new topic: Apt-get update returns 404