教育网下怎么升级Ubuntu软件包?教育网上不了国外网的。先谢谢了!

发布时间:2024-05-07 07:19 发布:上海旅游网

问题描述:

问题解答:

打开终端,输入sudo gedit /etc/apt/sources.list,然后输入一下内容(我的源列表,自己搜集整理的哦)

### 教育网源
## 中国科技大学
deb http://debian.ustc.edu.cn/ubuntu/ jaunty main multiverse restricted universe
deb http://debian.ustc.edu.cn/ubuntu/ jaunty-backports main multiverse restricted universe
deb http://debian.ustc.edu.cn/ubuntu/ jaunty-proposed main multiverse restricted universe
deb http://debian.ustc.edu.cn/ubuntu/ jaunty-security main multiverse restricted universe
deb http://debian.ustc.edu.cn/ubuntu/ jaunty-updates main multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ jaunty main multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ jaunty-backports main multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ jaunty-proposed main multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ jaunty-security main multiverse restricted universe
deb-src http://debian.ustc.edu.cn/ubuntu/ jaunty-updates main multiverse restricted universe

## 上海交通大学
deb http://ftp.sjtu.edu.cn/ubuntu/ jaunty main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ jaunty-backports main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ jaunty-proposed main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ jaunty-security main multiverse restricted universe
deb http://ftp.sjtu.edu.cn/ubuntu/ jaunty-updates main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ jaunty main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ jaunty-security main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ jaunty-updates main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ jaunty-backports main multiverse restricted universe
deb-src http://ftp.sjtu.edu.cn/ubuntu/ jaunty-proposed main multiverse restricted universe

## 成都电子科技大学
deb http://ubuntu.uestc.edu.cn/ubuntu/ jaunty main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ jaunty-backports main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ jaunty-proposed main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ jaunty-security main restricted universe multiverse
deb http://ubuntu.uestc.edu.cn/ubuntu/ jaunty-updates main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ jaunty main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ jaunty-security main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ jaunty-updates main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ jaunty-backports main restricted universe multiverse
deb-src http://ubuntu.uestc.edu.cn/ubuntu/ jaunty-proposed main restricted universe multiverse

## 成都电子科技大学,非uestc官方域名
# deb http://ubuntu.dormforce.net/ubuntu/ jaunty main multiverse restricted universe
# deb http://ubuntu.dormforce.net/ubuntu/ jaunty-backports main multiverse restricted universe
# deb http://ubuntu.dormforce.net/ubuntu/ jaunty-proposed main multiverse restricted universe
# deb http://ubuntu.dormforce.net/ubuntu/ jaunty-security main multiverse restricted universe
# deb http://ubuntu.dormforce.net/ubuntu/ jaunty-updates main multiverse restricted universe
# deb-src http://ubuntu.dormforce.net/ubuntu/ jaunty main multiverse restricted universe
# deb-src http://ubuntu.dormforce.net/ubuntu/ jaunty-security main multiverse restricted universe
# deb-src http://ubuntu.dormforce.net/ubuntu/ jaunty-updates main multiverse restricted universe
# deb-src http://ubuntu.dormforce.net/ubuntu/ jaunty-backports main multiverse restricted universe
# deb-src http://ubuntu.dormforce.net/ubuntu/ jaunty-proposed main multiverse restricted universe

## 北京交通大学
# deb http://mirror.bjtu.edu.cn/ubuntu/ jaunty main restricted universe multiverse
# deb http://mirror.bjtu.edu.cn/ubuntu/ jaunty-updates main restricted universe multiverse
# deb http://mirror.bjtu.edu.cn/ubuntu/ jaunty-security main restricted universe multiverse
# deb http://mirror.bjtu.edu.cn/ubuntu/ jaunty-backports main restricted universe multiverse

