Ubuntu Software source update (Campus Network) and summary of issues

Source: Internet
Author: User

Recently in the toss Linux, under the campus network how to get a good software is very let me headache ah ~ ~ ~

Let's summarize!!!

The first is the source address of the campus network:

Tsinghua university:
https://mirrors.tuna.tsinghua.edu.cn/Automatic Selection
https://mirrors6.tuna.tsinghua.edu.cn/only Parse IPv6
https://mirrors4.tuna.tsinghua.edu.cn/only Parse IPv4

Enter after select the image name next to the question mark, select the corresponding version of the source, but must remember that only the IPv6 network must be mirrors modified to MIRRORS6

Test first, address https://mirrors6.tuna.tsinghua.edu.cn/can open, if you can, and your Ubuntu version is 16.04, just use the following address to cover the contents of sources.list.

Deb Http://mirrors6.tuna.tsinghua.edu.cn/ubuntu/xenial main Multiverse restricted universe
Deb Http://mirrors6.tuna.tsinghua.edu.cn/ubuntu/xenial-backports main Multiverse restricted universe
Deb http://mirrors6.tuna.tsinghua.edu.cn/ubuntu/xenial-proposed main Multiverse restricted universe
Deb Http://mirrors6.tuna.tsinghua.edu.cn/ubuntu/xenial-security main Multiverse restricted universe
Deb Http://mirrors6.tuna.tsinghua.edu.cn/ubuntu/xenial-updates main Multiverse restricted universe
DEB-SRC http://mirrors6.tuna.tsinghua.edu.cn/ubuntu/xenial main Multiverse restricted universe
DEB-SRC http://mirrors6.tuna.tsinghua.edu.cn/ubuntu/xenial-backports main Multiverse restricted universe
DEB-SRC http://mirrors6.tuna.tsinghua.edu.cn/ubuntu/xenial-proposed main Multiverse restricted universe
DEB-SRC http://mirrors6.tuna.tsinghua.edu.cn/ubuntu/xenial-security main Multiverse restricted universe
DEB-SRC http://mirrors6.tuna.tsinghua.edu.cn/ubuntu/xenial-updates main Multiverse restricted universe

Zhong ke ustc Mirror source


Here to configure the relevant parameters get, you can choose the version and network line

https://mirrors.ustc.edu.cn/repogen/


Deb Https://ipv6.mirrors.ustc.edu.cn/ubuntu/xenial main restricted universe multiverse
DEB-SRC https://ipv6.mirrors.ustc.edu.cn/ubuntu/xenial main restricted universe multiverse

Deb Https://ipv6.mirrors.ustc.edu.cn/ubuntu/xenial-security main restricted universe multiverse
DEB-SRC https://ipv6.mirrors.ustc.edu.cn/ubuntu/xenial-security main restricted universe multiverse

Deb Https://ipv6.mirrors.ustc.edu.cn/ubuntu/xenial-updates main restricted universe multiverse
DEB-SRC https://ipv6.mirrors.ustc.edu.cn/ubuntu/xenial-updates main restricted universe multiverse

Deb Https://ipv6.mirrors.ustc.edu.cn/ubuntu/xenial-backports main restricted universe multiverse
DEB-SRC https://ipv6.mirrors.ustc.edu.cn/ubuntu/xenial-backports main restricted universe multiverse

# # Not recommended
# deb Https://ipv6.mirrors.ustc.edu.cn/ubuntu/xenial-proposed main restricted universe multiverse
# deb-src https://ipv6.mirrors.ustc.edu.cn/ubuntu/xenial-proposed main restricted universe multiverse


Beijing Jiaotong University
http://mirror.bjtu.edu.cn/cn/

Additional specific configuration references are here:

http://blog.csdn.net/bleachswh/article/details/51423585

The normal IPv4 network will be used later to summarize it:

Summary of issues:

1, if you install the software often appear:

For example, a dependency package error occurred while installing Python-dev :

The following packages has unmet dependencies:

Python-dev:depends:python2. 7-dev (>= 2.7. 3) But it isn't going to be installed

E:unable to correct problems and you have held broken packages.

The big possibility is that your software source configuration is a problem, the version does not correspond, and so on.

2.

Ubuntu Software source update (Campus Network) and summary of issues

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.