Results 1 to 7 of 7

Thread: How to pause download operation in terminal

  1. #1
    Join Date
    Sep 2009
    Beans
    77

    How to pause download operation in terminal

    Is there a way to pause the upgrade or package installation in terminal

  2. #2
    Join Date
    Mar 2008
    Location
    Area 36 /lilongwe
    Beans
    Hidden!

    Re: How to pause download operation in terminal

    ctrl + c (cancels it but next time start from where you left)

    ctrl + z (stops process but then you can't do another process as it remains locked to the first one)

  3. #3
    Join Date
    Mar 2009
    Location
    New Zealand
    Beans
    687
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: How to pause download operation in terminal

    Generally just closing the terminal while it's downloading will pause it, and it'll start downloading from where it left off next time.

    Closing the terminal while it's INSTALLING packages however, is not such a good idea.
    Writer for OMG! Ubuntu!, Editor-in-Chief Ubuntu Gamer. Co-founder of media and software company Ohso.

  4. #4
    Join Date
    Mar 2009
    Location
    New Zealand
    Beans
    687
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: How to pause download operation in terminal

    Generally just closing the terminal while it's downloading will pause it, and it'll start downloading from where it left off next time.

    Closing the terminal while it's INSTALLING packages however, is not such a good idea.
    Writer for OMG! Ubuntu!, Editor-in-Chief Ubuntu Gamer. Co-founder of media and software company Ohso.

  5. #5
    Join Date
    Sep 2009
    Beans
    77

    Re: How to pause download operation in terminal

    ok thanks..ya its not a good idea to close it while a package is getting installed,
    but the upgrading taks takes time..n if suppose i need to pause..it'll resume from the last interrupted point itself ??

  6. #6
    Join Date
    Mar 2009
    Location
    New Zealand
    Beans
    687
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: How to pause download operation in terminal

    Yes, as long as you close it while it is downloading packages, not installing them.

    If you close it while it is installing, then you'll get an error where Ubuntu can't get a lock on apt-get, and you'll have to reconfigure apt or restart the computer and start from the beginning and install them again.

    But if you close it while it's downloading, then it'll just resume from wherever it left off next time you run sudo apt-get upgrade
    Writer for OMG! Ubuntu!, Editor-in-Chief Ubuntu Gamer. Co-founder of media and software company Ohso.

  7. #7
    Join Date
    Nov 2006
    Location
    The Void
    Beans
    Hidden!
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: How to pause download operation in terminal

    Closing while downloading sometimes can lock up the root privileges thing or it has for me once or twice before... I would recommend CTRL+C or something along those lines before just force closing the terminal.
    Current Ubuntu Version: Ubuntu 18.04 X64
    Ubuntu User for 10+ Years...
    Phone: Xiaomi Mi Mix 2 on Android O


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •