Issues Updating aws ec2 Instance





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







2















Whenever I try to update my EC2 instance, I get the following error:



Loaded plugins: priorities, update-motd, upgrade-helper
amzn-main | 2.1 kB 00:00:00
amzn-updates | 2.5 kB 00:00:00
817 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package aws-cfn-bootstrap.noarch 0:1.4-30.21.amzn1 will be updated
---> Package aws-cfn-bootstrap.noarch 0:1.4-31.22.amzn1 will be an update
---> Package curl.x86_64 0:7.53.1-16.85.amzn1 will be updated
---> Package curl.x86_64 0:7.53.1-16.86.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: rpm-libs-4.11.3-21.75.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: rpm-build-libs-4.11.3-21.75.amzn1.x86_64
--> Processing Dependency: libdb-4.7.so()(64bit) for package: ruby20-libs-2.0.0.648-1.31.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: python27-libs-2.7.15-1.124.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: httpd24-tools-2.4.37-1.83.amzn1.x86_64
--> Processing Dependency: libdb-4.7.so()(64bit) for package: rpm-4.11.3-21.75.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: httpd24-2.4.37-1.83.amzn1.x86_64
--> Processing Dependency: libdb-4.7.so()(64bit) for package: rpm-python27-4.11.3-21.75.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: 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
---> Package db4-utils.x86_64 0:4.7.25-18.11.amzn1 will be obsoleted
---> Package kernel.x86_64 0:4.14.94-73.73.amzn1 will be installed
---> Package kernel-tools.x86_64 0:4.14.88-72.73.amzn1 will be updated
---> Package kernel-tools.x86_64 0:4.14.94-73.73.amzn1 will be an update
---> Package krb5-libs.x86_64 0:1.15.1-19.43.amzn1 will be updated
---> Package krb5-libs.x86_64 0:1.15.1-34.44.amzn1 will be an update
---> Package libcurl.x86_64 0:7.53.1-16.85.amzn1 will be updated
---> Package libcurl.x86_64 0:7.53.1-16.86.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
--> Processing Dependency: /usr/bin/db_stat for package: rpm-4.11.3-21.75.amzn1.x86_64
--> Processing Conflict: libdb4-4.8.30-13.el7.x86_64 conflicts filesystem < 3
--> Finished Dependency Resolution
Error: Package: rpm-build-libs-4.11.3-21.75.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-21.75.amzn1.x86_64 (installed) [45/1125]
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: 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: rpm-4.11.3-21.75.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: 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: httpd24-2.4.37-1.83.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: python27-libs-2.7.15-1.124.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) [2/1125]
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.37-1.83.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-21.75.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: 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: ruby20-libs-2.0.0.648-1.31.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-python27-4.11.3-21.75.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: 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


I tried using 'sudo yum clean all', but that didn't seem to fix the issue.










