debian中操作遇到问题记录

1、apt-get update遇到错误

W: GPG error: ftp://ftp.cn.debian.org stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AED4B06F473041FA

 

解决办法:apt-get install debian-archive-keyring 即可

2、寻找apt源

使用apt-spy

#apt-get install apt-spy

#mv /etc/apt/sources.list /etc/apt/sources.list.bak

#apt-spy update

#apt-spy -d stable -a asia -t 5

会新生成source.list

 

你可能感兴趣的:(Debian)