Site icon 지락문화예술공작단

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

 

 

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


# 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


[virtualbox]
name=Oracle Linux / RHEL / CentOS-$releasever / $basearch - VirtualBox
baseurl=http://download.virtualbox.org/virtualbox/rpm/el/$releasever/$basearch
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://www.virtualbox.org/download/oracle_vbox_2016.asc

 

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


[virtualbox]
name=Oracle Linux / RHEL / CentOS-$releasever / $basearch - VirtualBox
baseurl=http://download.virtualbox.org/virtualbox/rpm/el/$releasever/$basearch
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://www.virtualbox.org/download/oracle_vbox_2016.asc

 

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

 

파일 교체후


# 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

 

로 정상 업데이트 성공

 

Exit mobile version