---
title: "Mint11换最快的网易更新源 "
author: "tycomputer"
date: "2012-04-27T09:17:13Z"
tags: []
categories: ["操作系统"]
slug: "mint11"
draft: false
lastmod: "2012-04-27T09:18:36Z"
id: 1500363
url: "https://tycomputer.iteye.com/blog/1500363"
---

备份更新服务器列表文件（会要求输入密码）：
   sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup 

 编辑源的文件：
 sudo gedit /etc/apt/sources.list

把以前的源都注释(前面加 #)，粘贴下面的代码：

deb http://mirrors.163.com/ubuntu/ natty main universe restricted multiverse
deb-src http://mirrors.163.com/ubuntu/ natty main universe restricted multiverse
deb http://mirrors.163.com/ubuntu/ natty-security universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ natty-security universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ natty-updates universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ natty-proposed universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ natty-proposed universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ natty-backports universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ natty-backports universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ natty-updates universe main multiverse restricted


 保存并关闭文件 

更新源列表：sudo apt-get update

更新系统：sudo apt-get upgrade


mint 11 的官方文档说有一个 apt upgrade的命令可以代替 apt-get update;apt-get upgrade两条命令哦～