Author: Not specified Language: text
Description: Not specified Timestamp: 2015-01-27 14:27:24 -0500
View raw paste Reply
  1. apt-offline is really really simple.
  2.  
  3. 1. On your disconnected computer, instead of upgrading by running
  4.     "sudo apt-get update" and "sudo apt-get upgrade", run
  5.     "apt-offline set --update apt-offline.sig"
  6.  
  7. 2. Then, you put that "apt-offline.sig" file onto a flash drive, and
  8.     go to a computer that has an Internet connection, put the flash
  9.     drive in and run "apt-offline get --bundle bundle.zip
  10. apt-offline.sig"
  11.  
  12. 3. Now copy that "bundle.zip" file to your flash drive and go back to
  13.     your disconnected computer. Run "sudo apt-offline install bundle.zip"
  14.  
  15. 4. TADA! Your disconnected computer has been updated.
  16.  
  17. Of course you need apt-offline installed on both computers, but
  18. according to this chap you should be able to copy just the apt-offline
  19. deb file and install it the "dangerous" way using "dpkg".
  20.  
  21.  
  22. Sorry, just one small correction. Do the steps as I mentioned, and that
  23. will update your repository indexes. To upgrade your packages, follow
  24. those steps *again*, but this time use:
  25.  
  26.    $ apt-offline set --update --upgrade apt-offline.sig
  27.  
  28. Remember that you need to use the first command the first time,
  29. otherwise your computer is not going to know which packages to update.
  30.  
  31.  
  32. You could probably even make it a bit easier by executing the commands from the mounted flash drive each time. That way the files will be created on the flash drive and you won't have to copy the files manually.
View raw paste Reply