I ran this command: /certbot-auto renew --dry-run
It produced this output:
Err http://ppa.launchpad.net trusty/main amd64 Packages
404 Not Found
Err http://ppa.launchpad.net trusty/main i386 Packages
404 Not Found
W: Failed to fetch http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/dists/trusty/main/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/dists/trusty/main/binary-i386/Packages 404 Not Found
The following packages will be upgraded:
1 upgraded, 0 newly installed, 0 to remove and 162 not upgraded.
Need to get 1,531 kB of archives.
After this operation, 1,090 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
WARNING: The following packages cannot be authenticated!
Install these packages without verification? [y/N] y
Err http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/ trusty/main libssl-dev amd64 1.0.2h-1+deb.sury.org~trusty+1
404 Not Found
E: Failed to fetch http://ppa.launchpad.net/ondrej/php5-5.6/ubuntu/pool/main/o/openssl/libssl-dev_1.0.2h-1+deb.sury.org~trusty+1_amd64.deb 404 Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
E: Some index files failed to download. They have been ignored, or old ones used instead.
apt-get update hit problems but continuing anyway…
My operating system is (include version): Linux 3.13.0-57-generic #95-Ubuntu SMP Fri Jun 19 09:28:15 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
My web server is (include version): Apache/2.4.7 (Ubuntu)
My hosting provider, if applicable, is: Digital Ocean
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
apt-get update or apt-get update --fix-missing produces similar output. certbot-auto worked fine before. Why does it refuse to run without updates. How can I possibly reliably crontab this process to renew the certificates if it’s going to require all this crap including that I confirm a bunch of updates just to run? It was working fine a couple of months ago. It also has disturbing warnings about not being able to verify the packages it requires updates for.
My apt-get sources list is the standard digital ocean one. I tried adding the following to the top of the list but it has no effect.
deb mirror://mirrors.ubuntu.com/mirrors.txt precise main restricted universe multiverse
deb mirror://mirrors.ubuntu.com/mirrors.txt precise-updates main restricted universe multiverse
deb mirror://mirrors.ubuntu.com/mirrors.txt precise-backports main restricted universe multiverse
deb mirror://mirrors.ubuntu.com/mirrors.txt precise-security main restricted universe multiverse