Armbian Server : Error

From AbahDoku Wiki
Revision as of 02:24, 19 July 2023 by Akhyar (talk | contribs)

Setelah proses instalasi, penulis melakukan update

apt update

Proses update tidak berjalan mulus, muncul error sebagai berikut :

Err:3 http://deb.debian.org/debian bullseye-updates InRelease
 The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131

dan beberapa error lain

Error Key Public

Ada 2 error Public Key : 1. 0E98404D386FA1D9 2. 6ED0E7B82643E131

Cara memperbaikinya

apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0E98404D386FA1D9

hasilnya :

Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
Executing: /tmp/apt-key-gpghome.MioPgi0to7/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 0E98404D386FA1D9
gpg: key 73A4F27B8DD47936: public key "Debian Archive Automatic Signing Key (11/bullseye) <ftpmaster@debian.org>" imported
gpg: Total number processed: 1
gpg:               imported: 1
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6ED0E7B82643E131

hasilnya :

Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
Executing: /tmp/apt-key-gpghome.gg8VlWanjD/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 6ED0E7B82643E131
gpg: key B7C5D7D6350947F8: public key "Debian Archive Automatic Signing Key (12/bookworm) <ftpmaster@debian.org>" imported
gpg: Total number processed: 1
gpg:               imported: 1

Update

Error Key Public di atas sudah teratasi, tidak lagi muncul saat proses update. Tetapi ada error yang lain.

360 packages can be upgraded. Run 'apt list --upgradable' to see them.
N: Repository 'http://deb.debian.org/debian bullseye-updates InRelease' changed its 'Version' value from  to '11-updates'
N: Repository 'http://deb.debian.org/debian bullseye-updates InRelease' changed its 'Suite' value from 'testing-updates' to 
'oldstable-updates'

Cara memperbaikinya

Edit file /etc/apt/sources.list tambahkan beberapa repository berikut :

deb http://archive.debian.org/debian-security stretch/updates main contrib non free
deb http://archive.debian.org/debian stretch-proposed-updates main
deb http://archive.debian.org/debian/ stretch main contrib non-free

deb http://mirror.unej.ac.id/debian/ stretch main contrib non-free
deb http://mirror.unej.ac.id/debian/ stretch-updates main contrib non-free
deb http://mirror.unej.ac.id/debian-security/ stretch/updates main contrib non-free
deb http://kambing.ui.ac.id/debian/ stretch main contrib non-free
deb http://kambing.ui.ac.id/debian/ stretch-updates main contrib non-free
deb http://kambing.ui.ac.id/debian-security/ stretch/updates main contrib non-free

Kemudian lakukan proses update