• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Jaranguda

Belajar Mengajar

  • Home
  • Sponsor/Jasa
  • Tentang

Debian Docker Images At least one invalid signature was encountered

Last Updated on 8 April 2020 By tommy Leave a Comment

Masalah yang muncul di beberapa docker images yang saya pake buat pipeline Jenkins

Reading package lists... Done
W: GPG error: http://security.debian.org/debian-security buster/updates InRelease: At least one invalid signature was encountered.
E: The repository 'http://security.debian.org/debian-security buster/updates InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://deb.debian.org/debian buster InRelease: At least one invalid signature was encountered.
E: The repository 'http://deb.debian.org/debian buster InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://deb.debian.org/debian buster-updates InRelease: At least one invalid signature was encountered.
E: The repository 'http://deb.debian.org/debian buster-updates InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

dari pesan kesalahan diatas, solusi yang paling masuk akal adalah GPG key repository sudah expired atau belum di download sama sekali. Untuk meyakinkan bahwa masalah tersebut ada dimana, saya jalankan docker di laptop docker run -it debian:latest /bin/bash

> docker run -it debian:latest /bin/bash
# output
Unable to find image 'debian:latest' locally
latest: Pulling from library/debian
f15005b0235f: Pull complete 
Digest: sha256:125ab9ab9718f4dba6c3342407bb1923afce4f6b2a12b3a502d818274db9faf9
Status: Downloaded newer image for debian:latest

jalankan apt update -yq tidak ada masalah, tetapi waktu saya menjalankan images debian:latest di server untuk pipeline, masalah yang sama muncul. Tetapi bila dikey key nya masih lama expired dan sudah ada di sistem

apt-key list
# output
/etc/apt/trusted.gpg.d/debian-archive-buster-automatic.gpg
----------------------------------------------------------
pub   rsa4096 2019-04-14 [SC] [expires: 2027-04-12]
      80D1 5823 B7FD 1561 F9F7  BCDD DC30 D7C2 3CBB ABEE
uid           [ unknown] Debian Archive Automatic Signing Key (10/buster) <ftpmaster@debian.org>
sub   rsa4096 2019-04-14 [S] [expires: 2027-04-12]
 
/etc/apt/trusted.gpg.d/debian-archive-buster-security-automatic.gpg
-------------------------------------------------------------------
pub   rsa4096 2019-04-14 [SC] [expires: 2027-04-12]
      5E61 B217 265D A980 7A23  C5FF 4DFA B270 CAA9 6DFA
uid           [ unknown] Debian Security Archive Automatic Signing Key (10/buster) <ftpmaster@debian.org>
sub   rsa4096 2019-04-14 [S] [expires: 2027-04-12]

Saya coba cek hardisk atau inodes mungkin penuh, ternyata benar hardisknya penuh

df -h
# output
Filesystem       Size  Used Avail Use% Mounted on
udev             968M     0  968M   0% /dev
tmpfs            197M   20M  177M  11% /run
/dev/nvme0n1p1   700.7G  700.4G     0 100% /
tmpfs            982M     0  982M   0% /dev/shm
tmpfs            5.0M     0  5.0M   0% /run/lock
tmpfs            982M     0  982M   0% /sys/fs/cgroup
/dev/nvme0n1p15  124M  262K  124M   1% /boot/efi
tmpfs            197M     0  197M   0% /run/user/1000

akar masalah sudah ditemukan, solusinya hapus file yang tidak digunakan atau berukuran besar atau upgrade hardisk. Kalo di AWS EC2, shutdown server, tambah ukuran Volume, reboot.

Tulisan menarik lainnya

  • Install dig di Debian

    Tool dig mempermudah untuk mengecek DNS record melalui terminal Linux. bash: dig: command not found…

  • Cara Upgrade Debian 6.x ke Debian 7.3

    Catatan : sebelum menjalankan proses upgrade backup terlebih dahulu data-data anda, untuk menghindari hal-hal yang…

  • Mengganti Hostname Debian Permanent

    Untuk mengganti hostname Debian secara permanen, contoh kita akan mengganti menjadi kahowa, edit file /etc/hostname…

  • Mengganti Hostname Debian 8

    Perintah yang dianjurkan pada OS yang menggunakan Systemd hostnamectl --static set-hostname hostname tetapi sayangnya perintah…

Filed Under: Linux

Reader Interactions

Leave a Reply Cancel reply

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

Primary Sidebar

Pencarian

Tanya Jawab tentang DevOps SRE CPE, gabung di https://t.me/devopsindonesia

Terbaru

  • Cara Mengganti Port Screen Sharing macOS
  • Cara Menonaktifkan Pager di macOS
  • Cara Mengupdate Nama Apple silicon-as-a-Service Scaleway
  • Cara Force Delete Namespace di Kubernetes
  • Install PHP MariaDB di Mac Monterey

Komentar

  • mazda on Tutorial Lengkap Install Mail Server Postfix Dovecot MariaDB di CentOS 7
  • adi on Menggunakan Mikrotik Sebagai SSH Client
  • aris u on Solusi Simple Queue Mikrotik Tidak Berjalan
  • Bowo on Cara Mematikan SSID Molecool Balifiber
  • aris on Solusi Simple Queue Mikrotik Tidak Berjalan

Tulisan Populer

  • Password Router Huawei HG8245H5 Indihome 1.2m views
  • Password Terbaru ZTE F609 Indihome 784.5k views
  • Password Superadmin Huawei HG8245A 318.3k views
  • Cara Setting Manual Modem GPON ZTE F609 Indihome 273.1k views
  • Cara Setting Wireless ZTE F609 Indihome 257.1k views
  • Mengaktifkan Port LAN di Huawei HG8245 Indihome 169.9k views
  • Akses UseeTV Indihome via Wireless ZTE F609 156.8k views
  • Kemana Menghilangnya Saldo BCA 50 ribu 153.2k views
  • Cara Reset Password ZTE F609 Indihome 147.6k views
  • Cara Setting DHCP Server Modem/Router ZTE F609 113.6k views

Kategori

  • Delphi
  • dll
  • Gambas
  • Internet
  • Java
  • Lazarus
  • Linux
  • PHP
  • Review
  • Teknologi

Sponsor

kadal.id
carakami.com
kuotabisa.com
Untuk jadi sponsor, hubungi kita lewat halaman sponsor
© 2021. Jaranguda
  • Linux
  • PHP
  • Internet
  • Teknologi
  • Delphi
  • Gambas
  • Java