ubuntu安装阿⾥云镜像地址
Ubuntu安装阿⾥云镜像地址
cd /etc/apt
这个⽬录下的sources.list⽂件
vim /etc/apt/sources.list
使⽤dd全部删除,然后添加阿⾥云的镜像地址
deb mirrors.aliyun/ubuntu/ bionic main restricted universe multiverse
deb mirrors.aliyun/ubuntu/ bionic-security main restricted universe multiverse
deb mirrors.aliyun/ubuntu/ bionic-updates main restricted universe multiverse
deb mirrors.aliyun/ubuntu/ bionic-proposed main restricted universe multiverse
deb mirrors.aliyun/ubuntu/ bionic-backports main restricted universe multiverse
deb-src mirrors.aliyun/ubuntu/ bionic main restricted universe multiverse
deb-src mirrors.aliyun/ubuntu/ bionic-security main restricted universe multiverse
deb-src mirrors.aliyun/ubuntu/ bionic-updates main restricted universe multiverse
deb-src mirrors.aliyun/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src mirrors.aliyun/ubuntu/ bionic-backports main restricted universe multiverse
腾讯云地址
deb t/ubuntu/ bionic main universe restricted multiverse
deb t/ubuntu/ bionic-security main universe restricted multiverse
deb t/ubuntu/ bionic-updates main universe restricted multiverse
deb t/ubuntu/ bionic-backports main universe restricted multiverse
deb-src t/ubuntu/ bionic main universe restricted multiverse
deb-src t/ubuntu/ bionic-security main universe restricted multiverse
deb-src t/ubuntu/ bionic-updates main universe restricted multiverse
ubuntu vim命令deb-src t/ubuntu/ bionic-backports main universe restricted multiverse
如果出现
错误: bionic InRelease
由于没有公钥,⽆法验证下列签名: NO_PUBKEY 3B4FE6ACC0B21F32
因为没有导⼊公钥
解决办法
sudo apt-key adv --keyserver keyserver.ubuntu --recv-keys 3B4FE6ACC0B21F32 3B4FE6ACC0B21F32 3B4FE6ACC0B21F32 3B4FE6ACC0B21F32
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论