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:
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.