Skip to content

Commit 1faf1e8

Browse files
committed
Remove archive
1 parent ba003d2 commit 1faf1e8

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

โ€Ž.github/workflows/build-clipboard.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,10 @@ jobs:
5555
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
5656
echo "remove archive ubuntu for ports";
5757
sudo sed -ibak '/\/archive.ubuntu.com/d' /etc/apt/sources.list;
58-
echo "remove security ubuntu for ports";
59-
sudo sed -ibak '/\/security.ubuntu.com/d' /etc/apt/sources.list;
6058
echo "remove security ubuntu from apt mirrors";
6159
sudo sed -ibak '/\/security.ubuntu.com/d' /etc/apt/apt-mirrors.txt;
62-
echo "show the final result for /etc/apt/sources.list";
63-
cat /etc/apt/sources.list;
64-
echo "show the final result for /etc/apt/apt-mirrors.txt";
65-
cat /etc/apt/apt-mirrors.txt;
60+
echo "remove archive ubuntu from apt mirrors";
61+
sudo sed -ibak '/\/archive.ubuntu.com/d' /etc/apt/apt-mirrors.txt;
6662
fi
6763
6864
# This limits apt to only looking or amd64 and i386 from Azure, see https://github.com/actions/virtual-environments/issues/1961

0 commit comments

Comments
ย (0)