Snapd can't find xdelta3

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is: leonardo.info-ren.org

I ran this command: snap install certbot

It produced this output: [snap also installed a version of snapd that causes problems - see below]

My web server is (include version): Apache/2.4.6

The operating system my web server runs on is (include version): Centos 7

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don't know): yes

I'm using a control panel to manage my site (no, or provide the name and version of the control panel): no

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): 4.0.0

I've been running certbot under snap for some time without problems. But recently one of my certs failed to renew automatically. While I could renew it manually, I found repeated error messages from snapd in my log files, specifically:

snapd: store_download.go:133: unable to use system snap provided xdelta3, running config command failed: fork/exec /var/lib/snapd/snap/snapd/current/snap/snapd/current/usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2: no such file or directory

I tried removing and reinstalling snapd, but the problem persists. When I install certbot, snap also installs snapd, version 2.68.4. The Centos snapd package is for version 2.63, but snap appears to upgrade to 2.68.4.

(1) Is there a way to stick with snapd, version 2.63? The installed package has no snaps listed with snap list, although there is a snapd executable in /usr/libexec/snapd; installing certbot gives me snapd, version 2.68.4.
(2) Should I be installing certbot with the "dangerous" flag and installing the core24 dependencies manually?
(3) Is there some workaround for the problem that snapd seems to have in finding xdelta3?
(4) Do I just have to abandon snapd?

Hello @rcarlitz,

Here are the recommended instructions Certbot Instructions

1 Like

I had missed the fact that it's version 2.63 that's running:

May 2 15:31:09 leonardo snapd: daemon.go:247: started snapd/2.63-0.el7 (series 16; classic; devmode) centos/7 (amd64) linux/3.10.0-1160.119.1.el7.tux.

But snap list gives:

Name Version Rev Tracking Publisher Notes
certbot 4.0.0 4557 latest/stable certbot-effâś“ classic
core24 20250318 888 latest/stable canonicalâś“ base
snapd 2.68.4 24505 latest/stable canonicalâś“ snapd

Thanks @Bruce5051. I have in fact followed those instructions. Right now everything looks normal as far as certbot is concerned, but I have those strange error messages in my log files.

@rcarlitz, Kindly wait for more knowledgeable Let's Encrypt community volunteers to assist.