yum 업데이트에 느낌표 세 개가 표시됩니다.

yum 업데이트에 느낌표 세 개가 표시됩니다.
yum update

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
gitlab_gitlab-ce/x86_64/signature              |  836 B  00:00:00
gitlab_gitlab-ce/x86_64/signature              | 1.0 kB  00:00:00 !!!
gitlab_gitlab-ce-source/signature              |  836 B  00:00:00
gitlab_gitlab-ce-source/signature              |  951 B  00:00:00 !!!
No packages marked for update

다음 질문에 대한 답변을 찾을 수 없어서 이 질문을 게시합니다.

1) 이 항목은 /etc/yum.repos.d의 .repo 파일에 정의된 gpg의 서명 확인과 관련이 있다고 가정합니다.

repo 파일은 GitLab 환경의 기본 설치 중에 생성됩니다. 다른 게시물에서도 이 정확한 결과를 본 적이 있지만, 이 현상에 대해서는 전혀 언급하지 않았습니다.

두 저장소 모두에 여러 항목이 있는 이유는 무엇입니까?

2) 각 저장소의 두 번째 항목 뒤에 표시되는 세 개의 느낌표는 무엇을 의미합니까?

문제에 가장 가까운 것은 이것이다https://www.reddit.com/r/linuxadmin/comments/8c7u80/why_are_there_two_signature_entries_for_some/ 그러나 제 생각에는 이것이 실제로 문제를 해결하는 것은 아닙니다.

답변1

이는 GPG 서명 확인 설정이 꺼져 있으며 다운로드한 패키지의 신뢰성을 확인하기 위한 확인이 이루어지지 않음을 의미합니다.

예를 들어 다음 위치에 있는 Gitlab 저장소 파일에 있습니다.
/etc/yum.repos.d/gitlab_gitlab-ee.repo

값은
gpgcheck=0

Gitlab 서버에서 GPG 키를 설치하고 값을 1로 설정하면 이 문제를 해결할 수 있습니다. Gitlab에 관한 한 이를 수행하기 위한 지침은 다음과 같습니다.
https://docs.gitlab.com/omnibus/update/package_signatures#package-repository-metadata-signing-keys

참고로, 이는 서명 확인을 활성화하는 설정과 gpgcheck혼동되어서 는 안 됩니다.repo_gpgcheck냠 저장소 메타데이터, 패키지 자체보다는.

답변2

내 환경은 Centos 7.6이고 동일한 상황입니다.

출력을 확인했습니다 yum repolist -v.

내가 찾은 Repo-exire것은 .gitlab_gitlab-ce/x86_64​ 반면에 다른 것들은 .gitlab_gitlab-ce-source300 second(s)21,600 second(s)

Repo-id      : extras/7/x86_64
Repo-name    : CentOS-7 - Extras
Repo-revision: 1544457521
Repo-updated : Tue Dec 11 01:00:03 2018
Repo-pkgs    : 321
Repo-size    : 392 M
Repo-mirrors : http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=extras&infra=stock
Repo-baseurl : http://ftp.neowiz.com/centos/7.6.1810/extras/x86_64/ (9 more)
Repo-expire  : 21,600 second(s) (last: Thu Jan 24 11:56:00 2019)
  Filter     : read-only:present
Repo-filename: /etc/yum.repos.d/CentOS-Base.repo

Repo-id      : gitlab_gitlab-ce/x86_64
Repo-name    : gitlab_gitlab-ce
Repo-updated : Tue Jan 22 23:20:38 2019
Repo-pkgs    : 437
Repo-size    : 141 G
Repo-baseurl : https://packages.gitlab.com/gitlab/gitlab-ce/el/7/x86_64/
Repo-expire  : 300 second(s) (last: Thu Jan 24 13:11:16 2019)
  Filter     : read-only:present
Repo-filename: /etc/yum.repos.d/gitlab_gitlab-ce.repo

"!!!"는 저장소 정보가 만료되었음을 의미합니다.

관련 정보