mirror of
https://github.com/LBRYFoundation/pool.git
synced 2025-08-23 17:37:25 +00:00
Remove Garbage Packages (snap and cloud-init)
This commit is contained in:
parent
21017653f1
commit
31a0ad6dab
1 changed files with 10 additions and 1 deletions
11
install.sh
11
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."
|
||||
|
|
Loading…
Add table
Reference in a new issue