'Amazon Linux dependency error on yum update

When running:

sudo yum update

I get:

Loaded plugins: amzn_workspaces_filter_updates, halt_os_update_check, priorities, update-motd
remi-php74                                                                                                                                                                                                             | 3.0 kB  00:00:00     
18186 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package python-s3transfer.noarch 0:0.1.13-1.0.1.el7 will be obsoleting
---> Package python2-s3transfer.noarch 0:0.3.3-1.amzn2.0.1 will be obsoleted
--> Processing Dependency: python2-s3transfer for package: awscli-1.18.147-1.amzn2.0.1.noarch
--> Processing Dependency: python2-s3transfer >= 0.3.0 for package: python2-boto3-1.15.6-1.amzn2.0.1.noarch
--> Finished Dependency Resolution
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

I tried "rpm -Va --nofiles --nodigest", but doesn't change anything (yum update throws the same response).

If I try:

sudo yum update --skip-broken

I get:

Loaded plugins: amzn_workspaces_filter_updates, halt_os_update_check, priorities, update-motd
amzn2-core                                                                                                                                                                                                             | 3.7 kB  00:00:00     
firefox                                                                                                                                                                                                                | 2.9 kB  00:00:00     
workspaces-internal-dependencies                                                                                                                                                                                       | 2.2 kB  00:00:00     
18186 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package python-s3transfer.noarch 0:0.1.13-1.0.1.el7 will be obsoleting
---> Package python2-s3transfer.noarch 0:0.3.3-1.amzn2.0.1 will be obsoleted
--> Processing Dependency: python2-s3transfer for package: awscli-1.18.147-1.amzn2.0.1.noarch
--> Processing Dependency: python2-s3transfer >= 0.3.0 for package: python2-boto3-1.15.6-1.amzn2.0.1.noarch

Packages skipped because of dependency problems:
    python-s3transfer-0.1.13-1.0.1.el7.noarch from ol7_latest

I am not a Linux expert, and I do not know how to get past this error. What should I remove or add and how?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source