[Linux-disciples] apt-get with a flaky internet connection.
Adam Rosi-Kessel
adam at rosi-kessel.org
Fri Apr 25 09:29:30 EDT 2008
I think maybe Acquire::Retries
http://linux.die.net/man/5/apt.conf
Add APT::Acquire::Retries=20 to /etc/apt/apt.conf.
Karl Sokol wrote, on 4/25/2008 9:23 AM:
> Hey all, it's been a while,
>
> I am trying to upgrade my computer with "sudo apt-get dist-upgrade".
> Unfortunately, I have an internet connection that comes and goes. After
> a certain amount of time-out errors ...
>
> e.g. "Failed to fetch
> http://archive.ubuntu.com/ubuntu/pool/main/j/jakarta-log4j1.2/liblog4j1.2-java_1.2.13-4_all.deb
> Could not connect to archive.ubuntu.com:80
> <http://archive.ubuntu.com:80> (91.189.92.3 <http://91.189.92.3>),
> connection timed out [IP: 91.189.92.3 <http://91.189.92.3> 80]
> E: Unable to fetch some archives, maybe run apt-get update or try with
> --fix-missing?"
>
> ... the upgrade fails and kicks me to the command prompt. Is there a
> "if at first you don't succeed, try, try again" option?
>
>
> --
> Grace and Peace,
>
> Karl Sokol
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Linux-disciples mailing list
> Linux-disciples at lists.bostoncoop.net
> http://lists.bostoncoop.net/mailman/listinfo/linux-disciples
More information about the Linux-disciples
mailing list