mirror of
https://github.com/wickedyoda/public-setupfiles.git
synced 2026-11-16 13:31:56 -06:00
Updates and changes
This commit is contained in:
1 parent
59c910462c
commit
1948b36625
20 files changed
+45
-8
No files matched your search
@@ -0,0 +1,22 @@
|
||||
import subprocess
|
||||
|
||||
# Run 'sudo apt update'
|
||||
subprocess.run(['sudo', 'apt', 'update'])
|
||||
|
||||
# Run 'sudo apt upgrade -y'
|
||||
subprocess.run(['sudo', 'apt', 'upgrade', '-y'])
|
||||
|
||||
# Run 'sudo apt full-upgrade -y'
|
||||
subprocess.run(['sudo', 'apt', 'full-upgrade', '-y'])
|
||||
|
||||
# Run 'sudo apt dist-upgrade -y'
|
||||
subprocess.run(['sudo', 'apt', 'dist-upgrade', '-y'])
|
||||
|
||||
# Run 'sudo apt autoremove -y'
|
||||
subprocess.run(['sudo', 'apt', 'autoremove', '-y'])
|
||||
|
||||
# Run 'sudo apt clean -y'
|
||||
subprocess.run(['sudo', 'apt', 'clean', '-y'])
|
||||
|
||||
# Run 'sudo apt purge -y'
|
||||
subprocess.run(['sudo', 'apt', 'purge', '-y'])
|
||||
Reference in new issue
Block a user