1

I wanted to upgrade faster. I already tried the apt-get update command.

As my network connection is slow, I couldn't be able to finish it.

After 49% I stopped the process by hitting Ctrl+Z.

  • 1
    If the network connection is slow, there's nothing you can do in Ubuntu to fix it, other than maybe playing with your DSL settings. – kos Oct 11 '15 at 19:07
  • can i start upgrade from 49%? – Toufique khan Oct 11 '15 at 19:11
  • If you still have that terminal open, running fg should restart the upgrade from where it was when you stopped it. Is this your question or your question is how to speed up apt-get upgrade? – kos Oct 11 '15 at 19:13
  • You can't make stuff download faster if your internet is slow. You have to upgrade your plan if you need faster speeds. – TheWanderer Oct 11 '15 at 19:20
  • pacman -Sy is more efficient that apt-get update. That's the main reason I ditched ubuntu. I'm on a slow mobile internet connection and all that apt-get does is spit a load of file lists at my screen and still manage to not update the package list after 2hrs or so. – fz_salam May 7 '16 at 8:01
1

Use a Closer Mirror

Auto-Download Security Updates

This may be benefitial to ensure you get the most important updates. You could schedule the downloads for a time at which you don't use the Internet. You can also adjust what is updated/downloaded automatically.

unattended-upgrades instructions

Cache Packages

This will help if you have multiple machines on your network that will use the same updates

1

Install apt-fast :

Ubuntu 14.04 and above :

sudo add-apt-repository ppa:saiarcot895/myppa
sudo apt-get update
sudo apt-get install apt-fast

Older distributions :

https://askubuntu.com/a/501905/458410

and then do :

sudo apt-fast update
sudo apt-fast upgrade

instead of apt-get.

Create an alias :

  • adding this line at the end of /.bashrc

    alias apt-get='apt-fast'

  • launch

    source /.bashrc

and use apt-get as an alias for apt-fast:

apt-get update
  • It will not speed up apt-get update, but it will upgrade faster. – mxdsp Oct 11 '15 at 19:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.