Q. I’m trying to install a package using apt-get command. I’m getting warning message that read as follows:

Need to get 15.1MB of archives.
After unpacking 50.2MB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
libmono-sharpzip0.84-cil autopano-sift libpano12-0 libwxbase2.8-0 libwxgtk2.8-0 libpano12-bin libplot2c2 enblend
Install these packages without verification [y/N]?

How do I solve this warning related issue under Debian or Ubuntu Linux 7.10?

A. Just run the following command to get rid of this problem:

Open terminal

Type command:
$ sudo apt-get update

You must always install package using following format to get latest packages:
$ sudo apt-get update && sudo apt-get install {package-name}

apt-key utility

apt-key is used to manage the list of keys used by apt to authenticate packages. Packages which have been authenticated using these keys will be considered trusted. To update the local keyring with the keyring of Debian / Ubuntu archive keys and removes from the keyring the archive keys which are no longer valid.
$ sudo apt-key update
To list keys, enter:
$ sudo apt-key list

pub   1024D/437D05B5 2004-09-12
uid                  Ubuntu Archive Automatic Signing Key 
sub   2048g/79164387 2004-09-12

pub   1024D/FBB75451 2004-12-30
uid                  Ubuntu CD Image Automatic Signing Key 

pub   1024D/E23C5FC3 2007-03-15
uid                  Arnav Ghosh (Automatix Team Lead) 
sub   2048g/C2D84CF8 2007-03-15

pub   1024D/9072870B 2007-08-13 [expires: 2009-08-12]
uid                  jre-phoenix (moblock-deb maintainer) 
sub   1024g/1E5C7A1D 2007-08-13 [expires: 2009-08-12]

To delete a key i.e. rmove a key from the list of trusted keys., enter:
$ sudo apt-key del keyid
$ sudo apt-key remove 1E5C7A1D



Updated for accuracy.

🐧 Get the latest tutorials on Linux, Open Source & DevOps via RSS feed or Weekly email newsletter.

🐧 10 comments so far... add one

CategoryList of Unix and Linux commands
Disk space analyzersncdu pydf
File Managementcat
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network UtilitiesNetHogs dig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04
10 comments… add one
  • Tuxero Jan 29, 2008 @ 21:19

    Cool post, though I found an error:
    you wrote ‘$ sudo apt-get update && sudp apt-get install {package-name}’
    and it should be ‘$ sudo apt-get update && sudo apt-get install {package-name}’
    cheers mate!

  • Donald Jan 30, 2008 @ 0:47

    In case someone wants to copy/paste the commands you include, you should fix “sudp” in the second code box to “sudo.” Feel free to delete this comment after the typo is fixed. Just thought I’d point out the oversight.

  • 🐧 nixCraft Jan 30, 2008 @ 6:18

    The FAQ has been updated. Thanks for feedback.

  • tim Feb 1, 2008 @ 15:47

    Firstly, there’s no such thing as Debian 7.10. You meant Ubuntu.
    Secondly, I think the command you need to use is apt-key.

  • 🐧 nixCraft Feb 1, 2008 @ 16:02


    Thanks for the heads up. The FAQ has been updated.

  • Kanon Dec 11, 2009 @ 11:47

    This fixed it for me:

    apt-get install debian-archive-keyring

    • gokul Mar 27, 2011 @ 6:15

      i have question! how to connect to internet through sony ericsson phone in ubuntu 9 series

  • Jirka Sep 9, 2010 @ 9:13

    The apt-get update fixed it for me. Thanks a lot.

  • Hari Feb 6, 2012 @ 5:40

    It is fixed for me .. thanks

  • Paolo Sep 8, 2013 @ 15:22


    1. What is the connection between the AUTHENTICATION warning and the UPDATE action??.

    2. What is the key-id, in 1024g/1E5C7A1D, and what is the other part for and called??

    3. Why do you say:
    $ sudo apt-key del keyid
    $ sudo apt-key remove 1E5C7A1D

    ?? ()del+remove, del or remove ??


Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre> for code samples. Still have questions? Post it on our forum