## 西南财经大学
# deb http://ftp.swufe.edu.cn/mirror/ubuntu/ jaunty main restricted universe multiverse
# deb http://ftp.swufe.edu.cn/mirror/ubuntu/ jaunty-backports restricted universe multiverse
# deb http://ftp.swufe.edu.cn/mirror/ubuntu/ jaunty-security main restricted universe multiverse
# deb http://ftp.swufe.edu.cn/mirror/ubuntu/ jaunty-updates main restricted universe multiverse
# deb http://ftp.swufe.edu.cn/mirror/ubuntu/ jaunty-proposed main restricted universe multiverse
# deb-src http://ftp.swufe.edu.cn/mirror/ubuntu/ jaunty main restricted universe multiverse
# deb-src http://ftp.swufe.edu.cn/mirror/ubuntu/ jaunty-backports main restricted universe multiverse
# deb-src http://ftp.swufe.edu.cn/mirror/ubuntu/ jaunty-proposed main restricted universe multiverse
# deb-src http://ftp.swufe.edu.cn/mirror/ubuntu/ jaunty-security main restricted universe multiverse
# deb-src http://ftp.swufe.edu.cn/mirror/ubuntu/ jaunty-updates main restricted universe multiverse

## 兰州大学
# deb http://mirror.lzu.edu.cn/ubuntu/ jaunty main multiverse restricted universe
# deb http://mirror.lzu.edu.cn/ubuntu/ jaunty-backports main multiverse restricted universe
# deb http://mirror.lzu.edu.cn/ubuntu/ jaunty-proposed main multiverse restricted universe
# deb http://mirror.lzu.edu.cn/ubuntu/ jaunty-security main multiverse restricted universe
# deb http://mirror.lzu.edu.cn/ubuntu/ jaunty-updates main multiverse restricted universe

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

## Major bug fix updates produced after the final release of the
## distribution.

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.

### 官方源
# deb http://archive.ubuntu.com/ubuntu jaunty main restricted universe multiverse
# deb http://archive.ubuntu.com/ubuntu jaunty-security main restricted universe multiverse
# deb http://archive.ubuntu.com/ubuntu jaunty-updates main restricted universe multiverse
# deb http://archive.ubuntu.com/ubuntu jaunty-backports main restricted universe multiverse
# deb http://archive.ubuntu.com/ubuntu jaunty-proposed main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu jaunty main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu jaunty-security main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu jaunty-updates main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu jaunty-backports main restricted universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu jaunty-proposed main restricted universe multiverse

# deb http://archive.canonical.com/ubuntu jaunty partner
# deb http://security.ubuntu.com/ubuntu jaunty-security universe
# deb http://security.ubuntu.com/ubuntu jaunty-security multiverse
# deb http://security.ubuntu.com/ubuntu jaunty-security main restricted
# deb-src http://archive.canonical.com/ubuntu jaunty partner
# deb-src http://security.ubuntu.com/ubuntu jaunty-security universe
# deb-src http://security.ubuntu.com/ubuntu jaunty-security multiverse
# deb-src http://security.ubuntu.com/ubuntu jaunty-security main restricted

# deb http://cn.archive.ubuntu.com/ubuntu/ jaunty universe
# deb http://cn.archive.ubuntu.com/ubuntu/ jaunty multiverse
# deb http://cn.archive.ubuntu.com/ubuntu/ jaunty main restricted
# deb http://cn.archive.ubuntu.com/ubuntu/ jaunty-updates universe
# deb http://cn.archive.ubuntu.com/ubuntu/ jaunty-updates multiverse
# deb http://cn.archive.ubuntu.com/ubuntu/ jaunty-updates main restricted
# deb http://cn.archive.ubuntu.com/ubuntu/ jaunty-backports main restricted universe multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ jaunty universe
# deb-src http://cn.archive.ubuntu.com/ubuntu/ jaunty multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ jaunty main restricted
# deb-src http://cn.archive.ubuntu.com/ubuntu/ jaunty-updates universe
# deb-src http://cn.archive.ubuntu.com/ubuntu/ jaunty-updates multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ jaunty-updates main restricted
# deb-src http://cn.archive.ubuntu.com/ubuntu/ jaunty-backports main restricted universe multiverse

# deb http://cn.archive.ubuntu.com/ubuntu jaunty main restricted universe multiverse
# deb http://cn.archive.ubuntu.com/ubuntu jaunty-security main restricted universe multiverse
# deb http://cn.archive.ubuntu.com/ubuntu jaunty-updates main restricted universe multiverse
# deb http://cn.archive.ubuntu.com/ubuntu jaunty-backports main restricted universe multiverse
# deb http://cn.archive.ubuntu.com/ubuntu jaunty-proposed main restricted universe multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu jaunty main restricted universe multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu jaunty-security main restricted universe multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu jaunty-updates main restricted universe multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu jaunty-backports main restricted universe multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu jaunty-proposed main restricted universe multiverse

