OS/Linux

yum Error

아르비스 2017. 4. 12. 13:54

1. Error: requested datatype primary not available 

 

# yum clean all 

# rm -f /var/lib/rpm/__db*

# rpm --rebuilddb


2. GPG key retrieval failed: [Errno 14]


rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-{version}