The officially official Devuan Forum!

You are not logged in.

#1 2022-05-28 09:43:11

jaromil
Member
Registered: 2016-11-28
Posts: 32  
Website

[SOLVED] APT install timeout

Hello everyone!

I had this problem using Devuan on Docker images and bare-metal installations when connecting to certain mirrors and even on pkgmaster.

Not sure if anyone has a better solution, so far mine is this adding an "Acquire::Retries" policy of "5" to apt.conf.d

echo "Acquire::Retries \"5\";" | sudo tee /etc/apt/apt.conf.d/avoid-timeouts

Hope this helps anyone experiencing the same problem.

ciao


Not reading often here, if urgent contact me via E-Mail: J @ Dyne.org
GPG fingerprint: 6113 D89C A825 C5CE DD02  C872 73B3 5DA5 4ACB 7D10

Offline

#2 2022-05-28 13:48:31

hevidevi
Member
Registered: 2021-09-17
Posts: 230  

Re: [SOLVED] APT install timeout

Thanks, ive experienced this. What usually works for me is ctrl -c the install/update in the terminal and try again. Usually second try works. But this little one liner is a gem.

Last edited by hevidevi (2022-05-28 13:48:54)

Offline

#3 2023-09-19 21:34:03

Joerg_rw
Member
Registered: 2017-04-23
Posts: 2  

Re: [SOLVED] APT install timeout

rather

tee --append

, just in case...?

Offline

Board footer