# deb http://archive.ubuntu.org.cn/ubuntu-cn/ jaunty main restricted universe multiverse

## Ubuntu.cn99.com 更新服务器(江苏省常州市电信,推荐电信用户使用)
# deb http://ubuntu.cn99.com/ubuntu/ jaunty main restricted universe multiverse
# deb http://ubuntu.cn99.com/ubuntu/ jaunty-security main restricted universe multiverse
# deb http://ubuntu.cn99.com/ubuntu/ jaunty-updates main restricted universe multiverse
# deb http://ubuntu.cn99.com/ubuntu/ jaunty-proposed main restricted universe multiverse
# deb http://ubuntu.cn99.com/ubuntu/ jaunty-backports main restricted universe multiverse
# deb http://ubuntu.cn99.com/ubuntu-cn/ jaunty main restricted universe multiverse
# deb-src http://ubuntu.cn99.com/ubuntu/ jaunty main restricted universe multiverse
# deb-src http://ubuntu.cn99.com/ubuntu/ jaunty-security main restricted universe multiverse
# deb-src http://ubuntu.cn99.com/ubuntu/ jaunty-updates main restricted universe multiverse
# deb-src http://ubuntu.cn99.com/ubuntu/ jaunty-proposed main restricted universe multiverse
# deb-src http://ubuntu.cn99.com/ubuntu/ jaunty-backports main restricted universe multiverse

## 台湾大学更新服务器(推荐网通用户使用,强烈推荐此源,比较完整)
# deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ jaunty main restricted universe multiverse
# deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ jaunty main restricted universe multiverse
# deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ jaunty-updates main restricted universe multiverse
# deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ jaunty-updates main restricted universe multiverse
# deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ jaunty-backports main restricted universe multiverse
# deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ jaunty-backports main restricted universe multiverse
# deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ jaunty-security main restricted universe multiverse
# deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ jaunty-security main restricted universe multiverse
# deb http://ubuntu.csie.ntu.edu.tw/ubuntu/ jaunty-proposed main multiverse restricted universe
# deb-src http://ubuntu.csie.ntu.edu.tw/ubuntu/ jaunty-proposed main restricted universe multiverse

## 台湾国网中心服务器
# deb http://ftp.twaren.net/Linux/Ubuntu/ubuntu/ jaunty main universe restricted multiverse
# deb http://security.ubuntu.com/ubuntu/ jaunty-security universe main multiverse restricted
# deb http://ftp.twaren.net/Linux/Ubuntu/ubuntu/ jaunty-updates universe main multiverse restricted
# deb-src http://ftp.twaren.net/Linux/Ubuntu/ubuntu/ jaunty main universe restricted multiverse
# deb-src http://security.ubuntu.com/ubuntu/ jaunty-security universe main multiverse restricted
# deb-src http://ftp.twaren.net/Linux/Ubuntu/ubuntu/ jaunty-updates universe main multiverse restricted

## 网易163更新服务器
# deb http://mirrors.163.com/ubuntu/ jaunty main restricted universe multiverse
# deb http://mirrors.163.com/ubuntu/ jaunty-security main restricted universe multiverse
# deb http://mirrors.163.com/ubuntu/ jaunty-updates main restricted universe multiverse
# deb http://mirrors.163.com/ubuntu/ jaunty-proposed main restricted universe multiverse
# deb http://mirrors.163.com/ubuntu/ jaunty-backports main restricted universe multiverse
# deb-src http://mirrors.163.com/ubuntu/ jaunty main restricted universe multiverse
# deb-src http://mirrors.163.com/ubuntu/ jaunty-security main restricted universe multiverse
# deb-src http://mirrors.163.com/ubuntu/ jaunty-updates main restricted universe multiverse
# deb-src http://mirrors.163.com/ubuntu/ jaunty-proposed main restricted universe multiverse
# deb-src http://mirrors.163.com/ubuntu/ jaunty-backports main restricted universe multiverse

使用电子科技大学的源,说明在这里:
http://ubuntu.dormforce.net/

热点新闻