File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9090 - run : sudo dpkg --add-architecture i386
9191 if : matrix.architecture == 'i386'
9292
93+ - name : Uninstall snap
94+ run : |
95+ sudo bash ci/remove_snap.sh
96+
9397 - name : Install packages
9498 run : |
9599 PKGS=( \
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ SRC_ALL = \
2020 ci/config.mk*.sed \
2121 ci/if_ver*.vim \
2222 ci/setup-xvfb.sh \
23+ ci/remove_snap.sh \
2324 src/Make_all.mak \
2425 src/README.md \
2526 src/alloc.c \
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env sh
2+ pushd /etc/apt/preferences.d/
3+ cat > nosnap.pref << EOF
4+ # To prevent repository packages from triggering the installation of snap,
5+ # this file forbids snapd from being installed by APT.
6+
7+ Package: snapd
8+ Pin: release a=*
9+ Pin-Priority: -10
10+ EOF
11+ popd
12+ snap remove --purge $( snap list | awk ' !/^Name|^core/ {print $1}' )
13+ apt-get purge -y snapd
You can’t perform that action at this time.
0 commit comments