My guess is that you're running Certbot via snapd, and this is a snap message.
see:
- Error installing CertBot on Ubuntu 20.04
- linux - how to fix "go not root owned" - Stack Overflow
- ubuntu - Cant install certbot using snap return: Run configure hook of "certbot" snap if present - Server Fault
If so, the third link suggests this may work:
chown root:root -R /var/lib/snapd/