File tree Expand file tree Collapse file tree 1 file changed +3
-13
lines changed
Expand file tree Collapse file tree 1 file changed +3
-13
lines changed Original file line number Diff line number Diff line change @@ -13,21 +13,11 @@ jobs:
1313 MW_BATCH_LICENSING_ONLINE : true # testing online validation, can remove when this becomes the default
1414 steps :
1515 - checkout
16- # Use AWS-based Ubuntu mirror for better connectivity.
17- # See https://support.circleci.com/hc/en-us/articles/37474192881179-Resolving-Unable-to-connect-to-archive-ubuntu-com-403-Forbidden-Error-in-CircleCI
1816 - run :
19- name : Switch to AWS mirror
17+ name : Remove problematic Launchpad PPAs
2018 command : |
21- sudo sed -i 's|http://archive.ubuntu.com|http://us-east-1.ec2.archive.ubuntu.com|g' /etc/apt/sources.list
22- sudo sed -i 's|http://security.ubuntu.com|http://us-east-1.ec2.archive.ubuntu.com|g' /etc/apt/sources.list
23- # Make APT more robust to network connectivity issues.
24- - run :
25- name : Configure APT behavior
26- command : |
27- echo 'Acquire::ForceIPv4 "true";' | sudo tee /etc/apt/apt.conf.d/99force-ipv4
28- echo 'Acquire::http::Timeout "30";' | sudo tee /etc/apt/apt.conf.d/99timeout
29- echo 'Acquire::Retries "3";' | sudo tee /etc/apt/apt.conf.d/99retries
30- echo 'Acquire::http::Pipeline-Depth "0";' | sudo tee /etc/apt/apt.conf.d/99pipeline
19+ echo "Removing PPA sources from /etc/apt/sources.list.d"
20+ sudo find /etc/apt/sources.list.d/ -type f -name '*.list' -exec grep -l 'ppa.launchpad' {} \; | xargs sudo rm -f
3121 - matlab/install :
3222 products : Optimization_Toolbox Curve_Fitting_Toolbox
3323 - matlab/run-tests :
You can’t perform that action at this time.
0 commit comments