在virtualBox中安装的Ubuntu22.10中安装MySQL出现Failed to fetch…404 Not Found
如图所示:
解决方法:在xshell中输入
sed -i -r 's/([a-z]{2}.)?archive.ubuntu.com/old-releases.ubuntu.com/g’pt/sources.list
sed -i -r ‘s/security.ubuntu.com/old-releases.ubuntu.com/g’ /etc/apt/sources.list
我是直接输入上述两行代码再执行就成功了,欢迎大家向我提问,一起学习
原文章:https://blog.csdn.net/sunyan3517/article/details/70045130?ops_request_misc=&request_id=&biz_id=102&utm_term=sudo%20apt-get%20update%E5%87%BA%E7%8E%B0404&utm_medium=distribute.pc_search_result.none-task-blog-2allsobaiduweb~default-6-70045130.142v96pc_search_result_base2&spm=1018.2226.3001.4187