我正在使用CentOS 6.我需要configuration我的YUM才能访问PostgreSQL存储库,但是出现错误。
我按照这个指南: http : //www.postgresonline.com/journal/index.php?/archives/45-An-Almost-Idiots-Guide-to-PostgreSQL-YUM.html
当我做:
yum install postgresql
我得到这个错误:
[root@andre yum.repos.d]# yum install postgresql Loaded plugins: fastestmirror, refresh-packagekit, rpm-warm-cache Loading mirror speeds from cached hostfile * base: ftp.di.fc.ul.pt * extras: ftp.di.fc.ul.pt * updates: ftp.di.fc.ul.pt http://yum.pgsqlrpms.org/9.0/redhat/rhel-6-x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404" Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: pgdg90. Please verify its path and try again
有人有什么线索我应该怎么做才能纠正这个问题?
最好的祝福,
http://yum.pgsqlrpms.org/不再使用,他们已经搬迁到pgrpms.org,这是造成你的错误。
恢复你的改变,然后检查http://yum.pgrpms.org/howtoyum.php ,这个页面会告诉你从这里安装CentOS 6的存储库RPM。