在OpenVZ Debian容器中发生apt-getauthentication错误

每当我收到来自security.debian.org的升级包时,我得到以下错误:

WARNING: The following packages cannot be authenticated! apache2 apache2-mpm-prefork apache2.2-common ... Install these packages without verification [y/N]? E: Some packages could not be authenticated 

我在OpenVZ容器中运行Debian 6。 我在/etc/apt/sources.list中有以下行:

 deb http://security.debian.org squeeze updates/main updates/contrib 

我有安装debian-archive-keyring并且是最新的。

OpenVZ随附的sources.list模板configuration错误。 运行以下来更正它:

 sed -i 's#security.debian.org squeeze updates/main updates/contrib#security.debian.org/ squeeze/updates main non-free contrib#' /etc/apt/sources.list apt-get update