Beberapa contoh error dengan solusi yang sama di Debian

$ apt-get install rsnapshot
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  liblchown-perl rsync
The following NEW packages will be installed:
  liblchown-perl rsnapshot rsync
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 524 kB of archives.
After this operation, 1,298 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
WARNING: The following packages cannot be authenticated!
  liblchown-perl rsync rsnapshot
Install these packages without verification? [y/N] ^C
$ apt-get install rsnapshot -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  liblchown-perl rsync
The following NEW packages will be installed:
  liblchown-perl rsnapshot rsync
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 524 kB of archives.
After this operation, 1,298 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  liblchown-perl rsync rsnapshot
E: There are problems and -y was used without --force-yes

Error diatas terjadi karena paket yang akan anda install tidak bisa diverifikasi oleh apt, makanya muncul error, coba update repository anda

apt-get update

Bila muncul error seperti ini

Ign http://kambing.ui.ac.id jessie InRelease
Hit http://security.debian.org jessie/updates InRelease
Get:1 http://security.debian.org jessie/updates/main Sources [172 kB]
Hit http://kambing.ui.ac.id jessie-updates InRelease                  
E: Release file for http://kambing.ui.ac.id/debian/dists/jessie-updates/InRelease is expired (invalid since 5d 13h 35min 24s). Updates for this repository will not be applied.

Ganti repository dengan default dari Debian, buka file /etc/apt/sources.list ganti isinya dengan

deb http://httpredir.debian.org/debian jessie main
deb-src http://httpredir.debian.org/debian jessie main
 
deb http://httpredir.debian.org/debian jessie-updates main
deb-src http://httpredir.debian.org/debian jessie-updates main
 
deb http://security.debian.org/ jessie/updates main
deb-src http://security.debian.org/ jessie/updates main

Lalu update kembali

apt-get clean all
apt-get update

Install Debian Keyring

apt-get install debian-keyring debian-archive-keyring
apt-get clean all;
apt-get update

masalah teratasi.

Join the Conversation

3 Comments

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