apt-get update命令失败 404
从2023年4月23日起,debian9的源包地址更换至新地址
基于debian9的系统如ubuntu16的apt工具源地址都需要切换到新地址
处理方法:
将以下内容替换到/etc/apt/source.list
deb http://archive.debian.org/debian/ stretch main contrib non-free
deb-src http://archive.debian.org/debian/ stretch main contrib non-free
deb http://archive.debian.org/debian-security/ stretch/updates main contrib non-free
deb-src http://archive.debian.org/debian-security/ stretch/updates main contrib non-free
deb http://archive.debian.org/debian/ stretch-backports main contrib non-free
重新执行apt-get update即可