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 install centos-release-scl-rh failing #7

Closed
mayeut opened this issue Mar 27, 2021 · 6 comments
Closed

yum install centos-release-scl-rh failing #7

mayeut opened this issue Mar 27, 2021 · 6 comments

Comments

@mayeut
Copy link

mayeut commented Mar 27, 2021

Hello @nealef,

manylinux2014 image build is failing with error (nothing has changed with regards to installed packages):

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.

c.f. https://travis-ci.com/github/pypa/manylinux/jobs/492933879

It seems to be very similar to #1 (comment) when switching to 7.8.2003 (i.e. I can't find the source package for this one in 7.9.2009). I guess the switch for 7.9.2009 happened sometime this month ? (given we're now using some caching to build the image, not sure exactly when it would have first occurred).

Thanks in advance for your support.

@nealef
Copy link
Owner

nealef commented Mar 27, 2021 via email

@mayeut
Copy link
Author

mayeut commented Mar 27, 2021

yes, extras repo enabled.

#11 43.42 + yum-config-manager --enable extras
972#11 43.57 Loaded plugins: fastestmirror, ovl
973#11 43.58 ================================= repo: extras =================================
974#11 43.58 [extras]
975#11 43.58 async = True
976#11 43.58 bandwidth = 0
977#11 43.58 base_persistdir = /var/lib/yum/repos/s390x/7
978#11 43.58 baseurl = 
979#11 43.58 cache = 0
980#11 43.58 cachedir = /var/cache/yum/s390x/7/extras
981#11 43.58 check_config_file_age = True
982#11 43.58 compare_providers_priority = 80
983#11 43.58 cost = 1000
984#11 43.58 deltarpm_metadata_percentage = 100
985#11 43.58 deltarpm_percentage = 
986#11 43.58 enabled = 1
987#11 43.58 enablegroups = True
988#11 43.58 exclude = 
989#11 43.58 failovermethod = priority
990#11 43.58 ftp_disable_epsv = False
991#11 43.58 gpgcadir = /var/lib/yum/repos/s390x/7/extras/gpgcadir
992#11 43.58 gpgcakey = 
993#11 43.58 gpgcheck = True
994#11 43.58 gpgdir = /var/lib/yum/repos/s390x/7/extras/gpgdir
995#11 43.58 gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ClefOS-7
996#11 43.58 hdrdir = /var/cache/yum/s390x/7/extras/headers
997#11 43.58 http_caching = all
998#11 43.58 includepkgs = 
999#11 43.58 ip_resolve = 
1000#11 43.58 keepalive = True
1001#11 43.58 keepcache = False
1002#11 43.58 mddownloadpolicy = sqlite
1003#11 43.58 mdpolicy = group:small
1004#11 43.58 mediaid = 
1005#11 43.58 metadata_expire = 21600
1006#11 43.58 metadata_expire_filter = read-only:present
1007#11 43.58 metalink = 
1008#11 43.58 minrate = 0
1009#11 43.58 mirrorlist = http://mirrors.sinenomine.net/clefos?releasever=7&arch=s390x&repo=extras
1010#11 43.58 mirrorlist_expire = 86400
1011#11 43.58 name = ClefOS-7 - Extras
1012#11 43.58 old_base_cache_dir = 
1013#11 43.58 password = 
1014#11 43.58 persistdir = /var/lib/yum/repos/s390x/7/extras
1015#11 43.58 pkgdir = /var/cache/yum/s390x/7/extras/packages
1016#11 43.58 proxy = False
1017#11 43.58 proxy_dict = 
1018#11 43.58 proxy_password = 
1019#11 43.58 proxy_username = 
1020#11 43.58 repo_gpgcheck = False
1021#11 43.58 retries = 10
1022#11 43.58 skip_if_unavailable = False
1023#11 43.58 ssl_check_cert_permissions = True
1024#11 43.58 sslcacert = 
1025#11 43.58 sslclientcert = 
1026#11 43.58 sslclientkey = 
1027#11 43.58 sslverify = True
1028#11 43.58 throttle = 0
1029#11 43.58 timeout = 30.0
1030#11 43.58 ui_id = extras/7/s390x
1031#11 43.58 ui_repoid_vars = releasever,
1032#11 43.58    basearch
1033#11 43.58 username = 
1034#11 43.58 
1035#11 43.59 + TOOLCHAIN_DEPS='devtoolset-9-binutils devtoolset-9-gcc devtoolset-9-gcc-c++ devtoolset-9-gcc-gfortran'
1036#11 43.59 + '[' s390x == x86_64 ']'
1037#11 43.59 + '[' s390x == aarch64 ']'
1038#11 43.59 + '[' s390x == ppc64le ']'
1039#11 43.59 + '[' s390x == s390x ']'
1040#11 43.59 + yum -y install centos-release-scl-rh
1041#11 43.73 Loaded plugins: fastestmirror, ovl
1042#11 43.75 Loading mirror speeds from cached hostfile
1043#11 44.92 No package centos-release-scl-rh available.
1044#11 45.13 Error: Not tolerating missing names on install, stopping.

@mayeut
Copy link
Author

mayeut commented Mar 27, 2021

Here are the steps to reproduce the issue in a clean clefos:7 image:

docker pull s390x/clefos:7
docker run -it --rm s390x/clefos:7
echo "multilib_policy=best" >> /etc/yum.conf
echo "skip_missing_names_on_install=False" >> /etc/yum.conf
sed -i '/^override_install_langs=/d' /etc/yum.conf
yum -y update
yum -y install yum-utils curl
yum-config-manager --enable extras
yum -y install centos-release-scl-rh

@nealef
Copy link
Owner

nealef commented Mar 29, 2021 via email

@nealef
Copy link
Owner

nealef commented Mar 31, 2021 via email

@mayeut
Copy link
Author

mayeut commented Mar 31, 2021

I can confirm that everything is back to normal on our end. Thanks.

@mayeut mayeut closed this as completed Mar 31, 2021
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

2 participants