share|improve this question





























    2















    Whenever I try to update my EC2 instance, I get the following error:



    Loaded plugins: priorities, update-motd, upgrade-helper
    amzn-main | 2.1 kB 00:00:00
    amzn-updates | 2.5 kB 00:00:00
    817 packages excluded due to repository priority protections
    Resolving Dependencies
    --> Running transaction check
    ---> Package aws-cfn-bootstrap.noarch 0:1.4-30.21.amzn1 will be updated
    ---> Package aws-cfn-bootstrap.noarch 0:1.4-31.22.amzn1 will be an update
    ---> Package curl.x86_64 0:7.53.1-16.85.amzn1 will be updated
    ---> Package curl.x86_64 0:7.53.1-16.86.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: rpm-libs-4.11.3-21.75.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: rpm-build-libs-4.11.3-21.75.amzn1.x86_64
    --> Processing Dependency: libdb-4.7.so()(64bit) for package: ruby20-libs-2.0.0.648-1.31.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: python27-libs-2.7.15-1.124.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: httpd24-tools-2.4.37-1.83.amzn1.x86_64
    --> Processing Dependency: libdb-4.7.so()(64bit) for package: rpm-4.11.3-21.75.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: httpd24-2.4.37-1.83.amzn1.x86_64
    --> Processing Dependency: libdb-4.7.so()(64bit) for package: rpm-python27-4.11.3-21.75.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: 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
    ---> Package db4-utils.x86_64 0:4.7.25-18.11.amzn1 will be obsoleted
    ---> Package kernel.x86_64 0:4.14.94-73.73.amzn1 will be installed
    ---> Package kernel-tools.x86_64 0:4.14.88-72.73.amzn1 will be updated
    ---> Package kernel-tools.x86_64 0:4.14.94-73.73.amzn1 will be an update
    ---> Package krb5-libs.x86_64 0:1.15.1-19.43.amzn1 will be updated
    ---> Package krb5-libs.x86_64 0:1.15.1-34.44.amzn1 will be an update
    ---> Package libcurl.x86_64 0:7.53.1-16.85.amzn1 will be updated
    ---> Package libcurl.x86_64 0:7.53.1-16.86.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
    --> Processing Dependency: /usr/bin/db_stat for package: rpm-4.11.3-21.75.amzn1.x86_64
    --> Processing Conflict: libdb4-4.8.30-13.el7.x86_64 conflicts filesystem < 3
    --> Finished Dependency Resolution
    Error: Package: rpm-build-libs-4.11.3-21.75.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-21.75.amzn1.x86_64 (installed) [45/1125]
    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: 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: rpm-4.11.3-21.75.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: 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: httpd24-2.4.37-1.83.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: python27-libs-2.7.15-1.124.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) [2/1125]
    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.37-1.83.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-21.75.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: 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: ruby20-libs-2.0.0.648-1.31.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-python27-4.11.3-21.75.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: 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


    I tried using 'sudo yum clean all', but that didn't seem to fix the issue.










    share|improve this question

























      2












      2








      2








      Whenever I try to update my EC2 instance, I get the following error:



      Loaded plugins: priorities, update-motd, upgrade-helper
      amzn-main | 2.1 kB 00:00:00
      amzn-updates | 2.5 kB 00:00:00
      817 packages excluded due to repository priority protections
      Resolving Dependencies
      --> Running transaction check
      ---> Package aws-cfn-bootstrap.noarch 0:1.4-30.21.amzn1 will be updated
      ---> Package aws-cfn-bootstrap.noarch 0:1.4-31.22.amzn1 will be an update
      ---> Package curl.x86_64 0:7.53.1-16.85.amzn1 will be updated
      ---> Package curl.x86_64 0:7.53.1-16.86.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: rpm-libs-4.11.3-21.75.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: rpm-build-libs-4.11.3-21.75.amzn1.x86_64
      --> Processing Dependency: libdb-4.7.so()(64bit) for package: ruby20-libs-2.0.0.648-1.31.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: python27-libs-2.7.15-1.124.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: httpd24-tools-2.4.37-1.83.amzn1.x86_64
      --> Processing Dependency: libdb-4.7.so()(64bit) for package: rpm-4.11.3-21.75.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: httpd24-2.4.37-1.83.amzn1.x86_64
      --> Processing Dependency: libdb-4.7.so()(64bit) for package: rpm-python27-4.11.3-21.75.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: 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
      ---> Package db4-utils.x86_64 0:4.7.25-18.11.amzn1 will be obsoleted
      ---> Package kernel.x86_64 0:4.14.94-73.73.amzn1 will be installed
      ---> Package kernel-tools.x86_64 0:4.14.88-72.73.amzn1 will be updated
      ---> Package kernel-tools.x86_64 0:4.14.94-73.73.amzn1 will be an update
      ---> Package krb5-libs.x86_64 0:1.15.1-19.43.amzn1 will be updated
      ---> Package krb5-libs.x86_64 0:1.15.1-34.44.amzn1 will be an update
      ---> Package libcurl.x86_64 0:7.53.1-16.85.amzn1 will be updated
      ---> Package libcurl.x86_64 0:7.53.1-16.86.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
      --> Processing Dependency: /usr/bin/db_stat for package: rpm-4.11.3-21.75.amzn1.x86_64
      --> Processing Conflict: libdb4-4.8.30-13.el7.x86_64 conflicts filesystem < 3
      --> Finished Dependency Resolution
      Error: Package: rpm-build-libs-4.11.3-21.75.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-21.75.amzn1.x86_64 (installed) [45/1125]
      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: 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: rpm-4.11.3-21.75.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: 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: httpd24-2.4.37-1.83.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: python27-libs-2.7.15-1.124.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) [2/1125]
      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.37-1.83.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-21.75.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: 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: ruby20-libs-2.0.0.648-1.31.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-python27-4.11.3-21.75.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: 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


      I tried using 'sudo yum clean all', but that didn't seem to fix the issue.










      share|improve this question














      Whenever I try to update my EC2 instance, I get the following error:



      Loaded plugins: priorities, update-motd, upgrade-helper
      amzn-main | 2.1 kB 00:00:00
      amzn-updates | 2.5 kB 00:00:00
      817 packages excluded due to repository priority protections
      Resolving Dependencies
      --> Running transaction check
      ---> Package aws-cfn-bootstrap.noarch 0:1.4-30.21.amzn1 will be updated
      ---> Package aws-cfn-bootstrap.noarch 0:1.4-31.22.amzn1 will be an update
      ---> Package curl.x86_64 0:7.53.1-16.85.amzn1 will be updated
      ---> Package curl.x86_64 0:7.53.1-16.86.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: rpm-libs-4.11.3-21.75.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: rpm-build-libs-4.11.3-21.75.amzn1.x86_64
      --> Processing Dependency: libdb-4.7.so()(64bit) for package: ruby20-libs-2.0.0.648-1.31.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: python27-libs-2.7.15-1.124.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: httpd24-tools-2.4.37-1.83.amzn1.x86_64
      --> Processing Dependency: libdb-4.7.so()(64bit) for package: rpm-4.11.3-21.75.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: httpd24-2.4.37-1.83.amzn1.x86_64
      --> Processing Dependency: libdb-4.7.so()(64bit) for package: rpm-python27-4.11.3-21.75.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: 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
      ---> Package db4-utils.x86_64 0:4.7.25-18.11.amzn1 will be obsoleted
      ---> Package kernel.x86_64 0:4.14.94-73.73.amzn1 will be installed
      ---> Package kernel-tools.x86_64 0:4.14.88-72.73.amzn1 will be updated
      ---> Package kernel-tools.x86_64 0:4.14.94-73.73.amzn1 will be an update
      ---> Package krb5-libs.x86_64 0:1.15.1-19.43.amzn1 will be updated
      ---> Package krb5-libs.x86_64 0:1.15.1-34.44.amzn1 will be an update
      ---> Package libcurl.x86_64 0:7.53.1-16.85.amzn1 will be updated
      ---> Package libcurl.x86_64 0:7.53.1-16.86.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
      --> Processing Dependency: /usr/bin/db_stat for package: rpm-4.11.3-21.75.amzn1.x86_64
      --> Processing Conflict: libdb4-4.8.30-13.el7.x86_64 conflicts filesystem < 3
      --> Finished Dependency Resolution
      Error: Package: rpm-build-libs-4.11.3-21.75.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-21.75.amzn1.x86_64 (installed) [45/1125]
      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: 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: rpm-4.11.3-21.75.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: 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: httpd24-2.4.37-1.83.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: python27-libs-2.7.15-1.124.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) [2/1125]
      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.37-1.83.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-21.75.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: 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: ruby20-libs-2.0.0.648-1.31.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-python27-4.11.3-21.75.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: 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


      I tried using 'sudo yum clean all', but that didn't seem to fix the issue.







      centos amazon-web-services amazon-ec2






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 29 at 22:08









      user991654user991654

      111




      111






















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1399844%2fissues-updating-aws-ec2-instance%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1399844%2fissues-updating-aws-ec2-instance%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          "Incorrect syntax near the keyword 'ON'. (on update cascade, on delete cascade,)

          Alcedinidae

          Origin of the phrase “under your belt”?