Closed et304383 closed 8 years ago
Note that this is apparently caused by pointing at "latest" in /etc/yum.conf. I've configured this way to allow upgrading Amazon Linux to the latest AMI when available. This apparently conflicts with being able to access older packages once an update is available.
The rollback of the kernel-devel version logic should fix this issue on Amazon
https://forums.aws.amazon.com/message.jspa?messageID=677316#677316
According to this, when Amazon releases a new AMI, the old AMI kernel-devel packages disappear unless a releasever is specified to yum.
As a result, if not running the latest Amazon Linux release, one has to provide this as a version parameter.
I'm encountered this issue today.
It looks like the rhel recipe needs to be forked and special handling needs to be added to use the platform version as part of the yum call to ensure folks not using the latest AMI don't break on this cookbook.