Red Hat Bugzilla – Bug 1007300
Installation on AWS (CentOS) fails
Last modified: 2013-10-18 15:43:19 EDT
Created attachment 796709 [details]
Spec file patch which creates installable patch for AWS Linux
Description of problem:
Installation on AWS (CentOS) fails with:
Package python-sqlite2 is obsoleted by python24-sqlite, but obsoleting package does not provide for requirements
Error: Package: graphite-web-0.9.10-7.el6.noarch (epel)
Available: 1:python-sqlite2-2.3.5-2.el6.x86_64 (epel)
python-sqlite2 = 1:2.3.5-2.el6
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
So, it appears that the AWS repos attempt to install python24-sqlite because it apparently provides python-sqlite2. However, I believe that this dependency is not actually required for modern Python (2.6/2.7).
I see that the spec file contains a conditional for Fedora Versions >17 which removes the requirement. Can the file be modified to remove this requirement for CentOS/AWS Linux too?
Also, the python-django package does not exist on CentOS or AWS Linux, I believe that it's called Django14.
Patch attached, which allows me to create an installable RPM for AWS Linux. However, it will likely break Fedora.
Thanks for the report. I will work on getting this installable on AWS Linux without breaking the current targets. What AMI are you using so I can do some testing also?
*** Bug 1007316 has been marked as a duplicate of this bug. ***
It's the standard Amazon Linux AMI 2013.03.1 (64bit) - ami-c7c0d6b3.
The problem still exists in the latest version (0.9.12 - released yesterday) the same patch (above) still works.
I did a quick test against ami-05355a6c and 0.9.12-3.el6 should fix the issue you are running into.
graphite-web-0.9.12-3.fc19 has been submitted as an update for Fedora 19.
graphite-web-0.9.12-3.fc20 has been submitted as an update for Fedora 20.
graphite-web-0.9.12-3.fc18 has been submitted as an update for Fedora 18.
graphite-web-0.9.12-3.el6 has been submitted as an update for Fedora EPEL 6.
* should fix your issue,
* was pushed to the Fedora EPEL 6 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing graphite-web-0.9.12-3.el6'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
Working fine now. Thanks!
graphite-web-0.9.12-3.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
graphite-web-0.9.12-3.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
graphite-web-0.9.12-3.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
graphite-web-0.9.12-3.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.