"Raspberry Pi-raspbian" System Exchange Update source

Source: Internet
Author: User

A. Edit/etc/apt/source.list

Command: sudo nano/etc/apt/source.list

or sudo vim/etc/apt/source.list

or sudo gedit/etc/apt/source.list

Which command to use depends on which one you have installed and what you are familiar with

I use the nano command here to see Raspbian comes with the following source:


Then delete them all or comment them all out, continue ...

B. Adding a Xinyuan

Deb < source address > wheezy main contrib non-free

DEB-SRC < source address > wheezy main contrib non-free

Give me a chestnut:

The source address is Tsinghua Mirror: http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/

Deb Http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/wheezy main contrib Non-free

DEB-SRC Http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/wheezy Main contrib Non-free

Give the official image link: http://www.raspbian.org/RaspbianMirrors

Our Chinese Mirror:



C. Successful source change

The old routine, the first thing you have to do

sudo apt update

And then

sudo apt upgrade


Reference: https://www.ncnynl.com/archives/201607/255.html

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.