Do, or do not. There is no ‘try’

WARNING: The following packages cannot be authenticated!

haven’t use linux for a while, now cum back and got few messages like this when install pakage.

solution?

WARNING: The following packages cannot be authenticated!

foo bar baz

Install these packages without verification [y/N]?

I noticed today that google doesn’t turn up good hits for the fix. The fix is really simple:

apt-get install debian-archive-keyring

apt-get update

That’s it. You now have secure packages from Debian. Nice, eh?

# apt-get install debian-keyring debian-archive-keyring
Reading package lists… Done
Building dependency tree… Done
debian-keyring is already the newest version.
debian-archive-keyring is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 146 not upgraded.
#apt-get update
# apt-get upgrade
Reading package lists… Done
Building dependency tree… Done
The following packages will be upgraded:
adduser apt apt-utils base-files bash bsdmainutils bsdutils busybox
console-common console-data coreutils cron dash debconf debconf-i18n

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.