aquaballoon

904upgrade.sh

Sep 25th, 2011
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.50 KB | None | 0 0
  1. #! /bin/bash
  2.  
  3. cd /root
  4.  
  5. wget http://home/web/huree/linux/Download/ubuntu-9.10-alternate-i386.iso
  6.  
  7. mount -o loop ~/ubuntu-9.10-alternate-i386.iso /media/cdrom
  8.  
  9. sh /media/cdrom/cdromupgrade
  10.  
  11. #Start additional SSH daemon = YES
  12. #Include latest updates from the Internet = NO
  13. #The rest is all YES
  14.  
  15. apt-get install update-manager-core
  16.  
  17. echo '[DEFAULT]
  18. Prompt=normal' > /etc/update-manager/release-upgrades
  19.  
  20. do-release-upgrade
  21.  
  22. reboot now
  23.  
  24. #apt-get update
  25. #apt-get upgrade
  26. #apt-get -f install
Advertisement
Add Comment
Please, Sign In to add comment