The following error occurred in the Mac:
Please ask the great god for help and advice.
It seems to be a network problem, first of all, make sure that there is no problem with your networking. You cannot access ubuntu’s source and can modify it.
/etc/apt/sources.list
, use insteadmirrors.aliyun.com
Try to replace archive.ubuntu.com.