我是 Ubuntu 的新用户。12.04(32 位)版本。我已经 1 个月没有更新 Ubuntu 了。现在当我想使用终端更新时,sudo apt-get update
显示:
reading package list done.....
:GPG error: http://in.archive.ubuntu.com precise Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <[email protected]>
W: GPG error: http://in.archive.ubuntu.com precise-backports Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <[email protected]>
当我想使用更新管理器进行更新时,会显示如下信息:
The action would require the installation of packages from not authenticated sources.
我怎么解决这个问题?
答案1
运行以下命令:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5
sudo apt-get update && sudo apt-get upgrade
第一个命令40976EAF437D05B5
从下载密钥keyserver.ubuntu.com
,下一个命令更新您的软件包列表,然后应用所需的更新。