I am trying to install android studio via terminal on Ubuntu 12.04. However, every time the terminal gets to the download, the file download freezes at some point like this . Sometimes it freezes at 95%. I then have to start all over again. How do I resolve this such that on slight connection drop, the installation doesn't abort/hang. You can clearly see this is the 12th time am trying it from the extension in the download file.
Asked
Active
Viewed 3,041 times
6

antivirtel
- 3,645

mungaih pk
- 161
2 Answers
2
There is no "resume" feature in apt-get
(according to man apt.conf
) nor does dl.google.com support ftp (which would allow you to manually resume)
So the best you can do is:
- to manually download the package from another location (work?) and then
cp /mnt/usb /var/cache/apt/archives
set the
apt-get
time-out to a higher value bygksudo gedit /etc/apt/apt.conf.d/99apt.conf
and entering the following lines into it:Acquire::http::Timeout "10";
Acquire::ftp::Timeout "10";
If the above doesn't make any sense, drop me a note @Fabby.

Fabby
- 34,259
0
You might download that file manually. Then you might unzip
it, and try to install it using INSTALLION
guide.
Ps. then you need to get rid of the trash files: find / -name android-studio-ide-135.1611497-linux.zip

antivirtel
- 3,645
Ctrl +c
and then rerun it. It restarts from where it ended. – Registered User Dec 17 '14 at 09:04