After yum is installed, the system prompts that the GPG key of the repository has been installed, but this software package is not applicable.

Source: Internet
Author: User
Tags gpg aliyun
Problem: the following error is reported when you use Yum install FTP to install FTP in Linux.
Warning: rpmts_hdrfromfdno: Header V3 RSA/sha1 signature, key ID c105b9de: nokeyretrieving key from http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7 repository "CentOS-6-base-mirrors.aliyun.com" GPG key is installed, but not applicable to this package. Check whether the public key URL of the repository is correctly configured.
According to the error, we can see that there is a problem with the source of aliyun. Solution: 1. Delete the source of the old aliyun.
cd yum.repos.drm -rf CentOS-Base.repo
Note: I found by viewing the file that only the CentOS-Base.repo contains the http://mirrors.aliyun.com/centos/RPM-GPG-KEY-CentOS-7 2. Download the source of an aliyun CentOS-6
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo
Then the problem is solved, and then Yum install FTP is OK ~

After yum is installed, the system prompts that the GPG key of the repository has been installed, but this software package is not applicable.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.