Ubuntu Pastebin

Paste from smoser at Mon, 17 Oct 2016 14:23:20 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
deps="
apt
cloud-guest-utils
coreutils
dash
debconf
e2fsprogs
gnupg2
hostname
ifupdown
iproute2
locales
lsb-release
mount
net-tools
passwd
procps
sed
ssh-import-id
systemd
udev
"

for dep in $deps; do
   if apt-cache show $dep | grep -qi "^Essential:"; then
      echo "$dep" essential
   else
      echo "$dep" non-essential
   fi
done
Download as text