Alicloud 404 error from source list sg.mirrors.cloud.aliyuncs.com on Debian

0 1,724

Get real time updates directly on you device, subscribe now.

If you are using Alicloud services then if you had deployed a ECS instance debian Linux Based then you might have noticed that while updating os via apt gives you several 404 errors with https://sg.mirrors.cloud.aliyuncs.com url , and if you tried editing at etc/apt/source.list or searching for default source list location then its also not there, so how to disable alicloud repo and put official repository on debian?

Well you can find it here:

/etc/apt/sources.list.d/sources-aliyun-0.list

open this file with nano or vi

and put a # at the starting of alicloud repositories, see screen below:

 

 

 

 

 

 

and add the official repositories:

deb http://ftp.us.debian.org/debian/ jessie main contrib non-free
deb-src http://ftp.us.debian.org/debian/ jessie main contrib non-free

now save and update . That’s it.

80%
Awesome
  • Design

Get real time updates directly on you device, subscribe now.

Leave A Reply

Your email address will not be published.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More