Ubuntu 12.04 oldreleases

前端之家收集整理的这篇文章主要介绍了Ubuntu 12.04 oldreleases前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

/etc/apt/sources.list

## EOL upgrade sources.list
# required
deb http://old-releases.ubuntu.com/ubuntu/ precise main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse

# Optional
#deb http://old-releases.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
sudo sed -i -re 's/([a-z]{2}\.)?archive.ubuntu.com|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list

sudo sed -i -re ‘s/([a-z]{2}.)?archive.ubuntu.com|security.ubuntu.com/mirrors.aliyun.com/oldubuntu-releases/

https://askubuntu.com/a/516872/220641

原文链接:https://www.f2er.com/ubuntu/352554.html

猜你在找的Ubuntu相关文章