Hey, thanks for the super fast answer. Unfortunately it is still not working.
I tried your commands and got this:
Epel seems to be enabled:
(base) [ec2-user@ip-10-0-0-89 ~]$ yum repolist
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
217 packages excluded due to repository priority protections
repo id repo name status
amzn2-core/2/x86_64 Amazon Linux 2 core repository 25,526
amzn2extra-docker/2/x86_64 Amazon Extras repo for docker 42
amzn2extra-epel/2/x86_64 Amazon Extras repo for epel 1
epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 13,404+217
repolist: 38,973
Listing snapd results in this:
(base) [ec2-user@ip-10-0-0-89 ~]$ yum list snapd\*
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
217 packages excluded due to repository priority protections
Available Packages
snapd.x86_64 2.51-1.el7 epel
snapd-devel.noarch 2.51-1.el7 epel
snapd-glib.x86_64 1.58-1.el7 epel
snapd-glib-devel.x86_64 1.58-1.el7 epel
snapd-glib-tests.x86_64 1.58-1.el7 epel
snapd-qt.x86_64 1.58-1.el7 epel
snapd-qt-devel.x86_64 1.58-1.el7 epel
snapd-qt-qml.x86_64 1.58-1.el7 epel
snapd-qt-tests.x86_64 1.58-1.el7 epel
snapd-selinux.noarch 2.51-1.el7 epel
But still not able to download it:
(base) [ec2-user@ip-10-0-0-89 ~]$ sudo yum install snapd-2.51-1.amzn2.1
Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
217 packages excluded due to repository priority protections
No package snapd-2.51-1.amzn2.1 available.
Error: Nothing to do
Can you spot my mistake?
Here is my system information:
(base) [ec2-user@ip-10-0-0-89 ~]$ cat /etc/*release
NAME="Amazon Linux"
VERSION="2"
ID="amzn"
ID_LIKE="centos rhel fedora"
VERSION_ID="2"
PRETTY_NAME="Amazon Linux 2"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2"
HOME_URL="https://amazonlinux.com/"
Amazon Linux release 2 (Karoo)
Thanks for taking so much time to help me!