View Issue Details

IDProjectCategoryView StatusLast Update
0000241Pgpool-IIBugpublic2016-09-27 10:40
Reporterg41n Assigned Topengbo  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionopen 
PlatformLinuxOSRedHatOS Version7
Product Version3.1.18 
Summary0000241: The repository package not works correctly
DescriptionIf 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 InformationI'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...
TagsNo tags attached.

Activities

pengbo

2016-09-06 16:35

developer   ~0001053

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

g41n

2016-09-20 20:37

reporter   ~0001072

With clean and update works.

Issue History

Date Modified Username Field Change
2016-09-05 20:00 g41n New Issue
2016-09-06 09:21 t-ishii Assigned To => pengbo
2016-09-06 09:21 t-ishii Status new => assigned
2016-09-06 16:35 pengbo Note Added: 0001053
2016-09-20 20:37 g41n Note Added: 0001072
2016-09-27 10:40 pengbo Status assigned => closed