Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing PostgreSQL 9.1 on RHEL 6.2 fails with 404 #2

Open
Josh-Tilles opened this issue Jul 18, 2012 · 1 comment
Open

Installing PostgreSQL 9.1 on RHEL 6.2 fails with 404 #2

Josh-Tilles opened this issue Jul 18, 2012 · 1 comment

Comments

@Josh-Tilles
Copy link

The incorrect URL is that the crate attempts to curl is http://yum.pgrpms.org/reporpms/9.1/pgdg-rhel91-9.1-4.noarch.rpm. If I go to its parent directory then it seems like the correct URL should be http://yum.pgrpms.org/reporpms/9.1/pgdg-redhat91-9.1-5.noarch.rpm. The primary differences in the URLs are the version (incorrect: 9.1-4, expected: 9.1-5), and that Pallet constructs the URL by inserting "rhel" rather than "redhat".

Some things that might get complicated:

  • Although Fedora and RHEL are both on 9.1-5, CentOS is still on 9.1-4. So it seems like the simple *pgdg-repo-versions* map might need to get more complicated to reflect the different :oss.
  • I don't know where it's most appropriate to deal with the special case of :rhel to "redhat".
@Josh-Tilles
Copy link
Author

I'll send a pull request with a solution soon. I just thought it would be a good idea to document the issue before trying to fix it because my attempt could be totally wrongheaded.

Josh-Tilles pushed a commit to Josh-Tilles/postgres-crate that referenced this issue Jul 23, 2012
hugoduncan pushed a commit that referenced this issue Apr 6, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant