View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000241 | Pgpool-II | Bug | public | 2016-09-05 20:00 | 2016-09-27 10:40 |
| Reporter | g41n | Assigned To | pengbo | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | open | ||
| Platform | Linux | OS | RedHat | OS Version | 7 |
| Product Version | 3.1.18 | ||||
| Summary | 0000241: The repository package not works correctly | ||||
| Description | If I install the repository package all seems ok, but if I try to list packages I have this error: [root@rhel01 ~]# yum list pgpool* Loaded plugins: product-id, subscription-manager This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. 2ndquadrant-repmgr | 3.0 kB 00:00:00 centos | 3.6 kB 00:00:00 pgdg95 | 3.6 kB 00:00:00 http://www.pgpool.net/yum/rpms/3.4/redhat/rhel-7Server-x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found Trying other mirror. One of the configured repositories failed (pgpool-II 3.4 7Server - x86_64), and yum doesn't have enough cached data to continue. At this point the only safe thing yum can do is fail. There are a few ways to work "fix" this: 1. Contact the upstream for the repository and get them to fix the problem. 2. Reconfigure the baseurl/etc. for the repository, to point to a working upstream. This is most often useful if you are using a newer distribution release than is supported by the repository (and the packages for the previous distribution release still work). 3. Disable the repository, so yum won't use it by default. Yum will then just ignore the repository until you permanently enable it again or use --enablerepo for temporary usage: yum-config-manager --disable pgpool34 4. Configure the failing repository to be skipped, if it is unavailable. Note that yum will try to contact the repo. when it runs most commands, so will have to try and fail each time (and thus. yum will be be much slower). If it is a very temporary problem though, this is often a nice compromise: yum-config-manager --save --setopt=pgpool34.skip_if_unavailable=true failure: repodata/repomd.xml from pgpool34: [Errno 256] No more mirrors to try. http://www.pgpool.net/yum/rpms/3.4/redhat/rhel-7Server-x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found | ||||
| Steps To Reproduce | # yum install http://www.pgpool.net/yum/rpms/3.4/redhat/rhel-7-x86_64/pgpool-II-release-3.4-1.noarch.rpm # yum list pgpool* | ||||
| Additional Information | I've noticed that the broken link is http://www.pgpool.net/yum/rpms/3.4/redhat/rhel-7Server-x86_64/repodata/repomd.xml and I think that the right version could be http://www.pgpool.net/yum/rpms/3.4/redhat/rhel-7-x86_64/repodata/repomd.xml The only difference is "Server" that could be a typo or a copy 'n paste glitch... | ||||
| Tags | No tags attached. | ||||
|
|
It looks ok by me. Could you try the following commands first? # yum clean all # yum update If it still doesn't work, could you show me the output of this command? # yum info centos-release |
|
|
With clean and update works. |