« Simple Solution for Amazon’s Web Services Reliability Regular Updates for PublicDomainReprints.org »
Upgrading Fedore Core 6 to Fedora Core 8 on Amazon EC2
Posted February 19, 2008 – 3:13 pm by Yakov Shafranovich in Linux, ProjectsOne of the long overdue tasks that I managed to get done today is to upgrade the Amazon EC2 image used for PublicDomainReprints.org to Fedora Core 8. There were three small issues that I ran into and I am posting my solutions to them in hopes that they will help someone else.
1. When running yum update the following error comes up:
Missing Dependency: /usr/bin/rebuild-security-providers is needed by package java-1.5.0-gcj
To resolve the issue, you need to download the following three packages manually from the FC8 repository and install them in the order that I specified. Install as follows
First java_cup by itself, then sinjdoc and java-1.5.0-gcj together
2. The second problem comes up when trying to bundle the image using ec2-bundle-vol. The following error comes up:
rsync: failed to set times on …
This error is described in detail in this post. The solution tha I picked was similar to one of the ones described in the post – I downloaded the RPM package for rsync from FC6 and manually replaced the executable in /usr/bin.
3. The third problem happens when creating an image manifest in ec2-bundle-vol. The error is as follows:
/usr/lib/ruby/1.8/rexml/text.rb:292: in normalize: private method gsub called for 43:Fixnum (NoMethodError)
The solution is to get the latest document.rb and text.rb files from the SVN repository here and replace the old ones in /usr/lib/ruby/1.8/rexml/. Or you can do a diff as described in this post.
UPDATE: A fourth issue came up as well – Ghostscript no longer has JPEG2000 support and as the result losts of “JPXDecode” errors occur when processing. The reason for that is due to the Fedora Core 8 Ghostscript package no longer being compiled with JPEG2000 support as of version 8.61-6.fc.8. The solution is to downgrade to 8.61-5 which can be found here. I contacted the packager and will post a reply.
UPDATE #2: The ghostscript problem has been filed as bug # 433897 with Redhat. I also emailed the packager but received no reply.
Tags: amazon ec2, fedore core, Linux —
Permalink | Trackback URL | This post has









