Debian 7.3 emacs 包无法通过身份验证?

Debian 7.3 emacs 包无法通过身份验证?

我正在使用 Debian 7.3 (x64):

$ uname -a
Linux XXX 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64 GNU/Linux

我觉得这有点奇怪,我以前从未遇到过这种情况。有什么想法可以解决吗?

$ sudo apt-get install emacs
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  emacs23 emacs23-bin-common emacs23-common emacsen-common libm17n-0 libotf0
  m17n-contrib m17n-db
Suggested packages:
  emacs23-common-non-dfsg emacs23-el m17n-docs gawk
The following NEW packages will be installed:
  emacs emacs23 emacs23-bin-common emacs23-common emacsen-common libm17n-0
  libotf0 m17n-contrib m17n-db
0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
Need to get 25.1 MB of archives.
After this operation, 81.1 MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
WARNING: The following packages cannot be authenticated!
  emacsen-common emacs23-common emacs23-bin-common libotf0 m17n-db
  m17n-contrib libm17n-0 emacs23 emacs
Install these packages without verification [y/N]?

并且sources.list。Havana repo 适用于 OpenStack 设备:

$ cat /etc/apt/sources.list
deb ftp://ftp.us.debian.org/debian/ wheezy main
deb http://security.debian.org/ wheezy/updates main

# wheezy-updates, previously known as 'volatile'
deb ftp://ftp.us.debian.org/debian/ wheezy-updates main
deb http://http.debian.net/debian/ wheezy-backports main contrib
# deb-src http://http.debian.net/debian/ wheezy-backports main contrib
deb http://archive.gplhost.com/debian havana-backports main
deb http://archive.gplhost.com/debian havana main

答案1

这些错误通常出现在您没有添加适当的apt-key在您的系统上。我看到您有两个 Debian 可能不知道的存储库,这些包可能来自这些存储库。我指的是以下存储库:

德布http://archive.gplhost.com/debianhavana-backports 主要

德布http://archive.gplhost.com/debian哈瓦那主要

当您升级到新版本的 Debian 或当前计算机上的密钥已过期时,也可能会发生这种情况。无论是哪种情况,可能有助于解决这个问题。

编辑:请谨慎使用上面的 Ubuntu 论坛链接,原帖者使用了它,但似乎破坏了 apt-get。也许 Ask Ubuntu 链接是更好的选择。

相关内容