The repository 'http://cdn.debian.net/debian stretch Release' is not signed.

本文记录了在使用Debian 9 (stretch)时遇到的apt-get更新问题及解决方案。主要错误为无法验证仓库签名,提示没有可用的公钥,并且警告系统中不存在沙箱用户 '_apt'。文章提供了修改源地址的方法来解决此问题。
/*********************************************************************************
 *   The repository 'http://cdn.debian.net/debian stretch Release' is not signed.
 * 说明:
 *     debootstrap获取Debian文件系统的时候报错。
 *
 *                                              2018-3-2 深圳 宝安西乡 曾剑锋
 ********************************************************************************/

一、参考文档:
    1. Debian 9 (stretch) - why 'apt-get update' cannot write tmp files?
        https://www.linuxquestions.org/questions/linux-newbie-8/debian-9-stretch-why-%27apt-get-update%27-cannot-write-tmp-files-4175619721/

二、错误现象:
    W: No sandbox user '_apt' on the system, can not drop privileges
    W: GPG error: http://cdn-fastly.deb.debian.org/debian stretch Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010 NO_PUBKEY EF0F382A1A7B6500
    W: The repository 'http://cdn.debian.net/debian stretch Release' is not signed.
    N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
    N: See apt-secure(8) manpage for repository creation and user configuration details.

三、解决办法:
    deb http://httpredir.debian.org/debian stretch main contrib non-free

 

转载于:https://www.cnblogs.com/zengjfgit/p/8494995.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值