Skip to content

Commit

Permalink
Remove archive
Browse files Browse the repository at this point in the history
  • Loading branch information
Slackadays committed Oct 1, 2023
1 parent ba003d2 commit 1faf1e8
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/build-clipboard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,10 @@ jobs:
sudo echo "deb [arch=${{ matrix.arch.os }}] http://ports.ubuntu.com/ $(lsb_release -sc)-backports main multiverse universe" | sudo tee -a /etc/apt/sources.list
echo "remove archive ubuntu for ports";
sudo sed -ibak '/\/archive.ubuntu.com/d' /etc/apt/sources.list;
echo "remove security ubuntu for ports";
sudo sed -ibak '/\/security.ubuntu.com/d' /etc/apt/sources.list;
echo "remove security ubuntu from apt mirrors";
sudo sed -ibak '/\/security.ubuntu.com/d' /etc/apt/apt-mirrors.txt;
echo "show the final result for /etc/apt/sources.list";
cat /etc/apt/sources.list;
echo "show the final result for /etc/apt/apt-mirrors.txt";
cat /etc/apt/apt-mirrors.txt;
echo "remove archive ubuntu from apt mirrors";
sudo sed -ibak '/\/archive.ubuntu.com/d' /etc/apt/apt-mirrors.txt;
fi
# This limits apt to only looking or amd64 and i386 from Azure, see https://github.com/actions/virtual-environments/issues/1961
Expand Down

0 comments on commit 1faf1e8

Please sign in to comment.