title: Multiple dependency issues during RedHat's yum update
body: <p>As soon as I login I tried <code>sudo yum update</code> and it shows following errors. How do I solve this updates issue?</p>
  
  <pre><code>[ec2-user@ip-172-31-16-247 ~]$ sudo yum update
  </code></pre>
  
  <blockquote>
    <p>Loaded plugins: priorities, update-motd, upgrade-helper<br>
    amzn-main/latest&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;
    | 2.1 kB&emsp; 00:00<br>&emsp; 
    amzn-updates/latest&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;
    | 2.3 kB&emsp; 00:00<br>&emsp;  737 packages excluded due to
    repository priority protections<br> Resolving Dependencies<br>
    --> Running transaction check<br>
    ---> Package aws-cfn-bootstrap.noarch 0:1.4-11.6.amzn1 will be updated<br>
    ---> Package aws-cfn-bootstrap.noarch 0:1.4-12.7.amzn1 will be an update<br>
    ---> Package aws-cli.noarch 0:1.10.46-1.40.amzn1 will be updated<br>
    ---> Package aws-cli.noarch 0:1.10.56-1.41.amzn1 will be an update<br>
    ---> Package bind-libs.x86_64 32:9.8.2-0.37.rc1.45.amzn1 will be updated<br>
    ---> Package bind-libs.x86_64 32:9.8.2-0.37.rc1.47.amzn1 will be an update<br>
    ---> Package bind-utils.x86_64 32:9.8.2-0.37.rc1.45.amzn1 will be updated<br>
    ---> Package bind-utils.x86_64 32:9.8.2-0.37.rc1.47.amzn1 will be an update<br>
    ---> Package curl.x86_64 0:7.40.0-8.58.amzn1 will be updated<br>
    ---> Package curl.x86_64 0:7.40.0-8.59.amzn1 will be an update<br>
    ---> Package db4.x86_64 0:4.7.25-18.11.amzn1 will be obsoleted<br>
    --> Processing Dependency: libdb-4.7.so()(64bit) for package: apr-util-
    1.4.1-4.17.amzn1.x86_64<br>
    --> Processing Dependency: libdb-4.7.so()(64bit) for package: python27- libs-2.7.12-2.120.amzn1.x86_64<br>
    --> Processing Dependency: libdb-4.7.so()(64bit) for package: cyrus-sasl- lib-2.1.23-13.16.amzn1.x86_64<br>
    --> Processing Dependency: libdb-4.7.so()(64bit) for package: rpm-4.11.2-
    2.73.amzn1.x86_64<br>
    --> Processing Dependency: libdb-4.7.so()(64bit) for package: ruby20-libs-
    2.0.0.648-1.29.amzn1.x86_64<br>
    --> Processing Dependency: libdb-4.7.so()(64bit) for package: rpm-build-
    4.11.2-2.73.amzn1.x86_64<br>
    --> Processing Dependency: libdb-4.7.so()(64bit) for package: iproute-
    4.4.0-3.23.amzn1.x86_64<br>
    --> Processing Dependency: libdb-4.7.so()(64bit) for package: subversion- libs-1.9.4-2.55.amzn1.x86_64<br>
    --> Processing Dependency: libdb-4.7.so()(64bit) for package: pam-1.1.8-
    12.33.amzn1.x86_64<br>
    --> Processing Dependency: libdb-4.7.so()(64bit) for package: subversion-
    1.9.4-2.55.amzn1.x86_64<br>
    --> Processing Dependency: libdb-4.7.so()(64bit) for package: sendmail-
    8.14.4-8.12.amzn1.x86_64<br>
    --> Processing Dependency: libdb-4.7.so()(64bit) for package: pam_ccreds- 10-4.9.amzn1.x86_64<br>
    --> Processing Dependency: libdb-4.7.so()(64bit) for package: libserf-
    1.3.7-1.7.amzn1.x86_64<br>
    --> Processing Dependency: libdb-4.7.so()(64bit) for package: rpm-libs-
    4.11.2-2.73.amzn1.x86_64<br>
    --> Processing Dependency: libdb-4.7.so()(64bit) for package: cyrus-sasl-
    2.1.23-13.16.amzn1.x86_64<br>
    --> Processing Dependency: libdb-4.7.so()(64bit) for package: rpm-python27-
    4.11.2-2.73.amzn1.x86_64<br>
    --> Processing Dependency: libdb-4.7.so()(64bit) for package: python26-
    2.6.9-2.88.amzn1.x86_64<br>
    --> Processing Dependency: libdb-4.7.so()(64bit) for package: rpm-build- libs-4.11.2-2.73.amzn1.x86_64<br>
    ---> Package db4-utils.x86_64 0:4.7.25-18.11.amzn1 will be obsoleted<br>
    ---> Package dracut.noarch 0:004-336.28.amzn1 will be updated<br>
    ---> Package dracut.noarch 0:004-409.31.amzn1 will be an update</p>
    
    <p>amzn-updates/latest/filelists_db&emsp;&emsp;&emsp;&emsp;&emsp;&emsp; |
    3.3 MB&emsp; 00:00<br>&emsp;  epel/x86_64/filelists_db&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;
    | 7.2 MB&emsp; 00:00&emsp; <br>
    ---> Package kernel.x86_64 0:4.4.19-29.55.amzn1 will be installed<br>
    ---> Package kernel-devel.x86_64 0:4.4.19-29.55.amzn1 will be installed<br>
    ---> Package kernel-headers.x86_64 0:4.4.15-25.57.amzn1 will be updated<br>
    ---> Package kernel-headers.x86_64 0:4.4.19-29.55.amzn1 will be an update<br>
    ---> Package kernel-tools.x86_64 0:4.4.15-25.57.amzn1 will be updated<br>
    ---> Package kernel-tools.x86_64 0:4.4.19-29.55.amzn1 will be an update<br>
    ---> Package libcurl.x86_64 0:7.40.0-8.58.amzn1 will be updated<br>
    ---> Package libcurl.x86_64 0:7.40.0-8.59.amzn1 will be an update<br>
    ---> Package libdb4.x86_64 0:4.8.30-13.el7 will be obsoleting<br>
    ---> Package libdb4-utils.x86_64 0:4.8.30-13.el7 will be obsoleting<br>
    ---> Package libevent.x86_64 0:2.0.18-1.11.amzn1 will be updated<br>
    ---> Package libevent.x86_64 0:2.0.21-4.19.amzn1 will be an update<br>
    ---> Package libgcrypt.x86_64 0:1.5.3-12.18.amzn1 will be updated<br>
    ---> Package libgcrypt.x86_64 0:1.5.3-12.19.amzn1 will be an update<br>
    ---> Package mysql-config.x86_64 0:5.5.46-1.10.amzn1 will be updated<br>
    ---> Package mysql-config.x86_64 0:5.5.51-1.11.amzn1 will be an update<br>
    ---> Package python26.x86_64 0:2.6.9-2.86.amzn1 will be updated<br>
    ---> Package python26.x86_64 0:2.6.9-2.88.amzn1 will be an update<br>
    --> Processing Dependency: libdb-4.7.so()(64bit) for package: python26-
    2.6.9-2.88.amzn1.x86_64<br>
    ---> Package python26-libs.x86_64 0:2.6.9-2.86.amzn1 will be updated<br>
    ---> Package python26-libs.x86_64 0:2.6.9-2.88.amzn1 will be an update<br>
    ---> Package python27.x86_64 0:2.7.10-4.122.amzn1 will be updated<br>
    ---> Package python27.x86_64 0:2.7.12-2.120.amzn1 will be an update<br>
    ---> Package python27-boto.noarch 0:2.39.0-1.0.amzn1 will be updated<br>
    ---> Package python27-boto.noarch 0:2.42.0-1.1.amzn1 will be an update<br>
    ---> Package python27-botocore.noarch 0:1.4.36-1.56.amzn1 will be updated<br>
    ---> Package python27-botocore.noarch 0:1.4.46-1.58.amzn1 will be an update <br>
    ---> Package python27-devel.x86_64 0:2.7.10-4.122.amzn1 will be updated<br>
    ---> Package python27-devel.x86_64 0:2.7.12-2.120.amzn1 will be an update<br>
    ---> Package python27-libs.x86_64 0:2.7.10-4.122.amzn1 will be updated<br>
    ---> Package python27-libs.x86_64 0:2.7.12-2.120.amzn1 will be an update<br>
    --> Processing Dependency: libdb-4.7.so()(64bit) for package: python27- libs-2.7.12-2.120.amzn1.x86_64<br>
    --> Processing Dependency: /usr/bin/db_stat for package: rpm-4.11.2-
    2.73.amzn1.x86_64<br>
    --> Processing Conflict: libdb4-4.8.30-13.el7.x86_64 conflicts filesystem &lt; </p>
    
    <p>3<br>
    --> Finished Dependency Resolution</p>
    
    <p>Error: Package: python26-2.6.9-2.88.amzn1.x86_64 (amzn-updates)<br>
    &emsp;&emsp;&ensp; Requires: libdb-4.7.so()(64bit)<br>
    &emsp;&emsp;&ensp; Removing: db4-4.7.25-18.11.amzn1.x86_64
    (installed)<br> &emsp;&emsp;&emsp;&ensp; libdb-4.7.so()(64bit)<br>
    &emsp;&emsp;&ensp; Obsoleted By: libdb4-4.8.30-13.el7.x86_64
    (epel)<br> &emsp;&emsp;&emsp;  ~libdb-4.8.so()(64bit)</p>
    
    <p>Error: Package: rpm-4.11.2-2.73.amzn1.x86_64 (installed)<br>
    &emsp;&emsp;&ensp; Requires: /usr/bin/db_stat<br> &emsp;&emsp;&ensp;
    Removing: db4-utils-4.7.25-18.11.amzn1.x86_64 (installed)<br>
    &emsp;&emsp;&emsp;&ensp; Not found <br>&emsp;&emsp;&ensp; Obsoleted By:
    libdb4-utils-4.8.30-13.el7.x86_64 (epel)<br> &emsp;&emsp;&emsp;&ensp;
    Not found</p>
    
    <p>Error: Package: iproute-4.4.0-3.23.amzn1.x86_64 (installed)<br>
    &emsp;&emsp;&ensp; Requires: libdb-4.7.so()(64bit)<br>
    &emsp;&emsp;&ensp; Removing: db4-4.7.25-18.11.amzn1.x86_64
    (installed)<br> &emsp;&emsp;&emsp;&ensp; libdb-4.7.so()(64bit)<br>
    &emsp;&emsp;&ensp; Obsoleted By: libdb4-4.8.30-13.el7.x86_64
    (epel)<br> &emsp;&emsp;&emsp;  ~libdb-4.8.so()(64bit)</p>
    
    <p>Error: Package: ruby20-libs-2.0.0.648-1.29.amzn1.x86_64
    (installed)<br> &emsp;&emsp;&ensp; Requires: libdb-4.7.so()(64bit)<br>
    &emsp;&emsp;&ensp; Removing: db4-4.7.25-18.11.amzn1.x86_64
    (installed)<br> &emsp;&emsp;&emsp;&ensp; libdb-4.7.so()(64bit)<br>
    &emsp;&emsp;&ensp; Obsoleted By: libdb4-4.8.30-13.el7.x86_64
    (epel)<br> &emsp;&emsp;&emsp;  ~libdb-4.8.so()(64bit)</p>
    
    <p>Error: Package: rpm-build-4.11.2-2.73.amzn1.x86_64 (@amzn-main)<br>
    &emsp;&emsp;&ensp; Requires: libdb-4.7.so()(64bit)<br>
    &emsp;&emsp;&ensp; Removing: db4-4.7.25-18.11.amzn1.x86_64
    (installed)<br> &emsp;&emsp;&emsp;&ensp; libdb-4.7.so()(64bit)<br>
    &emsp;&emsp;&ensp; Obsoleted By: libdb4-4.8.30-13.el7.x86_64
    (epel)<br> &emsp;&emsp;&emsp;  ~libdb-4.8.so()(64bit)</p>
    
    <p>Error: Package: rpm-python27-4.11.2-2.73.amzn1.x86_64 (installed)<br>
    &emsp;&emsp;&ensp; Requires: libdb-4.7.so()(64bit)<br>
    &emsp;&emsp;&ensp; Removing: db4-4.7.25-18.11.amzn1.x86_64
    (installed)<br> &emsp;&emsp;&emsp;&ensp; libdb-4.7.so()(64bit)<br>
    &emsp;&emsp;&ensp; Obsoleted By: libdb4-4.8.30-13.el7.x86_64
    (epel)<br> &emsp;&emsp;&emsp;  ~libdb-4.8.so()(64bit)</p>
    
    <p>Error: Package: python27-libs-2.7.12-2.120.amzn1.x86_64
    (amzn-updates)<br> &emsp;&emsp;&ensp; Requires:
    libdb-4.7.so()(64bit)<br> &emsp;&emsp;&ensp; Removing:
    db4-4.7.25-18.11.amzn1.x86_64 (installed)<br> &emsp;&emsp;&emsp;&ensp;
    libdb-4.7.so()(64bit)<br> &emsp;&emsp;&ensp; Obsoleted By:
    libdb4-4.8.30-13.el7.x86_64 (epel)<br> &emsp;&emsp;&emsp; 
    ~libdb-4.8.so()(64bit)</p>
    
    <p>Error: libdb4 conflicts with filesystem-2.4.30-3.8.amzn1.x86_64</p>
    
    <p>Error: Package: rpm-build-libs-4.11.2-2.73.amzn1.x86_64
    (installed)<br> &emsp;&emsp;&ensp; Requires: libdb-4.7.so()(64bit)<br>
    &emsp;&emsp;&ensp; Removing: db4-4.7.25-18.11.amzn1.x86_64
    (installed)<br> &emsp;&emsp;&emsp;&ensp; libdb-4.7.so()(64bit)<br>
    &emsp;&emsp;&ensp; Obsoleted By: libdb4-4.8.30-13.el7.x86_64
    (epel)<br> &emsp;&emsp;&emsp;  ~libdb-4.8.so()(64bit)</p>
    
    <p>Error: Package: sendmail-8.14.4-8.12.amzn1.x86_64 (installed)<br>
    &emsp;&emsp;&ensp; Requires: libdb-4.7.so()(64bit)<br>
    &emsp;&emsp;&ensp; Removing: db4-4.7.25-18.11.amzn1.x86_64
    (installed)<br> &emsp;&emsp;&emsp;&ensp; libdb-4.7.so()(64bit)<br>
    &emsp;&emsp;&ensp; Obsoleted By: libdb4-4.8.30-13.el7.x86_64
    (epel)<br> &emsp;&emsp;&emsp;  ~libdb-4.8.so()(64bit)</p>
    
    <p>Error: Package: cyrus-sasl-lib-2.1.23-13.16.amzn1.x86_64
    (installed)<br> &emsp;&emsp;&ensp; Requires: libdb-4.7.so()(64bit)<br>
    &emsp;&emsp;&ensp; Removing: db4-4.7.25-18.11.amzn1.x86_64
    (installed)<br> &emsp;&emsp;&emsp;&ensp; libdb-4.7.so()(64bit)<br>
    &emsp;&emsp;&ensp; Obsoleted By: libdb4-4.8.30-13.el7.x86_64
    (epel)<br> &emsp;&emsp;&emsp;  ~libdb-4.8.so()(64bit)</p>
    
    <p>Error: Package: pam-1.1.8-12.33.amzn1.x86_64 (installed)<br>
    &emsp;&emsp;&ensp; Requires: libdb-4.7.so()(64bit)<br>
    &emsp;&emsp;&ensp; Removing: db4-4.7.25-18.11.amzn1.x86_64
    (installed)<br> &emsp;&emsp;&emsp;&ensp; libdb-4.7.so()(64bit)<br>
    &emsp;&emsp;&ensp; Obsoleted By: libdb4-4.8.30-13.el7.x86_64
    (epel)<br> &emsp;&emsp;&emsp;  ~libdb-4.8.so()(64bit)</p>
    
    <p>Error: Package: subversion-1.9.4-2.55.amzn1.x86_64 (@amzn-updates)<br>
    &emsp;&emsp;&ensp; Requires: libdb-4.7.so()(64bit)<br>
    &emsp;&emsp;&ensp; Removing: db4-4.7.25-18.11.amzn1.x86_64
    (installed)<br> &emsp;&emsp;&emsp;&ensp; libdb-4.7.so()(64bit)<br>
    &emsp;&emsp;&ensp; Obsoleted By: libdb4-4.8.30-13.el7.x86_64
    (epel)<br> &emsp;&emsp;&emsp;  ~libdb-4.8.so()(64bit)</p>
    
    <p>Error: Package: apr-util-1.4.1-4.17.amzn1.x86_64 (@amzn-main)<br>
    &emsp;&emsp;&ensp; Requires: libdb-4.7.so()(64bit)<br>
    &emsp;&emsp;&ensp; Removing: db4-4.7.25-18.11.amzn1.x86_64
    (installed)<br> &emsp;&emsp;&emsp;&ensp; libdb-4.7.so()(64bit)<br>
    &emsp;&emsp;&ensp; Obsoleted By: libdb4-4.8.30-13.el7.x86_64
    (epel)<br> &emsp;&emsp;&emsp;  ~libdb-4.8.so()(64bit)</p>
    
    <p>Error: Package: rpm-libs-4.11.2-2.73.amzn1.x86_64 (installed)<br>
    &emsp;&emsp;&ensp; Requires: libdb-4.7.so()(64bit)<br>
    &emsp;&emsp;&ensp; Removing: db4-4.7.25-18.11.amzn1.x86_64
    (installed)<br> &emsp;&emsp;&emsp;&ensp; libdb-4.7.so()(64bit)<br>
    &emsp;&emsp;&ensp; Obsoleted By: libdb4-4.8.30-13.el7.x86_64
    (epel)<br> &emsp;&emsp;&emsp;  ~libdb-4.8.so()(64bit)</p>
    
    <p>Error: Package: pam_ccreds-10-4.9.amzn1.x86_64 (installed)<br>
    &emsp;&emsp;&ensp; Requires: libdb-4.7.so()(64bit)<br>
    &emsp;&emsp;&ensp; Removing: db4-4.7.25-18.11.amzn1.x86_64
    (installed)<br> &emsp;&emsp;&emsp;&ensp; libdb-4.7.so()(64bit)<br>
    &emsp;&emsp;&ensp; Obsoleted By: libdb4-4.8.30-13.el7.x86_64
    (epel)<br> &emsp;&emsp;&emsp;  ~libdb-4.8.so()(64bit)</p>
    
    <p>Error: Package: subversion-libs-1.9.4-2.55.amzn1.x86_64
    (@amzn-updates)<br> &emsp;&emsp;&ensp; Requires:
    libdb-4.7.so()(64bit)<br> &emsp;&emsp;&ensp; Removing:
    db4-4.7.25-18.11.amzn1.x86_64 (installed)<br> &emsp;&emsp;&emsp;&ensp;
    libdb-4.7.so()(64bit)<br> &emsp;&emsp;&ensp; Obsoleted By:
    libdb4-4.8.30-13.el7.x86_64 (epel)<br> &emsp;&emsp;&emsp; 
    ~libdb-4.8.so()(64bit)</p>
    
    <p>Error: Package: cyrus-sasl-2.1.23-13.16.amzn1.x86_64 (installed)<br>
    &emsp;&emsp;&ensp; Requires: libdb-4.7.so()(64bit)<br>
    &emsp;&emsp;&ensp; Removing: db4-4.7.25-18.11.amzn1.x86_64
    (installed)<br> &emsp;&emsp;&emsp;&ensp; libdb-4.7.so()(64bit)<br>
    &emsp;&emsp;&ensp; Obsoleted By: libdb4-4.8.30-13.el7.x86_64
    (epel)<br> &emsp;&emsp;&emsp;  ~libdb-4.8.so()(64bit)</p>
    
    <p>Error: Package: libserf-1.3.7-1.7.amzn1.x86_64 (@amzn-main)<br>
    &emsp;&emsp;&ensp; Requires: libdb-4.7.so()(64bit)<br>
    &emsp;&emsp;&ensp; Removing: db4-4.7.25-18.11.amzn1.x86_64
    (installed)<br> &emsp;&emsp;&emsp;&ensp; libdb-4.7.so()(64bit)<br>
    &emsp;&emsp;&ensp; Obsoleted By: libdb4-4.8.30-13.el7.x86_64
    (epel)<br> &emsp;&emsp;&emsp;  ~libdb-4.8.so()(64bit)</p>
    
    <p>Error: Package: rpm-4.11.2-2.73.amzn1.x86_64 (installed)<br>
    &emsp;&emsp;&ensp; Requires: libdb-4.7.so()(64bit)<br>
    &emsp;&emsp;&ensp; Removing: db4-4.7.25-18.11.amzn1.x86_64
    (installed)<br> &emsp;&emsp;&emsp;&ensp; libdb-4.7.so()(64bit)<br>
    &emsp;&emsp;&ensp; Obsoleted By: libdb4-4.8.30-13.el7.x86_64
    (epel)<br> &emsp;&emsp;&emsp;  ~libdb-4.8.so()(64bit)</p>
    
    <p>You could try using --skip-broken to work around the problem<br>  You
    could try running: rpm -Va --nofiles --nodigest</p>
  </blockquote>
  
  <p><code>[ec2-user@ip-172-31-16-247 ~]$</code></p>