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

yum commands using s390x/clefos base image fails with error :"https://download.sinenomine.net/clefos/7/base/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found" #1

Closed
sangitanalkar opened this issue Oct 4, 2018 · 29 comments

Comments

@sangitanalkar
Copy link

yum commands executed in Dockerfile fail which uses s390x/clefos as base image fails with following error:

Step 2/24 : RUN yum update -y && yum upgrade -y && yum install -y java-1.8.0-openjdk-devel which
 ---> Running in 1a0393885009
Loaded plugins: fastestmirror, ovl
https://download.sinenomine.net/clefos/7/base/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below knowledge base article

https://access.redhat.com/articles/1320623

If above article doesn't help to resolve this issue please create a bug on https://bugs.centos.org/



 One of the configured repositories failed (ClefOS-7 - Base),
 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. Run the command with the repository temporarily disabled
            yum --disablerepo=base ...

     4. Disable the repository permanently, 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 base
        or
            subscription-manager repos --disable=base

     5. 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=base.skip_if_unavailable=true

failure: repodata/repomd.xml from base: [Errno 256] No more mirrors to try.
https://download.sinenomine.net/clefos/7/base/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
The command '/bin/sh -c yum update -y && yum upgrade -y && yum install -y java-1.8.0-openjdk-devel which' returned a non-zero code: 1
Makefile.docker:57: recipe for target 'image' failed
make: *** [image] Error 1

Tried htting url "https://download.sinenomine.net/clefos/7/base/" , repodata folder is not present in the above link.

Please help resolve above issue or provide any workaround if present to resolve above issue. Thanks!

@nealef
Copy link
Owner

nealef commented Oct 4, 2018 via email

@nealef
Copy link
Owner

nealef commented Oct 4, 2018 via email

@nealef
Copy link
Owner

nealef commented Oct 4, 2018 via email

@nealef
Copy link
Owner

nealef commented Oct 4, 2018 via email

@sangitanalkar
Copy link
Author

Thanks a lot @nealef for looking into this issue on priority from your busy schedule.
Issue is resolved now and yum install commands work fine.
Hope you enjoy your function :)

Closing this issue. Thanks!

@potula-chandra
Copy link

@nealef thank you very much for your quick response. Really appreciate !

Hearty congratulation to you on your daughter wedding. Enjoy memorable moments with your family !

@mattip
Copy link

mattip commented Jan 22, 2020

Hi. Thanks for this work. The python manylinux project now uses this as a base image for building binary blobs (wheels). It seems the repo has disappeared again, https://download.sinenomine.net/clefos/7/sclo/s390x is empty.

@mattip
Copy link

mattip commented Jan 22, 2020

xref MacPython/numpy-wheels#70

@nealef
Copy link
Owner

nealef commented Jan 22, 2020 via email

@mattip
Copy link

mattip commented Jan 22, 2020

Glad to know it is transitory, and thanks again for setting this up.

@nealef
Copy link
Owner

nealef commented Jan 22, 2020 via email

@mattip
Copy link

mattip commented Jan 27, 2020

Still failing, see this build which is looking for https://download.sinenomine.net/epel/epel-7/repodata/d9dff1cf22c99f84c309e43e1b51d33ec2f6ecb40444a3a3b93088b18f4f661c-primary.sqlite.bz2 which is trying to find https://download.sinenomine.net/epel/epel-7 but it seems the link has changed. Does the image need updating?

@nealef
Copy link
Owner

nealef commented Jan 27, 2020 via email

@nealef
Copy link
Owner

nealef commented Jan 27, 2020

Try it now

@mattip
Copy link

mattip commented Jan 27, 2020

Looks good thanks. Lesson learned: the mirror is actively maintained, so I don't need to report each glitch. Thanks!!

@nealef
Copy link
Owner

nealef commented Jan 27, 2020

Let me know when you're done as I need to sync the 7.7 repo to the public site. Usually this happens once a month but there was a lot of activity over the last couple of weeks so I had to kick it off manually a couple of times.

@mattip
Copy link

mattip commented Jan 27, 2020

Done

@mayeut
Copy link

mayeut commented Apr 25, 2020

Hi @nealef,

it seems there's a new issue with the repo :

https://download.sinenomine.net/clefos/7/os/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found

c.f. https://travis-ci.org/github/pypa/manylinux/jobs/678968282

@nealef
Copy link
Owner

nealef commented Apr 25, 2020

Another case of the resync happening during the delayed distro build. I am resyncing now. Give it an hour or two.

@mayeut
Copy link

mayeut commented Apr 25, 2020

ok, thanks. Will retry in a couple hours and update this issue with the outcome.

@mayeut
Copy link

mayeut commented Apr 25, 2020

It seems it's not back online yet https://travis-ci.org/github/pypa/auditwheel/jobs/679341559

@nealef
Copy link
Owner

nealef commented Apr 25, 2020

Another case of bad timing. When I kicked off the sync for you it was just before the next regen of the distro so a heap of directories just vanished as it was recreating things. I have kicked off the sync again now that it's complete.

@mayeut
Copy link

mayeut commented Apr 25, 2020

It seems to be ok now. Thanks.

@mayeut
Copy link

mayeut commented May 23, 2020

@nealef,

Seems there's a new issue since a few days: https://travis-ci.org/github/pypa/manylinux/jobs/689138271

+ yum -y install centos-release-scl-rh
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
No package centos-release-scl-rh available.
Error: Not tolerating missing names on install, stopping.

The package centos-release-scl-rh was present before. It's not a new addition in our install scripts.

Can you have a look ?
Thanks

@nealef
Copy link
Owner

nealef commented May 23, 2020 via email

@mayeut
Copy link

mayeut commented May 25, 2020

@nealef,

Indeed I can't find the srpm in CentOS vault for 7.8.2003
I guess it's a bug on their end (Its also not present in 7.7....)
I could find it their: http://vault.centos.org/centos/7.6.1810/extras/Source/SPackages/centos-release-scl-rh-2-3.el7.centos.src.rpm

Edit: the version mentioned above seems to be the latest available

[root@aa1bbac32f43 /]# lsb_release -a
LSB Version:	:core-4.1-amd64:core-4.1-noarch
Distributor ID:	CentOS
Description:	CentOS Linux release 7.8.2003 (Core)
Release:	7.8.2003
Codename:	Core
[root@aa1bbac32f43 /]# yum install centos-release-scl-rh
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
 * base: mirror.in2p3.fr
 * centos-sclo-rh: fr2.rpmfind.net
 * epel: mirror.in2p3.fr
 * extras: fr2.rpmfind.net
 * updates: mirror.in2p3.fr
Package centos-release-scl-rh-2-3.el7.centos.noarch already installed and latest version
Nothing to do

Do you have by any chance an ETA on the fix ?

Thanks

@nealef
Copy link
Owner

nealef commented May 25, 2020 via email

@mayeut
Copy link

mayeut commented May 25, 2020

Thanks, I'll check in 12 hours or so

@mayeut
Copy link

mayeut commented May 26, 2020

Thanks @nealef, working fine now.

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

5 participants