Upgrading Amazon’s Linux

Today, after looking over the changes in the new version of Amazon’s Linux AMI, I decided to upgrade (from 2011.02 to 2011.09). After running yum upgrade, I ran into an error (below) with compat-openldap.

Error: Package: compat-openldap-2.4.19_2.3.43-15.11.amzn1.i686 (@upgrade-updates/2010.11)
           Requires: openldap = 2.4.19-15.11.amzn1
           Removing: openldap-2.4.19-15.11.amzn1.i686 (@upgrade-updates/2010.11)
               openldap = 2.4.19-15.11.amzn1
           Updated By: openldap-2.4.23-15.13.amzn1.i686 (amzn-main)
               openldap = 2.4.23-15.13.amzn1

As it turns out, I wasn’t using the openldap compatibility libraries for anything (for that matter, I don’t use openldap – but it is a dependency of most of the packages installed on Amazon’s Linux). Overcoming the error, therefore, was a simple matter of removing the package.

yum remove compat-openldap

After that, the upgrade ran without issue.

By cyberx86

Just a random guy who dabbles with assorted technologies yet works in a completely unrelated field.

Leave a comment

Your email address will not be published. Required fields are marked *