Skip to content

Instantly share code, notes, and snippets.

@jgillich
Created August 26, 2014 07:33
Show Gist options
  • Save jgillich/51b63d78a1388b5df631 to your computer and use it in GitHub Desktop.
Save jgillich/51b63d78a1388b5df631 to your computer and use it in GitHub Desktop.
# yum update
Loaded plugins: fastestmirror
base | 3.6 kB 00:00:00
epel/x86_64/metalink | 26 kB 00:00:00
epel | 3.7 kB 00:00:00
extras | 3.3 kB 00:00:00
updates | 3.4 kB 00:00:00
(1/6): base/7/x86_64/group_gz | 157 kB 00:00:00
(2/6): epel/x86_64/group_gz | 163 kB 00:00:00
updates/7/x86_64/primary_db FAILED
http://centos.bio.lmu.de/7.0.1406/updates/x86_64/repodata/85c5dbb3847c546c4285dad50b5408e56aa42d33dcddbada6e58207bcff702ba-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
(3/6): epel/x86_64/primary_db | 2.4 MB 00:00:00
(4/6): extras/7/x86_64/primary_db | 15 kB 00:00:00
updates/7/x86_64/primary_db FAILED
http://ftp.halifax.rwth-aachen.de/centos/7.0.1406/updates/x86_64/repodata/85c5dbb3847c546c4285dad50b5408e56aa42d33dcddbada6e58207bcff702ba-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
updates/7/x86_64/primary_db FAILED
http://artfiles.org/centos.org/7.0.1406/updates/x86_64/repodata/85c5dbb3847c546c4285dad50b5408e56aa42d33dcddbada6e58207bcff702ba-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
updates/7/x86_64/primary_db FAILED
http://ftp.wrz.de/pub/CentOS/7.0.1406/updates/x86_64/repodata/85c5dbb3847c546c4285dad50b5408e56aa42d33dcddbada6e58207bcff702ba-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
updates/7/x86_64/primary_db FAILED ] 2.6 MB/s | 6.1 MB 00:00:01 ETA
http://ftp.uni-bayreuth.de/linux/CentOS/7.0.1406/updates/x86_64/repodata/85c5dbb3847c546c4285dad50b5408e56aa42d33dcddbada6e58207bcff702ba-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
(5/6): base/7/x86_64/primary_db | 4.9 MB 00:00:02
updates/7/x86_64/primary_db FAILED
http://centos.mirror.sharkservers.co.uk/centos/7.0.1406/updates/x86_64/repodata/85c5dbb3847c546c4285dad50b5408e56aa42d33dcddbada6e58207bcff702ba-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
updates/7/x86_64/primary_db FAILED
http://mirror.informatik.hs-fulda.de/centos7.0.1406/updates/x86_64/repodata/85c5dbb3847c546c4285dad50b5408e56aa42d33dcddbada6e58207bcff702ba-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
updates/7/x86_64/primary_db FAILED
http://centos.mirrors.as250.net/7.0.1406/updates/x86_64/repodata/85c5dbb3847c546c4285dad50b5408e56aa42d33dcddbada6e58207bcff702ba-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
updates/7/x86_64/primary_db FAILED
http://mirror.23media.de/centos/7.0.1406/updates/x86_64/repodata/85c5dbb3847c546c4285dad50b5408e56aa42d33dcddbada6e58207bcff702ba-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
updates/7/x86_64/primary_db FAILED
http://centos.mirror.linuxwerk.com/7.0.1406/updates/x86_64/repodata/85c5dbb3847c546c4285dad50b5408e56aa42d33dcddbada6e58207bcff702ba-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
Determining fastest mirrors
* base: centos.mirror.linuxwerk.com
* epel: ftp-stud.hs-esslingen.de
* extras: ftp.halifax.rwth-aachen.de
* updates: ftp.halifax.rwth-aachen.de
updates/7/x86_64/primary_db FAILED
http://centos.bio.lmu.de/7.0.1406/updates/x86_64/repodata/85c5dbb3847c546c4285dad50b5408e56aa42d33dcddbada6e58207bcff702ba-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
updates/7/x86_64/primary_db FAILED
http://ftp.halifax.rwth-aachen.de/centos/7.0.1406/updates/x86_64/repodata/85c5dbb3847c546c4285dad50b5408e56aa42d33dcddbada6e58207bcff702ba-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
updates/7/x86_64/primary_db FAILED
http://artfiles.org/centos.org/7.0.1406/updates/x86_64/repodata/85c5dbb3847c546c4285dad50b5408e56aa42d33dcddbada6e58207bcff702ba-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
updates/7/x86_64/primary_db FAILED
http://ftp.wrz.de/pub/CentOS/7.0.1406/updates/x86_64/repodata/85c5dbb3847c546c4285dad50b5408e56aa42d33dcddbada6e58207bcff702ba-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
updates/7/x86_64/primary_db FAILED
http://ftp.uni-bayreuth.de/linux/CentOS/7.0.1406/updates/x86_64/repodata/85c5dbb3847c546c4285dad50b5408e56aa42d33dcddbada6e58207bcff702ba-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
updates/7/x86_64/primary_db FAILED
http://centos.mirror.sharkservers.co.uk/centos/7.0.1406/updates/x86_64/repodata/85c5dbb3847c546c4285dad50b5408e56aa42d33dcddbada6e58207bcff702ba-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
updates/7/x86_64/primary_db FAILED
http://mirror.informatik.hs-fulda.de/centos7.0.1406/updates/x86_64/repodata/85c5dbb3847c546c4285dad50b5408e56aa42d33dcddbada6e58207bcff702ba-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
updates/7/x86_64/primary_db FAILED
http://centos.mirrors.as250.net/7.0.1406/updates/x86_64/repodata/85c5dbb3847c546c4285dad50b5408e56aa42d33dcddbada6e58207bcff702ba-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
updates/7/x86_64/primary_db FAILED
http://mirror.23media.de/centos/7.0.1406/updates/x86_64/repodata/85c5dbb3847c546c4285dad50b5408e56aa42d33dcddbada6e58207bcff702ba-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
updates/7/x86_64/primary_db FAILED
http://centos.mirror.linuxwerk.com/7.0.1406/updates/x86_64/repodata/85c5dbb3847c546c4285dad50b5408e56aa42d33dcddbada6e58207bcff702ba-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.bio.lmu.de/7.0.1406/updates/x86_64/repodata/85c5dbb3847c546c4285dad50b5408e56aa42d33dcddbada6e58207bcff702ba-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.halifax.rwth-aachen.de/centos/7.0.1406/updates/x86_64/repodata/85c5dbb3847c546c4285dad50b5408e56aa42d33dcddbada6e58207bcff702ba-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://artfiles.org/centos.org/7.0.1406/updates/x86_64/repodata/85c5dbb3847c546c4285dad50b5408e56aa42d33dcddbada6e58207bcff702ba-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.wrz.de/pub/CentOS/7.0.1406/updates/x86_64/repodata/85c5dbb3847c546c4285dad50b5408e56aa42d33dcddbada6e58207bcff702ba-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.uni-bayreuth.de/linux/CentOS/7.0.1406/updates/x86_64/repodata/85c5dbb3847c546c4285dad50b5408e56aa42d33dcddbada6e58207bcff702ba-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirror.sharkservers.co.uk/centos/7.0.1406/updates/x86_64/repodata/85c5dbb3847c546c4285dad50b5408e56aa42d33dcddbada6e58207bcff702ba-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirror.informatik.hs-fulda.de/centos7.0.1406/updates/x86_64/repodata/85c5dbb3847c546c4285dad50b5408e56aa42d33dcddbada6e58207bcff702ba-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirrors.as250.net/7.0.1406/updates/x86_64/repodata/85c5dbb3847c546c4285dad50b5408e56aa42d33dcddbada6e58207bcff702ba-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirror.23media.de/centos/7.0.1406/updates/x86_64/repodata/85c5dbb3847c546c4285dad50b5408e56aa42d33dcddbada6e58207bcff702ba-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.mirror.linuxwerk.com/7.0.1406/updates/x86_64/repodata/85c5dbb3847c546c4285dad50b5408e56aa42d33dcddbada6e58207bcff702ba-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. 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 updates
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=updates.skip_if_unavailable=true
failure: repodata/85c5dbb3847c546c4285dad50b5408e56aa42d33dcddbada6e58207bcff702ba-primary.sqlite.bz2 from updates: [Errno 256] No more mirrors to try.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment