亚马逊上的 Certbot 1.11 更新 linux
Certbot 1.11 update on Amazon linux
我想在亚马逊上安装最近升级的 certbot 版本 Linux。
Certbot 已更新其未随 Amazon 升级的发行版 Linux AMI 2016.03.3.x86_64 HVM GP2.
我尝试使用 yum update -y
更新 Linux 时出现以下错误
Error: Package: python26-2.6.9-2.92.amzn1.x86_64 (@amzn-updates)
Requires: [libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
[libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~[libdb-4.8.so](http://libdb-4.8.so/)()(64bit)
Error: Package: iproute-4.4.0-3.23.amzn1.x86_64 (installed)
Requires: [libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
[libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~[libdb-4.8.so](http://libdb-4.8.so/)()(64bit)
Error: libdb4 conflicts with filesystem-2.4.30-3.8.amzn1.x86_64
Error: Package: rpm-4.11.3-40.78.amzn1.x86_64 (@amzn-updates)
Requires: [libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
[libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~[libdb-4.8.so](http://libdb-4.8.so/)()(64bit)
Error: Package: rpm-python27-4.11.3-40.78.amzn1.x86_64 (@amzn-updates)
Requires: [libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
[libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~[libdb-4.8.so](http://libdb-4.8.so/)()(64bit)
Error: Package: pam-1.1.8-12.33.amzn1.x86_64 (installed)
Requires: [libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
[libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~[libdb-4.8.so](http://libdb-4.8.so/)()(64bit)
Error: Package: rpm-libs-4.11.3-40.78.amzn1.x86_64 (@amzn-updates)
Requires: [libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
[libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~[libdb-4.8.so](http://libdb-4.8.so/)()(64bit)
Error: Package: rpm-build-4.11.3-40.78.amzn1.x86_64 (@amzn-updates)
Requires: [libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
[libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~[libdb-4.8.so](http://libdb-4.8.so/)()(64bit)
Error: Package: ruby20-libs-2.0.0.648-2.39.amzn1.x86_64 (@amzn-updates)
Requires: [libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
[libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~[libdb-4.8.so](http://libdb-4.8.so/)()(64bit)
Error: Package: 2:postfix-2.6.6-2.15.amzn1.x86_64 (@amzn-main)
Requires: [libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
[libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~[libdb-4.8.so](http://libdb-4.8.so/)()(64bit)
Error: Package: cyrus-sasl-lib-2.1.23-13.16.amzn1.x86_64 (installed)
Requires: [libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
[libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~[libdb-4.8.so](http://libdb-4.8.so/)()(64bit)
Error: Package: rpm-4.11.3-40.78.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: sendmail-8.14.4-9.14.amzn1.x86_64 (@amzn-main)
Requires: [libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
[libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~[libdb-4.8.so](http://libdb-4.8.so/)()(64bit)
Error: Package: httpd24-tools-2.4.46-1.90.amzn1.x86_64 (@amzn-updates)
Requires: [libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
[libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~[libdb-4.8.so](http://libdb-4.8.so/)()(64bit)
Error: Package: pam_ccreds-10-4.9.amzn1.x86_64 (installed)
Requires: [libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
[libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~[libdb-4.8.so](http://libdb-4.8.so/)()(64bit)
Error: Package: python27-libs-2.7.18-2.140.amzn1.x86_64 (@amzn-updates)
Requires: [libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
[libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~[libdb-4.8.so](http://libdb-4.8.so/)()(64bit)
Error: Package: cyrus-sasl-2.1.23-13.16.amzn1.x86_64 (installed)
Requires: [libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
[libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~[libdb-4.8.so](http://libdb-4.8.so/)()(64bit)
Error: Package: apr-util-1.5.4-6.18.amzn1.x86_64 (@amzn-updates)
Requires: [libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
[libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~[libdb-4.8.so](http://libdb-4.8.so/)()(64bit)
Error: Package: httpd24-2.4.46-1.90.amzn1.x86_64 (@amzn-updates)
Requires: [libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
[libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~[libdb-4.8.so](http://libdb-4.8.so/)()(64bit)
Error: Package: rpm-build-libs-4.11.3-40.78.amzn1.x86_64 (@amzn-updates)
Requires: [libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
[libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~[libdb-4.8.so](http://libdb-4.8.so/)()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
然后我得到了here
的帮助
然后我尝试安装 snapd,但在安装 snapd 时出现以下错误:
Error: Package: snapd-selinux-2.49-2.el7.noarch (epel-testing)
Requires: selinux-policy-base >= 3.13.1-268.el7_9.2
Available: selinux-policy-minimum-3.10.0-98.26.amzn1.noarch (amzn-main)
selinux-policy-base = 3.10.0-98.26.amzn1
Available: selinux-policy-mls-3.10.0-98.26.amzn1.noarch (amzn-main)
selinux-policy-base = 3.10.0-98.26.amzn1
Available: selinux-policy-targeted-3.10.0-98.26.amzn1.noarch (amzn-main)
selinux-policy-base = 3.10.0-98.26.amzn1
Error: Package: snap-confine-2.49-2.el7.x86_64 (epel-testing)
Requires: libudev.so.1()(64bit)
Error: Package: snap-confine-2.49-2.el7.x86_64 (epel-testing)
Requires: libudev.so.1(LIBUDEV_183)(64bit)
Error: Package: snapd-2.49-2.el7.x86_64 (epel-testing)
Requires: systemd
我提到了 here
是否需要升级亚马逊Linux?
是的,我必须将 AWS Linux AMI 2016 迁移到 AWS AMI 2 以升级 certbot 版本。
我遵循了以下步骤:
sudo amazon-linux-extras install epel -y
sudo yum-config-manager --enable epel
sudo yum update -y
sudo yum install -y certbot python2-certbot-nginx
sudo certbot -v
已安装 certbot 1.11。
我想在亚马逊上安装最近升级的 certbot 版本 Linux。
Certbot 已更新其未随 Amazon 升级的发行版 Linux AMI 2016.03.3.x86_64 HVM GP2.
我尝试使用 yum update -y
Error: Package: python26-2.6.9-2.92.amzn1.x86_64 (@amzn-updates)
Requires: [libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
[libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~[libdb-4.8.so](http://libdb-4.8.so/)()(64bit)
Error: Package: iproute-4.4.0-3.23.amzn1.x86_64 (installed)
Requires: [libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
[libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~[libdb-4.8.so](http://libdb-4.8.so/)()(64bit)
Error: libdb4 conflicts with filesystem-2.4.30-3.8.amzn1.x86_64
Error: Package: rpm-4.11.3-40.78.amzn1.x86_64 (@amzn-updates)
Requires: [libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
[libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~[libdb-4.8.so](http://libdb-4.8.so/)()(64bit)
Error: Package: rpm-python27-4.11.3-40.78.amzn1.x86_64 (@amzn-updates)
Requires: [libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
[libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~[libdb-4.8.so](http://libdb-4.8.so/)()(64bit)
Error: Package: pam-1.1.8-12.33.amzn1.x86_64 (installed)
Requires: [libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
[libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~[libdb-4.8.so](http://libdb-4.8.so/)()(64bit)
Error: Package: rpm-libs-4.11.3-40.78.amzn1.x86_64 (@amzn-updates)
Requires: [libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
[libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~[libdb-4.8.so](http://libdb-4.8.so/)()(64bit)
Error: Package: rpm-build-4.11.3-40.78.amzn1.x86_64 (@amzn-updates)
Requires: [libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
[libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~[libdb-4.8.so](http://libdb-4.8.so/)()(64bit)
Error: Package: ruby20-libs-2.0.0.648-2.39.amzn1.x86_64 (@amzn-updates)
Requires: [libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
[libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~[libdb-4.8.so](http://libdb-4.8.so/)()(64bit)
Error: Package: 2:postfix-2.6.6-2.15.amzn1.x86_64 (@amzn-main)
Requires: [libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
[libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~[libdb-4.8.so](http://libdb-4.8.so/)()(64bit)
Error: Package: cyrus-sasl-lib-2.1.23-13.16.amzn1.x86_64 (installed)
Requires: [libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
[libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~[libdb-4.8.so](http://libdb-4.8.so/)()(64bit)
Error: Package: rpm-4.11.3-40.78.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: sendmail-8.14.4-9.14.amzn1.x86_64 (@amzn-main)
Requires: [libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
[libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~[libdb-4.8.so](http://libdb-4.8.so/)()(64bit)
Error: Package: httpd24-tools-2.4.46-1.90.amzn1.x86_64 (@amzn-updates)
Requires: [libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
[libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~[libdb-4.8.so](http://libdb-4.8.so/)()(64bit)
Error: Package: pam_ccreds-10-4.9.amzn1.x86_64 (installed)
Requires: [libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
[libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~[libdb-4.8.so](http://libdb-4.8.so/)()(64bit)
Error: Package: python27-libs-2.7.18-2.140.amzn1.x86_64 (@amzn-updates)
Requires: [libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
[libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~[libdb-4.8.so](http://libdb-4.8.so/)()(64bit)
Error: Package: cyrus-sasl-2.1.23-13.16.amzn1.x86_64 (installed)
Requires: [libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
[libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~[libdb-4.8.so](http://libdb-4.8.so/)()(64bit)
Error: Package: apr-util-1.5.4-6.18.amzn1.x86_64 (@amzn-updates)
Requires: [libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
[libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~[libdb-4.8.so](http://libdb-4.8.so/)()(64bit)
Error: Package: httpd24-2.4.46-1.90.amzn1.x86_64 (@amzn-updates)
Requires: [libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
[libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~[libdb-4.8.so](http://libdb-4.8.so/)()(64bit)
Error: Package: rpm-build-libs-4.11.3-40.78.amzn1.x86_64 (@amzn-updates)
Requires: [libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Removing: db4-4.7.25-18.11.amzn1.x86_64 (installed)
[libdb-4.7.so](http://libdb-4.7.so/)()(64bit)
Obsoleted By: libdb4-4.8.30-13.el7.x86_64 (epel)
~[libdb-4.8.so](http://libdb-4.8.so/)()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
然后我得到了here
的帮助然后我尝试安装 snapd,但在安装 snapd 时出现以下错误:
Error: Package: snapd-selinux-2.49-2.el7.noarch (epel-testing)
Requires: selinux-policy-base >= 3.13.1-268.el7_9.2
Available: selinux-policy-minimum-3.10.0-98.26.amzn1.noarch (amzn-main)
selinux-policy-base = 3.10.0-98.26.amzn1
Available: selinux-policy-mls-3.10.0-98.26.amzn1.noarch (amzn-main)
selinux-policy-base = 3.10.0-98.26.amzn1
Available: selinux-policy-targeted-3.10.0-98.26.amzn1.noarch (amzn-main)
selinux-policy-base = 3.10.0-98.26.amzn1
Error: Package: snap-confine-2.49-2.el7.x86_64 (epel-testing)
Requires: libudev.so.1()(64bit)
Error: Package: snap-confine-2.49-2.el7.x86_64 (epel-testing)
Requires: libudev.so.1(LIBUDEV_183)(64bit)
Error: Package: snapd-2.49-2.el7.x86_64 (epel-testing)
Requires: systemd
我提到了 here
是否需要升级亚马逊Linux?
是的,我必须将 AWS Linux AMI 2016 迁移到 AWS AMI 2 以升级 certbot 版本。
我遵循了以下步骤:
sudo amazon-linux-extras install epel -y
sudo yum-config-manager --enable epel
sudo yum update -y
sudo yum install -y certbot python2-certbot-nginx
sudo certbot -v
已安装 certbot 1.11。