Thomashighbaugh
8/22/2018 - 7:46 PM

[A Cron Job I Always Install]

[A Cron Job I Always Install]

# This is only ran after disabling autoremove on aptitude or apt (choose which one you prefer, I like aptitude due to its 
# handling of dependencies breaking less often in my experience but its not too important)

# Ubuntu Version
sudo -s
# Password Entry is Needed Here Always
aptitude update && aptitude upgrade
# Not technically necessary to specifiy aptitude this way, but its less likely to complain if using a random OS variant
# I use Pop OS and Peppermint exclusively for my daily drivers so my scripts are always written for their eccentricies 
# When the upgrade is about to take place, if there is a lot to be downloaded you will have to watch to press "y" to confirm
# Personally I prefer this as the machine has no time to break itself (like forgetting to remove autoremove functionality) 

# Debian Version
su 
# Enter Password for root
aptitude update && aptitude upgrade
# Employed on my servers that run Debian or MX-17 desktops/laptops I sometimes configure or use Live for the tool set
# Notice Debian can be configured to allow root login (su) or not. If the latter than apply the Ubuntu version and it WILL 
# work
# Also needs to have the "y" confirmation I leave on to make sure its not removing vital packages like the desktop
# environment or a package I intend to use but haven't yet