Ubuntu12.04 更新源
1、首先备份Ubuntu 12.04源列表
sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup (备份下当前的源列表,有备无患嘛)
2、修改更新源
sudo gedit /etc/apt/sources.list (打开Ubuntu 12.04源列表文件)
3、将下面的代码粘贴进去(“#”开头的那一行为注释,可以直接复制进文件中)
4、通知ubuntu启用新的更新源 sudo apt-get update
#台湾源
deb http://tw.archive.ubuntu.com/ubuntu/ precise main universe restricted multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu/ precise main universe restricted multiverse
deb http://tw.archive.ubuntu.com/ubuntu/ precise-security universe main multiverse restricted
deb-src http://tw.archive.ubuntu.com/ubuntu/ precise-security universe main multiverse restricted
deb http://tw.archive.ubuntu.com/ubuntu/ precise-updates universe main multiverse restricted
deb-src http://tw.archive.ubuntu.com/ubuntu/ precise-updates universe main multiverse restricted
#网易 Ubuntu 12.04 源(速度很快)
deb http://mirrors.163.com/ubuntu/ precise main universe restricted multiverse
deb-src http://mirrors.163.com/ubuntu/ precise main universe restricted multiverse
deb http://mirrors.163.com/ubuntu/ precise-security universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ precise-security universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ precise-updates universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ precise-proposed universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ precise-proposed universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ precise-backports universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ precise-backports universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ precise-updates universe main multiverse restricted
#骨头源,骨头源是bones7456架设的一个Ubuntu源 ,提供ubuntu,deepin
deb http://ubuntu.srt.cn/ubuntu/ precise main universe restricted multiverse
deb-src http://ubuntu.srt.cn/ubuntu/ precise main universe restricted multiverse
deb http://ubuntu.srt.cn/ubuntu/ precise-security universe main multiverse restricted
deb-src http://ubuntu.srt.cn/ubuntu/ precise-security universe main multiverse restricted
deb http://ubuntu.srt.cn/ubuntu/ precise-updates universe main multiverse restricted
deb http://ubuntu.srt.cn/ubuntu/ precise-proposed universe main multiverse restricted
deb-src http://ubuntu.srt.cn/ubuntu/ precise-proposed universe main multiverse restricted
deb http://ubuntu.srt.cn/ubuntu/ precise-backports universe main multiverse restricted
deb-src http://ubuntu.srt.cn/ubuntu/ precise-backports universe main multiverse restricted
deb-src http://ubuntu.srt.cn/ubuntu/ precise-updates universe main multiverse restricted
#mirror.lupaworld.com的源,速度很快
deb http://mirror.lupaworld.com/ubuntu/archive/ precise main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu/archive/ precise-security main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu/archive/ precise-updates main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu/archive/ precise-backports main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu/ubuntu-cn/ precise main restricted universe multiverse
#ubuntu.cn99.com源(推荐):
deb http://ubuntu.cn99.com/ubuntu/ precise main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ precise-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ precise-backports main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu-cn/ precise main restricted universe multiverse
#电子科技大学
deb http://ubuntu.uestc.edu.cn/ubuntu/ precise main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ precise-backports main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ precise-proposed main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ precise-security main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ precise-updates main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ precise main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ precise-proposed main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ precise-security main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ precise-updates main restricted universe multiverse
#中国科技大学
deb http://debian.ustc.edu.cn/ubuntu/ precise main restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu/ precise-backports restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu/ precise-proposed main restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu/ precise-security main restricted universe multiverse
deb http://debian.ustc.edu.cn/ubuntu/ precise-updates main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ precise main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ precise-proposed main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ precise-security main restricted universe multiverse
deb-src http://debian.ustc.edu.cn/ubuntu/ precise-updates main restricted universe multiverse
#北京理工大学
deb http://mirror.bjtu.edu.cn/ubuntu/ precise main multiverse restricted universe
deb http://mirror.bjtu.edu.cn/ubuntu/ precise-backports main multiverse restricted universe
deb http://mirror.bjtu.edu.cn/ubuntu/ precise-proposed main multiverse restricted universe
deb http://mirror.bjtu.edu.cn/ubuntu/ precise-security main multiverse restricted universe
deb http://mirror.bjtu.edu.cn/ubuntu/ precise-updates main multiverse restricted universe
deb-src http://mirror.bjtu.edu.cn/ubuntu/ precise main multiverse restricted universe
deb-src http://mirror.bjtu.edu.cn/ubuntu/ precise-backports main multiverse restricted universe
deb-src http://mirror.bjtu.edu.cn/ubuntu/ precise-proposed main multiverse restricted universe
deb-src http://mirror.bjtu.edu.cn/ubuntu/ precise-security main multiverse restricted universe
deb-src http://mirror.bjtu.edu.cn/ubuntu/ precise-updates main multiverse restricted universe
#兰州大学
deb ftp://mirror.lzu.edu.cn/ubuntu/ precise main multiverse restricted universe
deb ftp://mirror.lzu.edu.cn/ubuntu/ precise-backports main multiverse restricted universe
deb ftp://mirror.lzu.edu.cn/ubuntu/ precise-proposed main multiverse restricted universe
deb ftp://mirror.lzu.edu.cn/ubuntu/ precise-security main multiverse restricted universe
deb ftp://mirror.lzu.edu.cn/ubuntu/ precise-updates main multiverse restricted universe
deb ftp://mirror.lzu.edu.cn/ubuntu-cn/ precise main multiverse restricted universe
#上海交通大学
deb http://ftp.sjtu.edu.cn/ubuntu/ precise main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ precise-backports main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ precise-proposed main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ precise-security main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ precise-updates main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu-cn/ precise main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ precise main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ precise-backports main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ precise-proposed main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ precise-security main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ precise-updates main multiverse restricted universe
相关推荐
资源包含deepin-elf-verify_1.0.21-1_arm64.deb 、add-kms.deb、 updatesource.deb
然而,在没有网络连接或者网络环境不稳定的情况下,使用在线apt源会遇到困难。 "ROS melodic 离线apt源"提供了完整的解决方案,允许用户在离线环境下安装ROS Melodic及其所有必需的依赖。这个资源包含了一个已经...
mysql5.7 apt源deb文件
5. **创建apt源仓库** 创建`.deb`包之后,如果想要建立一个`apt`源仓库,让其他用户可以通过`apt-get`或`apt`命令来安装这些软件,需要做以下几步: - 准备仓库目录结构,包括`dists`,`pool`,`Release`和`...
MySQL APT源,ubuntu下载MySQL之前需要下载
检测并以交互方式停用重复的Apt源条目,并删除/etc/sources.list和/etc/sources.list.d/*.list没有有效的已启用源条目的源列表文件。 先决条件 TL; DR:具有受支持的Ubuntu或其他基于Debian的系统,并安装几个Python...
Linux系统各发行版换国内yum或apt源,加速软件下载更新 - 知乎.mhtml
切换ubuntu server的apt-get下载源为阿里云国内地址
由于ubuntu系统是国外开发,所用源也是国外服务器,默认使用系统软件源,导致国内用户下载缓慢,只能更换国内软件源,但是网上大多数都是让你复制黏贴,在server版本上不好操作,这里使用shell脚本编写一个方便使用...
打包的这些只是很少的一部分,比如,现在你要在客户机中#apt-get install vim那肯定是安装不了的,因为主机中根本就没有,如果想要安装怎么办,就在主机进行操作之前把软件给安装好apt-get install vim apt-get ...
apt-get源apt-get源apt-get源apt-get源apt-get源apt-get源apt-get源apt-get源apt-get源apt-get源apt-get源apt-get源apt-get源apt-get源apt-get源apt-get源apt-get源apt-get源apt-get源
麒麟系统V4搭建本地源 麒麟系统V4搭建本地源是指在麒麟系统V4中创建一个本地软件源,以便更好地管理和维护系统中的软件包。本文将详细介绍麒麟系统V4搭建本地源的步骤和相关知识点。 创建本地源目录 在麒麟系统V4...
但是,这通常不是必需的,因为上一步中的`sources.list`已经指定了本地源。 5. **使用本地仓库安装软件**: 现在,你可以像平常一样使用`apt install`命令,它将从本地仓库中寻找并安装软件包。例如: ``` sudo ...
wsl-linux各种脚本一键换apt国内源,pip国内源,更新系统,配置xshell连接,安装xf_wsl
注意,这篇文章其实不是简单的教你怎么换成20.04的源,而是教你一种基于20.04的...cp -ra /etc/apt/sources.list /etc/apt/sources.list.bak 2 搞清楚ubuntu的代号,比如: 4.10Warty Warthog(长疣的疣猪) 5.04Hoary H
#### 三、配置离线apt源 完成上述准备工作后,接下来需要在Ubuntu系统中进行适当的配置,以便系统能够识别并使用这些离线文件。 ##### 1. 创建离线源文件夹 - 打开终端。 - 进入用户主目录:`cd ~` - 创建所需的...
树莓派4B全自动apt换源脚本 树莓派4B全自动apt换源脚本 树莓派4B全自动apt换源脚本 树莓派4B全自动apt换源脚本 树莓派4B全自动apt换源脚本 树莓派4B全自动apt换源脚本 树莓派4B全自动apt换源脚本 树莓派4B全自动apt...
完成服务器端配置后,需将局域网内的Ubuntu主机的APT源指向apt-proxy服务器的IP地址。假设apt-proxy的IP为`192.168.1.1`,端口为`9999`,则需修改每台Ubuntu主机的`/etc/apt/sources.list`文件,添加如下行: ```...
Ubuntu/Debian 自有软件包构建私有源 ...下面我们看看制作私有apt源的过程 安装制作工具: apt-get install dpkg-dev 创建deb文件目录 mkdir -p /usr/local/mydeb 拷贝deb包到deb文件目录 cp xx
APT语言编程过程:工艺人员完成APT系统完成图纸分析,制定加工工艺书写APT源程序,APT运行系统后置处理NC加工程序。APT编程优点:源语言接近自然语言,易为工艺人员接受,工艺人员不用学习数学方法和计算机编程技巧...