debian/checkupdates
chris f248913ce8
All checks were successful
dockers/debian/pipeline/head This commit looks good
add checkupdates
2020-06-29 10:48:31 +02:00

5 lines
163 B
Bash
Executable file

#!/bin/sh
apt-get -qy update > /dev/null
apt-get -o Debug::NoLocking=yes -s dist-upgrade -y | awk '/^Inst/ {print $2 " " $5}' | wc -l
rm -rf /var/lib/apt/lists/*