Guest User

Untitled

a guest
Jan 18th, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.85 KB | None | 0 0
  1. [root@scw-39016b yum.repos.d]# yum install -y Python3.6
  2. Loaded plugins: fastestmirror
  3. base | 3.6 kB 00:00
  4. centos-kernel | 2.9 kB 00:00
  5. epel/armhfp/metalink | 42 kB 00:00
  6. Could not parse metalink https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=armhfp error was
  7. No repomd file
  8.  
  9.  
  10. One of the configured repositories failed (Unknown),
  11. and yum doesn't have enough cached data to continue. At this point the only
  12. safe thing yum can do is fail. There are a few ways to work "fix" this:
  13.  
  14. 1. Contact the upstream for the repository and get them to fix the problem.
  15.  
  16. 2. Reconfigure the baseurl/etc. for the repository, to point to a working
  17. upstream. This is most often useful if you are using a newer
  18. distribution release than is supported by the repository (and the
  19. packages for the previous distribution release still work).
  20.  
  21. 3. Run the command with the repository temporarily disabled
  22. yum --disablerepo=<repoid> ...
  23.  
  24. 4. Disable the repository permanently, so yum won't use it by default. Yum
  25. will then just ignore the repository until you permanently enable it
  26. again or use --enablerepo for temporary usage:
  27.  
  28. yum-config-manager --disable <repoid>
  29. or
  30. subscription-manager repos --disable=<repoid>
  31.  
  32. 5. Configure the failing repository to be skipped, if it is unavailable.
  33. Note that yum will try to contact the repo. when it runs most commands,
  34. so will have to try and fail each time (and thus. yum will be be much
  35. slower). If it is a very temporary problem though, this is often a nice
  36. compromise:
  37.  
  38. yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true
  39.  
  40. File /var/cache/yum/armhfp/7/epel/metalink.xml does not exist
  41.  
  42. [epel]
  43. name=Extra Packages for Enterprise Linux 7 - $basearch
  44. baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch
  45. metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch
  46. failovermethod=priority
  47. enabled=1
  48. gpgcheck=1
  49. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
  50.  
  51. [epel-debuginfo]
  52. name=Extra Packages for Enterprise Linux 7 - $basearch - Debug
  53. baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch/debug
  54. metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-7&arch=$basearch
  55. failovermethod=priority
  56. enabled=0
  57. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
  58. gpgcheck=1
  59.  
  60. [epel-source]
  61. name=Extra Packages for Enterprise Linux 7 - $basearch - Source
  62. baseurl=http://download.fedoraproject.org/pub/epel/7/SRPMS
  63. metalink=https://mirrors.fedoraproject.org/metalink?repo=epel-source-7&arch=$basearch
  64. failovermethod=priority
  65. enabled=0
  66. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
  67. gpgcheck=1
  68.  
  69. [epel-testing]
  70. name=Extra Packages for Enterprise Linux 7 - Testing - $basearch
  71. baseurl=http://download.fedoraproject.org/pub/epel/testing/7/$basearch
  72. metalink=https://mirrors.fedoraproject.org/metalink?repo=testing-epel7&arch=$basearch
  73. failovermethod=priority
  74. enabled=0
  75. gpgcheck=1
  76. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
  77.  
  78. [epel-testing-debuginfo]
  79. name=Extra Packages for Enterprise Linux 7 - Testing - $basearch - Debug
  80. baseurl=http://download.fedoraproject.org/pub/epel/testing/7/$basearch/debug
  81. metalink=https://mirrors.fedoraproject.org/metalink?repo=testing-debug-epel7&arch=$basearch
  82. failovermethod=priority
  83. enabled=0
  84. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
  85. gpgcheck=1
  86.  
  87. [epel-testing-source]
  88. name=Extra Packages for Enterprise Linux 7 - Testing - $basearch - Source
  89. baseurl=http://download.fedoraproject.org/pub/epel/testing/7/SRPMS
  90. metalink=https://mirrors.fedoraproject.org/metalink?repo=testing-source-epel7&arch=$basearch
  91. failovermethod=priority
  92. enabled=0
  93. gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
  94. gpgcheck=1
Add Comment
Please, Sign In to add comment