在Linux下使用apt update出现下述问题:
可依次使用下述命令解决:
1
2
3
4
5
|
echo "deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse" | tee /etc/apt/sources.list
apt update -o Acquire::AllowInsecureRepositories=true -o Acquire::AllowDowngradeToInsecureRepositories=true
apt install gnupg gnupg2 gnupg1
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys XXXXXX
apt update
|