Skip to content

Instantly share code, notes, and snippets.

@u1-liquid
Created September 20, 2023 16:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save u1-liquid/05ee2a9241a978387f193e98b7eef9d4 to your computer and use it in GitHub Desktop.
Save u1-liquid/05ee2a9241a978387f193e98b7eef9d4 to your computer and use it in GitHub Desktop.
#!/bin/bash
apt-get update
dpkg --get-selections | grep deinstall | awk '{print $1}' | xargs apt-get --yes purge
apt-get --yes --ignore-hold --with-new-pkgs --allow-change-held-packages upgrade
apt-get --yes --ignore-hold --allow-change-held-packages dist-upgrade
apt-get --yes --purge autoremove
dpkg --get-selections | grep deinstall | awk '{print $1}' | xargs apt-get --yes purge
# vmware-modconfig --console --install-all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment