1.进入/etc/apt/apt.conf.d 目录 2.添加Acquire::AllowInsecureRepositories “true”; 3.查询是否修改成功 命令:apt-config dump 这样就成功了;