File tree Expand file tree Collapse file tree 4 files changed +27
-4
lines changed Expand file tree Collapse file tree 4 files changed +27
-4
lines changed Original file line number Diff line number Diff line change 5
5
branches :
6
6
- develop
7
7
- release/*
8
+ - da/u24-cleanup
8
9
paths :
9
10
- ' .github/workflows/qemu-image-build.yml'
10
11
- ' qemu-arm64-nix.pkr.hcl'
Original file line number Diff line number Diff line change 198
198
- collect-binaries
199
199
when : debpkg_mode
200
200
201
- - name : Install osquery from nixpkgs binary cache
201
+ - name : Purge snapd
202
202
become : yes
203
203
shell : |
204
204
apt autoremove -y --purge snapd
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ postgres_major:
10
10
# Full version strings for each major version
11
11
postgres_release :
12
12
postgresorioledb-17 : " 17.5.1.009-orioledb"
13
- postgres17 : " 17.4.1.066 "
13
+ postgres17 : " 17.4.1.067-rc.0 "
14
14
postgres15 : " 15.8.1.123"
15
15
16
16
# Non Postgres Extensions
Original file line number Diff line number Diff line change @@ -42,10 +42,32 @@ elif [ -n "$(command -v apt-get)" ]; then
42
42
43
43
source /etc/os-release
44
44
45
- apt-get -y update
46
- apt-get -y upgrade
45
+ apt-mark manual libevent-2.1-7t64
46
+
47
+ apt-get remove -y --purge ansible-core apport appstream bash-completion bcache-tools bind9-dnsutils bind9-host bind9-libs bolt btrfs-progs byobu command-not-found console-setup distro-info eject fonts-ubuntu-console friendly-recovery ftp fwupd gawk gdisk keyboard-configuration libvolume-key1 libssl-dev lvm2 lxd-agent-loader man-db mdadm modemmanager mtd-utils nano netcat-openbsd nfs-common ntfs-3g parted pastebinit screen strace thin-provisioning-tools tmux usb-modeswitch vim vim-runtime wget whiptail xfsprogs
48
+
49
+ apt remove -y --purge libc6-dev linux-libc-dev libevent-dev libpcre3-dev libsystemd-dev packagekit multipath-tools unattended-upgrades plymouth gnupg open-vm-tools xauth lxd-installer publicsuffix libclang-cpp18 python3-twisted python-babel-localedata libicu74 python3-pygments fonts-dejavu* python3-botocore
50
+
51
+
52
+ # remove old kernels
53
+ CURRENT_KERNEL=" $( uname -r | sed ' s/-generic//' ) "
54
+ INSTALLED_KERNELS=$( dpkg -l | awk ' {print $2}' | grep -Eo ' linux-(image|headers|modules|tools)-[0-9]+' | sed -E ' s/linux-(image|headers|modules|tools)-//' | sort -Vu)
55
+ REMOVE_KERNELS=$( echo " $INSTALLED_KERNELS " | grep -v -e " $CURRENT_KERNEL " )
56
+ for VER in $REMOVE_KERNELS ; do
57
+ for PREFIX in linux-headers linux-image linux-modules linux-tools; do
58
+ for PKG in $( dpkg -l | awk ' {print $2}' | grep " ^$PREFIX -$VER " ) ; do
59
+ apt-get purge -y " $PKG "
60
+ done
61
+ done
62
+ done
63
+
47
64
apt-get -y autoremove
48
65
apt-get -y autoclean
66
+ update-grub
67
+
68
+ apt-get -y update
69
+ apt-get -y upgrade
70
+
49
71
fi
50
72
rm -rf /tmp/* /var/tmp/*
51
73
history -c
You can’t perform that action at this time.
0 commit comments