Bug 1007300 - Installation on AWS (CentOS) fails
Summary: Installation on AWS (CentOS) fails
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: graphite-web
Version: el6
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Jonathan Steffan
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1007316 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-12 09:05 UTC by Daniel Scott
Modified: 2013-10-18 19:43 UTC (History)
2 users (show)

Fixed In Version: graphite-web-0.9.12-3.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-02 06:26:43 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Spec file patch which creates installable patch for AWS Linux (511 bytes, patch)
2013-09-12 09:05 UTC, Daniel Scott
no flags Details | Diff

Description Daniel Scott 2013-09-12 09:05:36 UTC
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)
           Requires: python-sqlite2
           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.

Comment 1 Jonathan Steffan 2013-09-19 23:26:10 UTC
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?

Comment 2 Jonathan Steffan 2013-09-19 23:28:10 UTC
*** Bug 1007316 has been marked as a duplicate of this bug. ***

Comment 3 Daniel Scott 2013-09-20 05:36:08 UTC
Hi,

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.

Thanks,

Dan

Comment 4 Jonathan Steffan 2013-09-25 00:32:48 UTC
I did a quick test against ami-05355a6c and 0.9.12-3.el6 should fix the issue you are running into.

Comment 5 Fedora Update System 2013-09-25 00:34:37 UTC
graphite-web-0.9.12-3.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/graphite-web-0.9.12-3.fc19

Comment 6 Fedora Update System 2013-09-25 00:34:55 UTC
graphite-web-0.9.12-3.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/graphite-web-0.9.12-3.fc20

Comment 7 Fedora Update System 2013-09-25 00:35:08 UTC
graphite-web-0.9.12-3.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/graphite-web-0.9.12-3.fc18

Comment 8 Fedora Update System 2013-09-25 00:35:21 UTC
graphite-web-0.9.12-3.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/graphite-web-0.9.12-3.el6

Comment 9 Fedora Update System 2013-09-25 17:18:09 UTC
Package graphite-web-0.9.12-3.el6:
* 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:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2013-11684/graphite-web-0.9.12-3.el6
then log in and leave karma (feedback).

Comment 10 Daniel Scott 2013-09-26 07:44:34 UTC
Working fine now. Thanks!

Comment 11 Fedora Update System 2013-10-02 06:26:43 UTC
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.

Comment 12 Fedora Update System 2013-10-17 18:02:22 UTC
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.

Comment 13 Fedora Update System 2013-10-18 19:40:08 UTC
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.

Comment 14 Fedora Update System 2013-10-18 19:43:19 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.