Jump to content

yum update FAILED

Cowboy Denny

Recommended Posts

How to fix when you get the following error

$ sudo yum update -y
Loaded plugins: fastestmirror, product-id, search-disabled-repos
Loading mirror speeds from cached hostfile
 * base: mirror.sjc02.svwh.net
 * extras: repos.hou.layerhost.com
 * updates: centos.host-engine.com
base                                                                                                                                                                             | 3.6 kB  00:00:00
extras                                                                                                                                                                           | 2.9 kB  00:00:00
updates                                                                                                                                                                          | 2.9 kB  00:00:00
updates/7/x86_64/primary_db    FAILED
http://mirror.centos.org/centos/7/updates/x86_64/repodata/54f2da0acb91b16db376e53c5ce78603a807fb6f45f99d8aa76112d58f722adb-primary.sqlite.bz2: [Errno 12] Timeout on http://mirror.centos.org/centos/7/updates/x86_64/repodata/54f2da0acb91b16db376e53c5ce78603a807fb6f45f99d8aa76112d58f722adb-primary.sqlite.bz2: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 1 seconds')
Trying other mirror.
updates/7/x86_64/primary_db    FAILED

First check your repos by running

yum repolist

Try and clean the metadata

yum clean metadata


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...