debian/checkupdates

6 lines
163 B
Plaintext
Raw Normal View History

2020-06-29 08:48:31 +00:00
#!/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/*