Guest User

Untitled

a guest
Oct 1st, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.67 KB | None | 0 0
  1. [root@system ~]# yum update
  2. Loaded plugins: fastestmirror
  3. Loading mirror speeds from cached hostfile
  4. CentOS-7-x86_64-extras | 3.4 kB 00:00:00
  5. CentOS-7-x86_64-os | 3.6 kB 00:00:00
  6. CentOS-QPK-7-x86_64 | 2.5 kB 00:00:00
  7. Delivery-Sysadm-CentOS-7-noarch | 2.5 kB 00:00:00
  8. Delivery-Sysadm-CentOS-7-x86_64 | 2.5 kB 00:00:00
  9. Delivery-Sysadm-CentOS-nover-noarch | 2.5 kB 00:00:00
  10. Delivery-Sysadm-CentOS-nover-x86_64 | 2.4 kB 00:00:00
  11. Delivery-Sysadm-nodist-nover-noarch | 2.5 kB 00:00:00
  12. Delivery-Sysadm-nodist-nover-x86_64 | 2.5 kB 00:00:00
  13. HPIT-v2cloud-CentOS-7-noarch | 2.4 kB 00:00:00
  14. HPIT-v2cloud-CentOS-7-x86_64 | 2.4 kB 00:00:00
  15. HPIT-v2cloud-CentOS-nover-noarch | 2.5 kB 00:00:00
  16. HPIT-v2cloud-CentOS-nover-x86_64 | 2.4 kB 00:00:00
  17. HPIT-v2cloud-nodist-nover-noarch | 2.5 kB 00:00:00
  18. HPIT-v2cloud-nodist-nover-x86_64 | 2.5 kB 00:00:00
  19. base | 12 kB 00:00:00
  20. http://mirror.centos.org/centos/7/os/x86_64/repodata/repomd.xml: [Errno -1] Error importing repomd.xml for base: Damaged repomd.xml file
  21. Trying other mirror.
  22.  
  23.  
  24. One of the configured repositories failed (CentOS-7 - Base),
  25. and yum doesn't have enough cached data to continue. At this point the only
  26. safe thing yum can do is fail. There are a few ways to work "fix" this:
  27.  
  28. 1. Contact the upstream for the repository and get them to fix the problem.
  29.  
  30. 2. Reconfigure the baseurl/etc. for the repository, to point to a working
  31. upstream. This is most often useful if you are using a newer
  32. distribution release than is supported by the repository (and the
  33. packages for the previous distribution release still work).
  34.  
  35. 3. Run the command with the repository temporarily disabled
  36. yum --disablerepo=base ...
  37.  
  38. 4. Disable the repository permanently, so yum won't use it by default. Yum
  39. will then just ignore the repository until you permanently enable it
  40. again or use --enablerepo for temporary usage:
  41.  
  42. yum-config-manager --disable base
  43. or
  44. subscription-manager repos --disable=base
  45.  
  46. 5. Configure the failing repository to be skipped, if it is unavailable.
  47. Note that yum will try to contact the repo. when it runs most commands,
  48. so will have to try and fail each time (and thus. yum will be be much
  49. slower). If it is a very temporary problem though, this is often a nice
  50. compromise:
  51.  
  52. yum-config-manager --save --setopt=base.skip_if_unavailable=true
  53.  
  54. failure: repodata/repomd.xml from base: [Errno 256] No more mirrors to try.
  55.  
  56. [root@hc9t07105 ~]# curl http://mirror.centos.org/centos/7/os/x86_64/repodata/repomd.xml
  57. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  58. <html lang="en"><head>
  59. <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  60. <meta charset="utf-8">
  61. .
  62. .
  63. .
Add Comment
Please, Sign In to add comment