Error lengkap yang muncul

$ apt update
Hit:1 http://deb.debian.org/debian trixie InRelease
Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]   
Hit:3 http://security.debian.org/debian-security trixie-security InRelease
Get:4 http://mirrors.tuna.tsinghua.edu.cn/armbian trixie InRelease [39.4 kB]
Err:4 http://mirrors.tuna.tsinghua.edu.cn/armbian trixie InRelease
  Sub-process /usr/bin/sqv returned an error code (1), error message is: Missing key DF00FAF1C577104B50BF1D0093D6889F9F0E78D5, which is needed to verify signature. Missing key 8CFA83D13EB2181EEF5843E41EB30FAF236099FE, which is needed to verify signature.
Fetched 86.8 kB in 1s (83.2 kB/s)
1 package can be upgraded. Run 'apt list --upgradable' to see it.
Warning: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. OpenPGP signature verification failed: http://mirrors.tuna.tsinghua.edu.cn/armbian trixie InRelease: Sub-process /usr/bin/sqv returned an error code (1), error message is: Missing key DF00FAF1C577104B50BF1D0093D6889F9F0E78D5, which is needed to verify signature. Missing key 8CFA83D13EB2181EEF5843E41EB30FAF236099FE, which is needed to verify signature.
Warning: Failed to fetch http://apt.armbian.com/dists/trixie/InRelease  Sub-process /usr/bin/sqv returned an error code (1), error message is: Missing key DF00FAF1C577104B50BF1D0093D6889F9F0E78D5, which is needed to verify signature. Missing key 8CFA83D13EB2181EEF5843E41EB30FAF236099FE, which is needed to verify signature.
Warning: Some index files failed to download. They have been ignored, or old ones used instead.

Issue tersebut muncuk karena Debian tidak menemukan PGP key DF00FAF1C577104B50BF1D0093D6889F9F0E78D5 dan 8CFA83D13EB2181EEF5843E41EB30FAF236099FE yang digunakan untuk validasi paket software yang di download menggunakan apt.

wget https://apt.armbian.com/armbian.key
gpg --dearmor < armbian.key | sudo tee /usr/share/keyrings/armbian.gpg > /dev/null
gpg --dearmor < armbian.key | sudo tee /etc/apt/trusted.gpg.d/armbian.gpg > /dev/null

Bila cara diatas tidak berhasil import key tersebut langsung dari Key Server Ubuntu

gpg --keyserver hkp://keyserver.ubuntu.com --recv-key DF00FAF1C577104B50BF1D0093D6889F9F0E78D5
gpg --keyserver hkp://keyserver.ubuntu.com --recv-key 8CFA83D13EB2181EEF5843E41EB30FAF236099FE

setelah selesai gunakan apt update

$ apt update
Hit:1 http://security.debian.org/debian-security trixie-security InRelease
Hit:2 http://deb.debian.org/debian trixie InRelease                     
Hit:3 http://deb.debian.org/debian trixie-updates InRelease             
Hit:4 http://mirrors.zju.edu.cn/armbian trixie InRelease                
All packages are up to date.

Leave a comment

Your email address will not be published. Required fields are marked *