diff --git a/app/Modules/Software/BaseTools.php b/app/Modules/Software/BaseTools.php index 32a6fb0..a103138 100644 --- a/app/Modules/Software/BaseTools.php +++ b/app/Modules/Software/BaseTools.php @@ -31,8 +31,11 @@ public function install() parent::install(); // Remove apache2 and MySQL - `sudo apt-get --purge remove mysql-server mysql-client`; - `sudo apt-get --purge remove apache2`; + `sudo service mysql stop`; + `sudo apt-get -y --purge remove mysql-server mysql-client`; + `sudo apt-get -y --purge remove apache2`; + `sudo apt-get -y --purge autoremove`; + `sudo apt-get autoclean`; } public function getVersion(): string