Why is apt-get update so slow?

Why is apt-get update so slow?

So when you type in apt-get update, you see a slow download speed for packages. This just means you’re connected to a server that’s really busy. Check if you have the right repositories is your /etc/apt/sources. list.

Why Sudo apt is not working?

The easiest way to resolve this is to uninstall the package (in your example google-chrome-stable) and reinstall it. It was previously installed incorrectly, apparently. You can also resolve dependency issues piecemeal by typing: sudo apt-get install libpango1* sudo apt-get install libappindicator1* etc.

How long does apt-get update take?

Most of the time upgrades take under 5 minutes. The longest I’ve experienced is about 20 minutes. I’m running computers that are up to 8 years old. Many of them are virtual machines running on that same hardware.

What is apt-fast?

apt-fast is a shell script wrapper for “apt-get” and “aptitude”. It improves downloading speed for packages by providing a correspondence, multiple packages download per connection. Step 1: To use apt-fast wrapper we need to have axel or aria2 package install in our system.

Is it safe to run apt update?

3 Answers. Generally, yes this is safe. For critical packages, though (Postgres, Nginx, etc.), I’d recommend pinning those packages to a specific version so that they do not get updated.

What to do if apt get gets stuck?

This will allow you to still use IPv6 but sets IPv4 as the precedence so that apt-get won’t get stuck. Run sudo sysctl -p to reload the /etc/sysctl.conf settings. A better approach is to use apt-get as follows instead of editing gai.conf file.

Why does apt-get update take so long?

I am running 12.04 AMD64 and have recently started getting an issue that when I update my repos from my connection at home through a terminal, using sudo apt-get update, it takes forever (literally after 2 hours it was at 28%), however when I run from a different location it takes less than 5 minutes to complete.

Why is apt-get update stuck on waiting for headers?

In synaptic, you can disable them under “Settings -> Other Software”. Found this apt-get update stuck on “Waiting for Headers” when using Windows XP ICS very insightful. You may want to try installing and running netselect, and copying the generated sources.list to /etc/apt/sources.list Hope this helps.

Why is apt get stuck in read only mode?

This problem can also be caused by having a read-only file system. If the output contains ro as one of the mount flags, your root file system is in read-only mode. You will have to remount your file system read-write before apt-get update will continue.