Difference between revisions of "Yum repolist"

From wikieduonline
Jump to navigation Jump to search
 
Line 39: Line 39:
 
</pre>
 
</pre>
  
 +
 +
[[yum-config-manager]] --save --setopt=kubernetes.skip_if_unavailable=true
  
 
{{yum}}
 
{{yum}}

Latest revision as of 11:57, 20 March 2024

amazon-linux-extras install epel -y


Play with K8s[edit]

yum repolist
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
 * base: mirror.ams1.nl.leaseweb.net
 * extras: mirror.ams1.nl.leaseweb.net
 * updates: mirror.ams1.nl.leaseweb.net
base                                                                                                                                                                                                                           | 3.6 kB  00:00:00     
docker-ce-stable                                                                                                                                                                                                               | 3.5 kB  00:00:00     
extras                                                                                                                                                                                                                         | 2.9 kB  00:00:00     
https://packages.cloud.google.com/yum/repos/kubernetes-el7-x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below wiki article 

https://wiki.centos.org/yum-errors

If above article doesn't help to resolve this issue please use https://bugs.centos.org/.

base/7/x86_64/primary_db                                                                                                                                                                                                       | 6.1 MB  00:00:00     
docker-ce-stable/7/x86_64/primary_db                                                                         0% [                                                         docker-ce-stable/7/x86_64/primary_db                                                                                                                                                                                           | 138 kB  00:00:00     
extras/7/x86_64/primary_db                                                                                                                                                                                                     | 250 kB  00:00:00     
https://packages.cloud.google.com/yum/repos/kubernetes-el7-x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
updates/7/x86_64                                                                                                                                                                                                               | 2.9 kB  00:00:00     
updates/7/x86_64/primary_db                                                                                  75% [========================================================updates/7/x86_64/primary_db                                                                                                                                                                                                    |  25 MB  00:00:00     
repo id                                                                                                                 repo name                                                                                                               status
base/7/x86_64                                                                                                           CentOS-7 - Base                                                                                                         10072
docker-ce-stable/7/x86_64                                                                                               Docker CE Stable - x86_64                                                                                                 305
extras/7/x86_64                                                                                                         CentOS-7 - Extras                                                                                                         519
kubernetes                                                                                                              Kubernetes                                                                                                                  0
updates/7/x86_64                                                                                                        CentOS-7 - Updates                                                                                                       5766
repolist: 16662


yum-config-manager --save --setopt=kubernetes.skip_if_unavailable=true

YUM, [ install | update | upgrade | search | repolist | list| updateinfo | utils | config-manager | /etc/yum.conf ], /etc/yum/vars/releasever

Advertising: