How To Fix YUM Update Errors with Percona GPG Keys

Author: , April 16th, 2019

Problem: Trying to run a yum -y update as root aborts with the following error: 1 2 3 4 5 The GPG keys listed for the "Percona-Release YUM repository – x86_64" repository are already installed but they are not correct for this package. Check that the correct key URLs are configured for this repository.   […]

How To Find the RHEL/CentOS Release Version on Amazon Linux

Author: , September 9th, 2014

rpm -qa | grep epel-release | awk -F- ‘{print $3}’ Examples: RHEL5/Centos5 root@aws1:/root # cat /etc/issue Amazon Linux AMI release 2010.11.2 (beta) root@aws1:/root # rpm -qa | grep epel-release epel-release-5-4.noarch root@aws1:/root # rpm -qa | grep epel-release | awk -F- ‘{print $3}’ 5 RHEL6/Centos6 root@aws2:/root # cat /etc/issue Amazon Linux AMI release 2013.09 root@aws2:/root # […]

How To Fix Broken Boot After Yum Update On Amazon Linux

Author: , January 20th, 2012

Stop the instance first…YMMV: 1 2 3 4 5 yourHost# ec2-describe-images describe-images -o amazon –filter "manifest-location=*pv-grub-hd0_1.02-i386*" –region us-east-1 IMAGE   aki-805ea7e9    ec2-public-images/pv-grub-hd0_1.02-i386.gz.manifest.xml amazon  available   public      i386    kernel              instance-store  paravirtual xen   yourHost# ec2-modify-instance-attribute –kernel aki-805ea7e9 –region us-east-1 i-39764XXX kernel  i-39764XXX  aki-805ea7e9 yourHost# ec2-describe-images describe-images […]

How To Get yum To Use A Different Release Version

Author: , September 4th, 2011

/etc/yum.repos.d # yum –releasever=5 search {package name here}