How to upgrade ACMEv1 to ACMEv2 compatibility

what do you mean. whatshould I do with them

type:
/root/certbot-auto --version
/etc/letsencrypt/configs/certbot-auto --version

(base) [root@ip-172-31-23-114 configs]# /root/certbot-auto --version
Upgrading certbot-auto 1.4.0 to 1.7.0…
Replacing certbot-auto…
/opt/eff.org/certbot/venv/local/lib/python2.7/dist-packages/OpenSSL/crypto.py:12: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography import x509
certbot 1.7.0
I got this

OK now you have 1.7.0 (which should have v2 support)

can I use this command

./certbot-auto --standalone --config /etc/letsencrypt/configs/iot.smarttrak.info…conf certonly

I’m getting the same

(base) [root@ip-172-31-23-114 configs]# ./certbot-auto --standalone --config /etc/letsencrypt/configs/iot.smarttrak.info…conf certonly
/opt/eff.org/certbot/venv/local/lib/python2.7/dist-packages/OpenSSL/crypto.py:12: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography import x509
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator standalone, Installer None
An unexpected error occurred:
The client lacks sufficient authorization :: Account creation on ACMEv1 is disabled. Please upgrade your ACME client to a version that supports ACMEv2 / RFC 8555. See End of Life Plan for ACMEv1 for details.
Please see the logfiles in /var/log/letsencrypt for more details.

? ? ?
Have you learned nothing?

Please show:
./certbot --version

(base) [root@ip-172-31-23-114 configs]# ./certbot --version
-bash: ./certbot: No such file or directory

which command should I use instead?

You showed two files names certbot-auto
Then explicitly executed one of them and were able to update that one.
Now you use ./ and let the system pick the file for you - which one did it run?
Try:
which certbot-auto
to find which one it would run
OR
just use
/root/certbot-auto instead on ./certbot-auto

That was a typo on my part
You wrote:

Please show:
./certbot-auto --version

In summary:
You might have 1 certbot and 2 certbot-auto installed
You need to clean that up!

(base) [root@ip-172-31-23-114 configs]# which certbot-auto
/usr/bin/which: no certbot-auto in (/opt/conda/bin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/aws/bin:/root/bin)

I got this

can you help me with it?

When you were at that location it found a certbot-auto
Stand at the same location and type:
./certbot-auto --version

(base) [root@ip-172-31-23-114 configs]# ./certbot-auto --version
/opt/eff.org/certbot/venv/local/lib/python2.7/dist-packages/OpenSSL/crypto.py:12: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography import x509
certbot 1.7.0
(base) [root@ip-172-31-23-114 configs]# ls
certbot-auto iot.smarttrak.info…conf

So then?

So… there may be some underlying dependencies that are unable to update?
Have you done:
sudo apt update

Does that show anything pending to be upgraded?

And what about the certbot ?
find / -name certbot

[maybe that one will work]

Please also show:
openssl version

