AWS EC2 Flashphoner image Yum update failed

SLM

Member
Just launched an Amazon EC2 AMI with Flashphoner license. It started and is running but when trying to sudo yum update the instance, I get the following error:

Code:
Transaction Summary
========================================================================================================================Install    3 Packages
Upgrade  112 Packages
Remove     1 Package

Total size: 135 M
Is this ok [y/d/N]: y
Downloading packages:
warning: /var/cache/yum/x86_64/2/okay/packages/okay-release-1-10.el7.noarch.rpm: Header V4 RSA/SHA256 Signature, key ID 186f7970: NOKEY

Public key for okay-release-1-10.el7.noarch.rpm is not installed
Output of installed keys:
Code:
rpm -q gpg-pubkey --qf '%{name}-%{version}-%{release} --> %{summary}\n'
gpg-pubkey-c87f5b1a-593863f8 --> gpg(Amazon Linux <amazon-linux@amazon.com>)
gpg-pubkey-352c64e5-52ae6884 --> gpg(Fedora EPEL (7) <epel@fedoraproject.org>)
Installing the key with sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-OKAY does not help.
 

Max

Administrator
Staff member
Good day.
The Flashphoner AMI is based on Amazon Linux 2 AMI. We do not change any repositories, just install a dependencies needed to start WCS, and we do not install okay-release package directly. So it seems like Amazon Linux 2 AMI issue.
You can try to skip update for this package.
We have a plans to update AMI next year, and we'll consider to use some other basic AMI to avoid a such issues.
 

SLM

Member
Thanks Max. Since it's not installed by Flashphoner, I've removed the okay-release package and now yum continues as expected.
 
Top