sudo apt-key list | grep "expired: " | sed -ne 's|pub .*/([^ ]*) .*|1|gp' | xargs -n1 sudo apt-key adv --keyserver keys.gnupg.net --recv-keys