(base) [root@ip-172-31-23-114 configs]# yum update
Loaded plugins: priorities, update-motd, upgrade-helper
Repository nodesource is listed more than once in the configuration
Repository nodesource-source is listed more than once in the configuration
amzn-main | 2.1 kB 00:00:00
amzn-updates | 3.8 kB 00:00:00
847 packages excluded due to repository priority protections
Resolving Dependencies
–> Running transaction check
—> Package amazon-ssm-agent.x86_64 0:2.3.714.0-1.amzn1 will be updated
—> Package amazon-ssm-agent.x86_64 0:2.3.1319.0-1.amzn1 will be an update
—> Package aws-apitools-ec2.noarch 0:1.7.3.0-1.0.amzn1 will be updated
—> Package aws-apitools-ec2.noarch 0:1.7.3.0-2.1.amzn1 will be an update
—> Package aws-cfn-bootstrap.noarch 0:1.4-31.22.amzn1 will be updated
—> Package aws-cfn-bootstrap.noarch 0:1.4-32.23.amzn1 will be an update
—> Package aws-cli.noarch 0:1.16.102-1.50.amzn1 will be updated
—> Package aws-cli.noarch 0:1.18.107-1.55.amzn1 will be an update
—> Package bash.x86_64 0:4.2.46-28.37.amzn1 will be updated
—> Package bash.x86_64 0:4.2.46-34.43.amzn1 will be an update
—> Package bind-libs.x86_64 32:9.8.2-0.68.rc1.60.amzn1 will be updated
—> Package bind-libs.x86_64 32:9.8.2-0.68.rc1.64.amzn1 will be an update
—> Package bind-utils.x86_64 32:9.8.2-0.68.rc1.60.amzn1 will be updated
—> Package bind-utils.x86_64 32:9.8.2-0.68.rc1.64.amzn1 will be an update
—> Package cloud-init.noarch 0:0.7.6-2.17.amzn1 will be updated
—> Package cloud-init.noarch 0:0.7.6-2.21.amzn1 will be an update
—> Package containerd.x86_64 0:1.2.6-1.2.amzn1 will be updated
—> Package containerd.x86_64 0:1.3.2-1.3.amzn1 will be an update
—> Package curl.x86_64 0:7.61.1-12.93.amzn1 will be updated
—> Package curl.x86_64 0:7.61.1-12.94.amzn1 will be an update
—> Package db4.x86_64 0:4.7.25-18.11.amzn1 will be obsoleted
–> Processing Dependency: libdb-4.7.so()(64bit) for package: ruby20-libs-2.0.0.648-1.33.amzn1.x86_64
–> Processing Dependency: libdb-4.7.so()(64bit) for package: cyrus-sasl-lib-2.1.23-13.16.amzn1.x86_64
–> Processing Dependency: libdb-4.7.so()(64bit) for package: httpd24-tools-2.4.46-1.90.amzn1.x86_64
–> Processing Dependency: libdb-4.7.so()(64bit) for package: rpm-4.11.3-40.77.amzn1.x86_64
–> Processing Dependency: libdb-4.7.so()(64bit) for package: iproute-4.4.0-3.23.amzn1.x86_64
–> Processing Dependency: libdb-4.7.so()(64bit) for package: rpm-build-libs-4.11.3-40.77.amzn1.x86_64
–> Processing Dependency: libdb-4.7.so()(64bit) for package: pam-1.1.8-12.33.amzn1.x86_64
–> Processing Dependency: libdb-4.7.so()(64bit) for package: pam_ccreds-10-4.9.amzn1.x86_64
–> Processing Dependency: libdb-4.7.so()(64bit) for package: python27-libs-2.7.18-2.139.amzn1.x86_64
–> Processing Dependency: libdb-4.7.so()(64bit) for package: cyrus-sasl-2.1.23-13.16.amzn1.x86_64
–> Processing Dependency: libdb-4.7.so()(64bit) for package: httpd24-2.4.46-1.90.amzn1.x86_64
–> Processing Dependency: libdb-4.7.so()(64bit) for package: rpm-libs-4.11.3-40.77.amzn1.x86_64
–> Processing Dependency: libdb-4.7.so()(64bit) for package: python26-2.6.9-2.92.amzn1.x86_64
–> Processing Dependency: libdb-4.7.so()(64bit) for package: apr-util-1.5.4-6.18.amzn1.x86_64
–> Processing Dependency: libdb-4.7.so()(64bit) for package: sendmail-8.14.4-9.14.amzn1.x86_64
–> Processing Dependency: libdb-4.7.so()(64bit) for package: rpm-python27-4.11.3-40.77.amzn1.x86_64
—> Package db4-utils.x86_64 0:4.7.25-18.11.amzn1 will be obsoleted
—> Package docker.x86_64 0:18.09.9ce-2.52.amzn1 will be updated
—> Package docker.x86_64 0:19.03.6ce-4.58.amzn1 will be an update
—> Package ec2-net-utils.noarch 0:0.6-1.1.amzn1 will be updated
—> Package ec2-net-utils.noarch 0:0.7-1.3.amzn1 will be an update
—> Package ec2-utils.noarch 0:0.6-1.1.amzn1 will be updated
—> Package ec2-utils.noarch 0:0.7-1.3.amzn1 will be an update
—> Package expat.x86_64 0:2.1.0-10.21.amzn1 will be updated
—> Package expat.x86_64 0:2.1.0-11.22.amzn1 will be an update
—> Package git.x86_64 0:2.14.6-1.61.amzn1 will be updated
—> Package git.x86_64 0:2.18.4-2.71.amzn1 will be an update
–> Processing Dependency: git-core-doc = 2.18.4-2.71.amzn1 for package: git-2.18.4-2.71.amzn1.x86_64
–> Processing Dependency: git-core = 2.18.4-2.71.amzn1 for package: git-2.18.4-2.71.amzn1.x86_64
—> Package httpd24.x86_64 0:2.4.41-1.88.amzn1 will be updated
—> Package httpd24.x86_64 0:2.4.46-1.90.amzn1 will be an update
–> Processing Dependency: libdb-4.7.so()(64bit) for package: httpd24-2.4.46-1.90.amzn1.x86_64
—> Package httpd24-tools.x86_64 0:2.4.41-1.88.amzn1 will be updated
—> Package httpd24-tools.x86_64 0:2.4.46-1.90.amzn1 will be an update
–> Processing Dependency: libdb-4.7.so()(64bit) for package: httpd24-tools-2.4.46-1.90.amzn1.x86_64
—> Package initscripts.x86_64 0:9.03.58-1.39.amzn1 will be updated
—> Package initscripts.x86_64 0:9.03.58-1.40.amzn1 will be an update
—> Package java-1.7.0-openjdk.x86_64 1:1.7.0.231-2.6.19.1.80.amzn1 will be updated
—> Package java-1.7.0-openjdk.x86_64 1:1.7.0.261-2.6.22.1.83.amzn1 will be an update
—> Package kernel.x86_64 0:4.14.186-110.268.amzn1 will be installed
—> Package kernel-headers.x86_64 0:4.14.171-105.231.amzn1 will be updated
—> Package kernel-headers.x86_64 0:4.14.186-110.268.amzn1 will be an update
—> Package kernel-tools.x86_64 0:4.14.171-105.231.amzn1 will be updated
—> Package kernel-tools.x86_64 0:4.14.186-110.268.amzn1 will be an update
—> Package krb5-devel.x86_64 0:1.15.1-34.44.amzn1 will be updated
—> Package krb5-devel.x86_64 0:1.15.1-46.48.amzn1 will be an update
—> Package krb5-libs.x86_64 0:1.15.1-34.44.amzn1 will be updated
—> Package krb5-libs.x86_64 0:1.15.1-46.48.amzn1 will be an update
—> Package libcgroup.x86_64 0:0.40.rc1-5.11.amzn1 will be updated
—> Package libcgroup.x86_64 0:0.40.rc1-5.15.amzn1 will be an update
—> Package libcurl.x86_64 0:7.61.1-12.93.amzn1 will be updated
—> Package libcurl.x86_64 0:7.61.1-12.94.amzn1 will be an update
—> Package libdb4.x86_64 0:4.8.30-13.el7 will be obsoleting
—> Package libdb4-utils.x86_64 0:4.8.30-13.el7 will be obsoleting
—> Package libicu.x86_64 0:50.1.2-11.12.amzn1 will be updated
—> Package libicu.x86_64 0:50.2-4.0.amzn1 will be an update
—> Package libkadm5.x86_64 0:1.15.1-34.44.amzn1 will be updated
—> Package libkadm5.x86_64 0:1.15.1-46.48.amzn1 will be an update
—> Package libnghttp2.x86_64 0:1.31.1-2.5.amzn1 will be updated
—> Package libnghttp2.x86_64 0:1.33.0-1.1.6.amzn1 will be an update
—> Package libtirpc.x86_64 0:0.2.4-0.8.14.amzn1 will be updated
—> Package libtirpc.x86_64 0:0.2.4-0.16.15.amzn1 will be an update
—> Package libuv.x86_64 1:1.34.0-1.el7 will be updated
—> Package libuv.x86_64 1:1.38.0-2.el7 will be an update
—> Package libxml2.x86_64 0:2.9.1-6.3.52.amzn1 will be updated
—> Package libxml2.x86_64 0:2.9.1-6.4.40.amzn1 will be an update
—> Package libxml2-python27.x86_64 0:2.9.1-6.3.52.amzn1 will be updated
—> Package libxml2-python27.x86_64 0:2.9.1-6.4.40.amzn1 will be an update
—> Package microcode_ctl.x86_64 2:2.1-47.38.amzn1 will be updated
—> Package microcode_ctl.x86_64 2:2.1-47.39.amzn1 will be an update
—> Package nspr.x86_64 0:4.19.0-1.43.amzn1 will be updated
—> Package nspr.x86_64 0:4.21.0-1.43.amzn1 will be an update
—> Package nss.x86_64 0:3.36.0-5.82.amzn1 will be updated
—> Package nss.x86_64 0:3.44.0-7.84.amzn1 will be an update
—> Package nss-softokn.x86_64 0:3.36.0-5.42.amzn1 will be updated
—> Package nss-softokn.x86_64 0:3.44.0-8.44.amzn1 will be an update
—> Package nss-softokn-freebl.x86_64 0:3.36.0-5.42.amzn1 will be updated
—> Package nss-softokn-freebl.x86_64 0:3.44.0-8.44.amzn1 will be an update
—> Package nss-sysinit.x86_64 0:3.36.0-5.82.amzn1 will be updated
—> Package nss-sysinit.x86_64 0:3.44.0-7.84.amzn1 will be an update
—> Package nss-tools.x86_64 0:3.36.0-5.82.amzn1 will be updated
—> Package nss-tools.x86_64 0:3.44.0-7.84.amzn1 will be an update
—> Package nss-util.x86_64 0:3.36.0-1.54.amzn1 will be updated
—> Package nss-util.x86_64 0:3.44.0-4.56.amzn1 will be an update
—> Package perl-Git.noarch 0:2.14.6-1.61.amzn1 will be updated
—> Package perl-Git.noarch 0:2.18.4-2.71.amzn1 will be an update
—> Package python26.x86_64 0:2.6.9-2.89.amzn1 will be updated
—> Package python26.x86_64 0:2.6.9-2.92.amzn1 will be an update
–> Processing Dependency: libdb-4.7.so()(64bit) for package: python26-2.6.9-2.92.amzn1.x86_64
—> Package python26-libs.x86_64 0:2.6.9-2.89.amzn1 will be updated
—> Package python26-libs.x86_64 0:2.6.9-2.92.amzn1 will be an update
—> Package python27.x86_64 0:2.7.18-1.138.amzn1 will be updated
—> Package python27.x86_64 0:2.7.18-2.139.amzn1 will be an update
—> Package python27-botocore.noarch 0:1.12.92-2.69.amzn1 will be updated
—> Package python27-botocore.noarch 0:1.17.31-1.72.amzn1 will be an update
—> Package python27-colorama.noarch 0:0.2.5-1.7.amzn1 will be updated
—> Package python27-colorama.noarch 0:0.4.1-4.8.amzn1 will be an update
—> Package python27-devel.x86_64 0:2.7.18-1.138.amzn1 will be updated
—> Package python27-devel.x86_64 0:2.7.18-2.139.amzn1 will be an update
—> Package python27-libs.x86_64 0:2.7.18-1.138.amzn1 will be updated
—> Package python27-libs.x86_64 0:2.7.18-2.139.amzn1 will be an update
–> Processing Dependency: libdb-4.7.so()(64bit) for package: python27-libs-2.7.18-2.139.amzn1.x86_64
—> Package python27-rsa.noarch 0:3.4.1-1.8.amzn1 will be updated
—> Package python27-rsa.noarch 0:3.4.1-1.9.amzn1 will be an update
—> Package python27-tools.x86_64 0:2.7.18-1.138.amzn1 will be updated
—> Package python27-tools.x86_64 0:2.7.18-2.139.amzn1 will be an update
—> Package rpm.x86_64 0:4.11.3-40.76.amzn1 will be updated
—> Package rpm.x86_64 0:4.11.3-40.77.amzn1 will be an update
–> Processing Dependency: /usr/bin/db_stat for package: rpm-4.11.3-40.77.amzn1.x86_64
–> Processing Dependency: libdb-4.7.so()(64bit) for package: rpm-4.11.3-40.77.amzn1.x86_64
—> Package rpm-build-libs.x86_64 0:4.11.3-40.76.amzn1 will be updated
—> Package rpm-build-libs.x86_64 0:4.11.3-40.77.amzn1 will be an update
–> Processing Dependency: libdb-4.7.so()(64bit) for package: rpm-build-libs-4.11.3-40.77.amzn1.x86_64
—> Package rpm-libs.x86_64 0:4.11.3-40.76.amzn1 will be updated
—> Package rpm-libs.x86_64 0:4.11.3-40.77.amzn1 will be an update
–> Processing Dependency: libdb-4.7.so()(64bit) for package: rpm-libs-4.11.3-40.77.amzn1.x86_64
—> Package rpm-python27.x86_64 0:4.11.3-40.76.amzn1 will be updated
—> Package rpm-python27.x86_64 0:4.11.3-40.77.amzn1 will be an update
–> Processing Dependency: libdb-4.7.so()(64bit) for package: rpm-python27-4.11.3-40.77.amzn1.x86_64
—> Package ruby20.x86_64 0:2.0.0.648-1.32.amzn1 will be updated
—> Package ruby20.x86_64 0:2.0.0.648-1.33.amzn1 will be an update
—> Package ruby20-irb.noarch 0:2.0.0.648-1.32.amzn1 will be updated
—> Package ruby20-irb.noarch 0:2.0.0.648-1.33.amzn1 will be an update
—> Package ruby20-libs.x86_64 0:2.0.0.648-1.32.amzn1 will be updated
—> Package ruby20-libs.x86_64 0:2.0.0.648-1.33.amzn1 will be an update
–> Processing Dependency: libdb-4.7.so()(64bit) for package: ruby20-libs-2.0.0.648-1.33.amzn1.x86_64
—> Package rubygem20-bigdecimal.x86_64 0:1.2.0-1.32.amzn1 will be updated
—> Package rubygem20-bigdecimal.x86_64 0:1.2.0-1.33.amzn1 will be an update
—> Package rubygem20-json.x86_64 0:1.8.3-1.51.amzn1 will be updated
—> Package rubygem20-json.x86_64 0:1.8.3-1.53.amzn1 will be an update
—> Package rubygem20-psych.x86_64 0:2.0.0-1.32.amzn1 will be updated
—> Package rubygem20-psych.x86_64 0:2.0.0-1.33.amzn1 will be an update
—> Package rubygems20.noarch 0:2.0.14.1-1.32.amzn1 will be updated
—> Package rubygems20.noarch 0:2.0.14.1-1.33.amzn1 will be an update
—> Package runc.x86_64 0:1.0.0-0.1.20190510.git2b18fe1.0.amzn1 will be updated
—> Package runc.x86_64 0:1.0.0-0.1.20200204.gitdc9208a.1.amzn1 will be an update
—> Package sudo.x86_64 0:1.8.6p3-29.29.amzn1 will be updated
—> Package sudo.x86_64 0:1.8.6p3-29.30.amzn1 will be an update
—> Package yarn.noarch 0:1.22.4-1 will be updated
—> Package yarn.noarch 0:1.22.5-1 will be an update
—> Package yum.noarch 0:3.4.3-150.70.amzn1 will be updated
—> Package yum.noarch 0:3.4.3-150.71.amzn1 will be an update
–> Running transaction check
—> Package db4.x86_64 0:4.7.25-18.11.amzn1 will be obsoleted
–> Processing Dependency: libdb-4.7.so()(64bit) for package: ruby20-libs-2.0.0.648-1.33.amzn1.x86_64
–> Processing Dependency: libdb-4.7.so()(64bit) for package: cyrus-sasl-lib-2.1.23-13.16.amzn1.x86_64
–> Processing Dependency: libdb-4.7.so()(64bit) for package: httpd24-tools-2.4.46-1.90.amzn1.x86_64
–> Processing Dependency: libdb-4.7.so()(64bit) for package: rpm-4.11.3-40.77.amzn1.x86_64
–> Processing Dependency: libdb-4.7.so()(64bit) for package: iproute-4.4.0-3.23.amzn1.x86_64
–> Processing Dependency: libdb-4.7.so()(64bit) for package: rpm-build-libs-4.11.3-40.77.amzn1.x86_64
–> Processing Dependency: libdb-4.7.so()(64bit) for package: pam-1.1.8-12.33.amzn1.x86_64
–> Processing Dependency: libdb-4.7.so()(64bit) for package: pam_ccreds-10-4.9.amzn1.x86_64
–> Processing Dependency: libdb-4.7.so()(64bit) for package: python27-libs-2.7.18-2.139.amzn1.x86_64
–> Processing Dependency: libdb-4.7.so()(64bit) for package: cyrus-sasl-2.1.23-13.16.amzn1.x86_64
–> Processing Dependency: libdb-4.7.so()(64bit) for package: httpd24-2.4.46-1.90.amzn1.x86_64
–> Processing Dependency: libdb-4.7.so()(64bit) for package: rpm-libs-4.11.3-40.77.amzn1.x86_64
–> Processing Dependency: libdb-4.7.so()(64bit) for package: python26-2.6.9-2.92.amzn1.x86_64
–> Processing Dependency: libdb-4.7.so()(64bit) for package: apr-util-1.5.4-6.18.amzn1.x86_64
–> Processing Dependency: libdb-4.7.so()(64bit) for package: sendmail-8.14.4-9.14.amzn1.x86_64
–> Processing Dependency: libdb-4.7.so()(64bit) for package: rpm-python27-4.11.3-40.77.amzn1.x86_64
—> Package git-core.x86_64 0:2.18.4-2.71.amzn1 will be installed
—> Package git-core-doc.noarch 0:2.18.4-2.71.amzn1 will be installed
—> Package httpd24.x86_64 0:2.4.46-1.90.amzn1 will be an update
–> Processing Dependency: libdb-4.7.so()(64bit) for package: httpd24-2.4.46-1.90.amzn1.x86_64
—> Package httpd24-tools.x86_64 0:2.4.46-1.90.amzn1 will be an update
–> Processing Dependency: libdb-4.7.so()(64bit) for package: httpd24-tools-2.4.46-1.90.amzn1.x86_64
—> Package python26.x86_64 0:2.6.9-2.92.amzn1 will be an update
–> Processing Dependency: libdb-4.7.so()(64bit) for package: python26-2.6.9-2.92.amzn1.x86_64
—> Package python27-libs.x86_64 0:2.7.18-2.139.amzn1 will be an update
–> Processing Dependency: libdb-4.7.so()(64bit) for package: python27-libs-2.7.18-2.139.amzn1.x86_64
—> Package rpm.x86_64 0:4.11.3-40.77.amzn1 will be an update
–> Processing Dependency: /usr/bin/db_stat for package: rpm-4.11.3-40.77.amzn1.x86_64
–> Processing Dependency: libdb-4.7.so()(64bit) for package: rpm-4.11.3-40.77.amzn1.x86_64
—> Package rpm-build-libs.x86_64 0:4.11.3-40.77.amzn1 will be an update
–> Processing Dependency: libdb-4.7.so()(64bit) for package: rpm-build-libs-4.11.3-40.77.amzn1.x86_64
—> Package rpm-libs.x86_64 0:4.11.3-40.77.amzn1 will be an update
–> Processing Dependency: libdb-4.7.so()(64bit) for package: rpm-libs-4.11.3-40.77.amzn1.x86_64
—> Package rpm-python27.x86_64 0:4.11.3-40.77.amzn1 will be an update
–> Processing Dependency: libdb-4.7.so()(64bit) for package: rpm-python27-4.11.3-40.77.amzn1.x86_64
—> Package ruby20-libs.x86_64 0:2.0.0.648-1.33.amzn1 will be an update
–> Processing Dependency: libdb-4.7.so()(64bit) for package: ruby20-libs-2.0.0.648-1.33.amzn1.x86_64
–> Processing Dependency: /usr/bin/db_stat for package: rpm-4.11.3-40.77.amzn1.x86_64
–> Processing Conflict: libdb4-4.8.30-13.el7.x86_64 conflicts filesystem < 3
–> Finished Dependency Resolution
–> Running transaction check
—> Package db4.x86_64 0:4.7.25-18.11.amzn1 will be obsoleted
–> Processing Dependency: libdb-4.7.so()(64bit) for package: ruby20-libs-2.0.0.648-1.33.amzn1.x86_64
–> Processing Dependency: libdb-4.7.so()(64bit) for package: cyrus-sasl-lib-2.1.23-13.16.amzn1.x86_64
–> Processing Dependency: libdb-4.7.so()(64bit) for package: httpd24-tools-2.4.46-1.90.amzn1.x86_64
–> Processing Dependency: libdb-4.7.so()(64bit) for package: rpm-4.11.3-40.77.amzn1.x86_64
–> Processing Dependency: libdb-4.7.so()(64bit) for package: iproute-4.4.0-3.23.amzn1.x86_64
–> Processing Dependency: libdb-4.7.so()(64bit) for package: rpm-build-libs-4.11.3-40.77.amzn1.x86_64
–> Processing Dependency: libdb-4.7.so()(64bit) for package: pam-1.1.8-12.33.amzn1.x86_64
–> Processing Dependency: libdb-4.7.so()(64bit) for package: pam_ccreds-10-4.9.amzn1.x86_64
–> Processing Dependency: libdb-4.7.so()(64bit) for package: python27-libs-2.7.18-2.139.amzn1.x86_64
–> Processing Dependency: libdb-4.7.so()(64bit) for package: cyrus-sasl-2.1.23-13.16.amzn1.x86_64
–> Processing Dependency: libdb-4.7.so()(64bit) for package: httpd24-2.4.46-1.90.amzn1.x86_64
–> Processing Dependency: libdb-4.7.so()(64bit) for package: rpm-libs-4.11.3-40.77.amzn1.x86_64
–> Processing Dependency: libdb-4.7.so()(64bit) for package: python26-2.6.9-2.92.amzn1.x86_64
–> Processing Dependency: libdb-4.7.so()(64bit) for package: apr-util-1.5.4-6.18.amzn1.x86_64
–> Processing Dependency: libdb-4.7.so()(64bit) for package: sendmail-8.14.4-9.14.amzn1.x86_64
–> Processing Dependency: libdb-4.7.so()(64bit) for package: rpm-python27-4.11.3-40.77.amzn1.x86_64
—> Package httpd24.x86_64 0:2.4.46-1.90.amzn1 will be an update
–> Processing Dependency: libdb-4.7.so()(64bit) for package: httpd24-2.4.46-1.90.amzn1.x86_64
—> Package httpd24-tools.x86_64 0:2.4.46-1.90.amzn1 will be an update
–> Processing Dependency: libdb-4.7.so()(64bit) for package: httpd24-tools-2.4.46-1.90.amzn1.x86_64
—> Package kernel.x86_64 0:4.14.154-99.181.amzn1 will be erased
—> Package python26.x86_64 0:2.6.9-2.92.amzn1 will be an update
–> Processing Dependency: libdb-4.7.so()(64bit) for package: python26-2.6.9-2.92.amzn1.x86_64
—> Package python27-libs.x86_64 0:2.7.18-2.139.amzn1 will be an update
–> Processing Dependency: libdb-4.7.so()(64bit) for package: python27-libs-2.7.18-2.139.amzn1.x86_64
—> Package rpm.x86_64 0:4.11.3-40.77.amzn1 will be an update
–> Processing Dependency: /usr/bin/db_stat for package: rpm-4.11.3-40.77.amzn1.x86_64
–> Processing Dependency: libdb-4.7.so()(64bit) for package: rpm-4.11.3-40.77.amzn1.x86_64
—> Package rpm-build-libs.x86_64 0:4.11.3-40.77.amzn1 will be an update
–> Processing Dependency: libdb-4.7.so()(64bit) for package: rpm-build-libs-4.11.3-40.77.amzn1.x86_64
—> Package rpm-libs.x86_64 0:4.11.3-40.77.amzn1 will be an update
–> Processing Dependency: libdb-4.7.so()(64bit) for package: rpm-libs-4.11.3-40.77.amzn1.x86_64
—> Package rpm-python27.x86_64 0:4.11.3-40.77.amzn1 will be an update
–> Processing Dependency: libdb-4.7.so()(64bit) for package: rpm-python27-4.11.3-40.77.amzn1.x86_64
—> Package ruby20-libs.x86_64 0:2.0.0.648-1.33.amzn1 will be an update
–> Processing Dependency: libdb-4.7.so()(64bit) for package: ruby20-libs-2.0.0.648-1.33.amzn1.x86_64
–> Processing Dependency: /usr/bin/db_stat for package: rpm-4.11.3-40.77.amzn1.x86_64
–> Processing Dependency: /usr/bin/db_stat for package: rpm-4.11.3-40.77.amzn1.x86_64
–> Processing Conflict: libdb4-4.8.30-13.el7.x86_64 conflicts filesystem < 3
–> Finished Dependency Resolution
Error: Package: ruby20-libs-2.0.0.648-1.33.amzn1.x86_64 (amzn-updates)
Requires: libdb-4.7.so()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
libdb-4.7.so()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~libdb-4.8.so()(64bit)
Error: Package: rpm-python27-4.11.3-40.77.amzn1.x86_64 (amzn-updates)
Requires: libdb-4.7.so()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
libdb-4.7.so()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~libdb-4.8.so()(64bit)
Error: Package: pam-1.1.8-12.33.amzn1.x86_64 (installed)
Requires: libdb-4.7.so()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
libdb-4.7.so()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~libdb-4.8.so()(64bit)
Error: Package: httpd24-tools-2.4.46-1.90.amzn1.x86_64 (amzn-updates)
Requires: libdb-4.7.so()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
libdb-4.7.so()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~libdb-4.8.so()(64bit)
Error: Package: rpm-build-libs-4.11.3-40.77.amzn1.x86_64 (amzn-updates)
Requires: libdb-4.7.so()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
libdb-4.7.so()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~libdb-4.8.so()(64bit)
Error: Package: iproute-4.4.0-3.23.amzn1.x86_64 (installed)
Requires: libdb-4.7.so()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
libdb-4.7.so()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~libdb-4.8.so()(64bit)
Error: Package: rpm-4.11.3-40.77.amzn1.x86_64 (amzn-updates)
Requires: libdb-4.7.so()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
libdb-4.7.so()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~libdb-4.8.so()(64bit)
Error: Package: cyrus-sasl-lib-2.1.23-13.16.amzn1.x86_64 (installed)
Requires: libdb-4.7.so()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
libdb-4.7.so()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~libdb-4.8.so()(64bit)
Error: Package: rpm-4.11.3-40.77.amzn1.x86_64 (amzn-updates)
Requires: /usr/bin/db_stat
Removing: db4-utils-4.7.25-18.11.amzn1.x86_64 (installed)
Not found
Obsoleted By: libdb4-utils-4.8.30-13.el7.x86_64 (epel)
Not found
Error: Package: python26-2.6.9-2.92.amzn1.x86_64 (amzn-updates)
Requires: libdb-4.7.so()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
libdb-4.7.so()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~libdb-4.8.so()(64bit)
Error: Package: rpm-libs-4.11.3-40.77.amzn1.x86_64 (amzn-updates)
Requires: libdb-4.7.so()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
libdb-4.7.so()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~libdb-4.8.so()(64bit)
Error: Package: sendmail-8.14.4-9.14.amzn1.x86_64 (installed)
Requires: libdb-4.7.so()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
libdb-4.7.so()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~libdb-4.8.so()(64bit)
Error: libdb4 conflicts with filesystem-2.4.30-3.8.amzn1.x86_64
Error: Package: python27-libs-2.7.18-2.139.amzn1.x86_64 (amzn-updates)
Requires: libdb-4.7.so()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
libdb-4.7.so()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~libdb-4.8.so()(64bit)
Error: Package: pam_ccreds-10-4.9.amzn1.x86_64 (installed)
Requires: libdb-4.7.so()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
libdb-4.7.so()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~libdb-4.8.so()(64bit)
Error: Package: httpd24-2.4.46-1.90.amzn1.x86_64 (amzn-updates)
Requires: libdb-4.7.so()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
libdb-4.7.so()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~libdb-4.8.so()(64bit)
Error: Package: cyrus-sasl-2.1.23-13.16.amzn1.x86_64 (installed)
Requires: libdb-4.7.so()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
libdb-4.7.so()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~libdb-4.8.so()(64bit)
Error: Package: apr-util-1.5.4-6.18.amzn1.x86_64 (@amzn-main)
Requires: libdb-4.7.so()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
libdb-4.7.so()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~libdb-4.8.so()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest