Created
March 15, 2016 17:24
-
-
Save darksystem23/eddb0144544d526a3eb2 to your computer and use it in GitHub Desktop.
Ubuntu-Update-System
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Script - Update Repositories, Upgrade System, Update Distribution | |
# Update Repositories Ubuntu | |
sudo apt-get -y update | |
sudo apt-get -y update | |
# Upgrade Dependencies | |
sudo apt-get -y upgrade | |
# Upgrade Distribution Ubuntu | |
sudo apt-get -y dist-upgrade | |
# Check Dependencies retained or broken | |
sudo apt-get -y install -f | |
# Uninstall dependencies that are not in use | |
sudo apt-get -y autoremove | |
# Clean cache apt | |
sudo apt-get -y clean |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment