File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,11 +20,12 @@ jobs:
2020 - uses : actions/checkout@v2
2121 - name : Install tools
2222 run : |
23- # Replace deb.debian.org with archive.debian.org for buster
24- sed -i 's/deb.debian.org/archive.debian.org/g' /etc/apt/sources.list
25- sed -i 's|security.debian.org|archive.debian.org/debian-security/|g' /etc/apt/sources.list
26- # Also update for buster/updates
27- sed -i '/buster\/updates/d' /etc/apt/sources.list || true
23+ # Completely replace sources.list with proper archive URLs
24+ cat > /etc/apt/sources.list << 'EOF'
25+ deb http://archive.debian.org/debian buster main contrib non-free
26+ deb http://archive.debian.org/debian buster-updates main contrib non-free
27+ deb http://archive.debian.org/debian-security buster/updates main contrib non-free
28+ EOF
2829 apt-get update
2930 apt-get install -y git gcc g++
3031 - name : Set up Miniconda
You can’t perform that action at this time.
0 commit comments