Skip to content

Instantly share code, notes, and snippets.

@soltysh
Created February 23, 2017 21:48
Show Gist options
  • Save soltysh/0ca5dcfd34a8762c232aaed47e07eacd to your computer and use it in GitHub Desktop.
Save soltysh/0ca5dcfd34a8762c232aaed47e07eacd to your computer and use it in GitHub Desktop.
$ docker run -it docker.io/centos:7 /bin/bash
[root@4dad27cbf07e /]# yum install -y centos-release-scl-rh
Loaded plugins: fastestmirror, ovl
base | 3.6 kB 00:00:00
extras | 3.4 kB 00:00:00
updates | 3.4 kB 00:00:00
updates/7/x86_64/primary_db FAILED
http://ftp.wcss.pl/pub/linux/centos/7.3.1611/updates/x86_64/repodata/07467f9928e5098492a1115004239b2c17b4178051852fb48394868acbb5b261-primary.sqlite.bz2: [Errno 14] HTTP 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/
(1/4): base/7/x86_64/group_gz | 155 kB 00:00:00
updates/7/x86_64/primary_db FAILED
http://ftp.prz.edu.pl/centos/7.3.1611/updates/x86_64/repodata/07467f9928e5098492a1115004239b2c17b4178051852fb48394868acbb5b261-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
updates/7/x86_64/primary_db FAILED ] 0.0 B/s | 356 kB --:--:-- ETA
http://mirror-pl.kielcetechnologypark.net/centos/7.3.1611/updates/x86_64/repodata/07467f9928e5098492a1115004239b2c17b4178051852fb48394868acbb5b261-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
updates/7/x86_64/primary_db FAILED
http://centos.po.opole.pl/7.3.1611/updates/x86_64/repodata/07467f9928e5098492a1115004239b2c17b4178051852fb48394868acbb5b261-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
updates/7/x86_64/primary_db FAILED ] 475 kB/s | 1.7 MB 00:00:13 ETA
ftp://ftp.man.szczecin.pl/pub/Linux/centos/7.3.1611/updates/x86_64/repodata/07467f9928e5098492a1115004239b2c17b4178051852fb48394868acbb5b261-primary.sqlite.bz2: [Errno 14] FTP Error 550 - Given file does not exist
Trying other mirror.
updates/7/x86_64/primary_db FAILED
http://ftp.icm.edu.pl/pub/Linux/distributions/centos/7.3.1611/updates/x86_64/repodata/07467f9928e5098492a1115004239b2c17b4178051852fb48394868acbb5b261-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
updates/7/x86_64/primary_db FAILED ] 535 kB/s | 2.1 MB 00:00:11 ETA
http://ftp.agh.edu.pl/centos/7.3.1611/updates/x86_64/repodata/07467f9928e5098492a1115004239b2c17b4178051852fb48394868acbb5b261-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
updates/7/x86_64/primary_db FAILED ] 657 kB/s | 3.1 MB 00:00:07 ETA
http://centos.hitme.net.pl/7.3.1611/updates/x86_64/repodata/07467f9928e5098492a1115004239b2c17b4178051852fb48394868acbb5b261-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
(2/4): extras/7/x86_64/primary_db | 122 kB 00:00:03
updates/7/x86_64/primary_db FAILED
http://centos.slaskdatacenter.com/7.3.1611/updates/x86_64/repodata/07467f9928e5098492a1115004239b2c17b4178051852fb48394868acbb5b261-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
updates/7/x86_64/primary_db FAILED ====- ] 841 kB/s | 4.6 MB 00:00:04 ETA
http://centos.komster.pl/7.3.1611/updates/x86_64/repodata/07467f9928e5098492a1115004239b2c17b4178051852fb48394868acbb5b261-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
(3/4): base/7/x86_64/primary_db | 5.6 MB 00:00:04
Determining fastest mirrors
* base: mirror.onet.pl
* extras: ftp.icm.edu.pl
* updates: ftp.icm.edu.pl
updates/7/x86_64/primary_db FAILED
http://centos.komster.pl/7.3.1611/updates/x86_64/repodata/07467f9928e5098492a1115004239b2c17b4178051852fb48394868acbb5b261-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
updates/7/x86_64/primary_db FAILED
http://ftp.wcss.pl/pub/linux/centos/7.3.1611/updates/x86_64/repodata/07467f9928e5098492a1115004239b2c17b4178051852fb48394868acbb5b261-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
updates/7/x86_64/primary_db FAILED
http://ftp.prz.edu.pl/centos/7.3.1611/updates/x86_64/repodata/07467f9928e5098492a1115004239b2c17b4178051852fb48394868acbb5b261-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
updates/7/x86_64/primary_db FAILED
http://mirror-pl.kielcetechnologypark.net/centos/7.3.1611/updates/x86_64/repodata/07467f9928e5098492a1115004239b2c17b4178051852fb48394868acbb5b261-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
updates/7/x86_64/primary_db FAILED
http://centos.po.opole.pl/7.3.1611/updates/x86_64/repodata/07467f9928e5098492a1115004239b2c17b4178051852fb48394868acbb5b261-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
updates/7/x86_64/primary_db FAILED
ftp://ftp.man.szczecin.pl/pub/Linux/centos/7.3.1611/updates/x86_64/repodata/07467f9928e5098492a1115004239b2c17b4178051852fb48394868acbb5b261-primary.sqlite.bz2: [Errno 14] FTP Error 550 - Given file does not exist
Trying other mirror.
updates/7/x86_64/primary_db FAILED
http://ftp.icm.edu.pl/pub/Linux/distributions/centos/7.3.1611/updates/x86_64/repodata/07467f9928e5098492a1115004239b2c17b4178051852fb48394868acbb5b261-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
updates/7/x86_64/primary_db FAILED
http://ftp.agh.edu.pl/centos/7.3.1611/updates/x86_64/repodata/07467f9928e5098492a1115004239b2c17b4178051852fb48394868acbb5b261-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
updates/7/x86_64/primary_db FAILED
http://centos.hitme.net.pl/7.3.1611/updates/x86_64/repodata/07467f9928e5098492a1115004239b2c17b4178051852fb48394868acbb5b261-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
updates/7/x86_64/primary_db FAILED
http://centos.slaskdatacenter.com/7.3.1611/updates/x86_64/repodata/07467f9928e5098492a1115004239b2c17b4178051852fb48394868acbb5b261-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.komster.pl/7.3.1611/updates/x86_64/repodata/07467f9928e5098492a1115004239b2c17b4178051852fb48394868acbb5b261-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.wcss.pl/pub/linux/centos/7.3.1611/updates/x86_64/repodata/07467f9928e5098492a1115004239b2c17b4178051852fb48394868acbb5b261-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.prz.edu.pl/centos/7.3.1611/updates/x86_64/repodata/07467f9928e5098492a1115004239b2c17b4178051852fb48394868acbb5b261-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirror-pl.kielcetechnologypark.net/centos/7.3.1611/updates/x86_64/repodata/07467f9928e5098492a1115004239b2c17b4178051852fb48394868acbb5b261-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.po.opole.pl/7.3.1611/updates/x86_64/repodata/07467f9928e5098492a1115004239b2c17b4178051852fb48394868acbb5b261-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
ftp://ftp.man.szczecin.pl/pub/Linux/centos/7.3.1611/updates/x86_64/repodata/07467f9928e5098492a1115004239b2c17b4178051852fb48394868acbb5b261-primary.sqlite.bz2: [Errno 14] FTP Error 550 - Given file does not exist
Trying other mirror.
http://ftp.icm.edu.pl/pub/Linux/distributions/centos/7.3.1611/updates/x86_64/repodata/07467f9928e5098492a1115004239b2c17b4178051852fb48394868acbb5b261-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.agh.edu.pl/centos/7.3.1611/updates/x86_64/repodata/07467f9928e5098492a1115004239b2c17b4178051852fb48394868acbb5b261-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.hitme.net.pl/7.3.1611/updates/x86_64/repodata/07467f9928e5098492a1115004239b2c17b4178051852fb48394868acbb5b261-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.slaskdatacenter.com/7.3.1611/updates/x86_64/repodata/07467f9928e5098492a1115004239b2c17b4178051852fb48394868acbb5b261-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
One of the configured repositories failed (CentOS-7 - Updates),
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=updates ...
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 updates
or
subscription-manager repos --disable=updates
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=updates.skip_if_unavailable=true
failure: repodata/07467f9928e5098492a1115004239b2c17b4178051852fb48394868acbb5b261-primary.sqlite.bz2 from updates: [Errno 256] No more mirrors to try.
http://centos.komster.pl/7.3.1611/updates/x86_64/repodata/07467f9928e5098492a1115004239b2c17b4178051852fb48394868acbb5b261-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
http://ftp.wcss.pl/pub/linux/centos/7.3.1611/updates/x86_64/repodata/07467f9928e5098492a1115004239b2c17b4178051852fb48394868acbb5b261-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
http://ftp.prz.edu.pl/centos/7.3.1611/updates/x86_64/repodata/07467f9928e5098492a1115004239b2c17b4178051852fb48394868acbb5b261-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
http://mirror-pl.kielcetechnologypark.net/centos/7.3.1611/updates/x86_64/repodata/07467f9928e5098492a1115004239b2c17b4178051852fb48394868acbb5b261-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
http://centos.po.opole.pl/7.3.1611/updates/x86_64/repodata/07467f9928e5098492a1115004239b2c17b4178051852fb48394868acbb5b261-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
ftp://ftp.man.szczecin.pl/pub/Linux/centos/7.3.1611/updates/x86_64/repodata/07467f9928e5098492a1115004239b2c17b4178051852fb48394868acbb5b261-primary.sqlite.bz2: [Errno 14] FTP Error 550 - Given file does not exist
http://ftp.icm.edu.pl/pub/Linux/distributions/centos/7.3.1611/updates/x86_64/repodata/07467f9928e5098492a1115004239b2c17b4178051852fb48394868acbb5b261-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
http://ftp.agh.edu.pl/centos/7.3.1611/updates/x86_64/repodata/07467f9928e5098492a1115004239b2c17b4178051852fb48394868acbb5b261-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
http://centos.hitme.net.pl/7.3.1611/updates/x86_64/repodata/07467f9928e5098492a1115004239b2c17b4178051852fb48394868acbb5b261-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
http://centos.slaskdatacenter.com/7.3.1611/updates/x86_64/repodata/07467f9928e5098492a1115004239b2c17b4178051852fb48394868acbb5b261-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
[root@4dad27cbf07e /]#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment