Advertisement
mech_coder

upgrade_ubuntu.sh

Aug 13th, 2015
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. # Ask for the administrator password upfront
  4. sudo su -c "
  5. sudo apt-get autoclean -y && \
  6. sudo apt-get clean -y && \
  7. sudo apt-get update -y && \
  8. sudo apt-get dist-upgrade -y && \
  9. sudo apt-get upgrade -y && \
  10. sudo apt-get -f install -y && \
  11. sudo dpkg --configure -a;"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement