Error: Failed to download metadata for repo ‘virtualbox’

Error: Failed to download metadata for repo ‘virtualbox’: repomd.xml GPG signature verification error: Bad GPG signature

 

OS : RockyLinux8(RHEL8)

VirtualBox

  • 현재 버전 : 7.0.6
  • 업데이트 : 7.0.8

 

 

dnf 통한 업데이트를 진행하자

1
2
3
4
5
# dnf update
Oracle Linux / RHEL / CentOS-8 / x86_64 - VirtualB 1.5 kB/s | 819 B 00:00
Oracle Linux / RHEL / CentOS-8 / x86_64 - VirtualB 2.2 kB/s | 1.7 kB 00:00
Oracle Linux / RHEL / CentOS-8 / x86_64 - VirtualB 1.5 kB/s | 819 B 00:00
Error: Failed to download metadata for repo ‘virtualbox’: repomd.xml GPG signature verification error: Bad GPG signature

에러 발생

 

 

https://download.virtualbox.org/virtualbox/rpm/el/virtualbox.repo

1
2
3
4
5
6
7
[virtualbox]
name=Oracle Linux / RHEL / CentOS-$releasever / $basearch - VirtualBox
enabled=1
gpgcheck=1
repo_gpgcheck=1

 

/etc/yum.repos.d/virtualbox.repo

1
2
3
4
5
6
7
[virtualbox]
name=Oracle Linux / RHEL / CentOS-$releasever / $basearch - VirtualBox
enabled=1
gpgcheck=1
repo_gpgcheck=1

 

gpgkey 파일의 변동이 있었음을 확인 가능

 

파일 교체후

1
2
3
4
5
6
7
8
9
10
11
12
# dnf update
Last metadata expiration check: 0:14:05 ago on Thu Apr 27 11:15:35 2023.
Dependencies resolved.
===================================================================================
Package Arch Version Repository Size
===================================================================================
Upgrading:
VirtualBox-7.0 x86_64 7.0.8_156879_el8-1 virtualbox 94 M
 
Transaction Summary
===================================================================================
Upgrade 1 Packages

 

로 정상 업데이트 성공

 

About KENNETH 19694 Articles
지락문화예술공작단

Be the first to comment

Leave a Reply

Your email address will not be published.


*


This site uses Akismet to reduce spam. Learn how your comment data is processed.