Comment 3 for bug 1427275

Revision history for this message
Scott Moser (smoser) wrote :

I ran this on a fresh cloud instance.
$ cat /etc/cloud/build.info
build_name: server
serial: 20150403.2

$ py2pkgs=$(dpkg -l | grep python | grep -v python3 | awk '{print $2}')
$ for p in $py2pkgs; do
  out=$(sudo apt-get remove --dry-run $p 2>&1); pkgs=$(echo "$out" | awk '$1 == "Remv" && $2 != p { print $2 }' p="$p");
   echo ${p%:*}: $pkgs; done

The things I'm confused about are:
python-idna:
python-pam:
python-serial:

I suspect these are recommends pulling those in.