From 31a0ad6dab3ff4c3b066bc80122d1fe796f2edfd Mon Sep 17 00:00:00 2001 From: Ralph Date: Wed, 28 Apr 2021 14:56:51 -0400 Subject: [PATCH] Remove Garbage Packages (snap and cloud-init) --- install.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 0234799..3577c39 100644 --- a/install.sh +++ b/install.sh @@ -2,7 +2,7 @@ ################################################################################ # Original Author: Oakey22 # Maintained by: Coolguy3289 -# Version 1.9 (January 2020) +# Version 1.99 (April 2021) # # Program: # Install Lbry Pool on Ubuntu 18.04 running Nginx, MariaDB, and php7.x @@ -41,9 +41,18 @@ output "" output "" # update package and upgrade Ubuntu + output "Updating System through apt" sudo apt update sudo apt upgrade -y sudo apt autoremove -y + output "Removing Snapd, and Cloud-Init (Ubuntu 18.x+) + sudo snap stop lxc && sudo snap remove lxc + sudo snap stop core18 && sudo snap remove core18 + sudo snap remove snapd + sudo apt purge -y snapd* + sudo apt purge cloud-init* + sudo rm -rf /etc/cloud + sudo apt autoremove -y clear # install all dependencies output "Installing MySQL Repository."