Updates fail with [Errno 4] Socket Error: timed out Trying other mirror

SUMMARY

This article provides information to resolve DPU appliance update errors caused by yum timing out before the package arrives.

ISSUE

Updates to the appliance fail with

“[Errno 4] Socket Error: timed out

Trying other mirror.”

Cause

This can be caused by yum timing out before the package arrives.  This is often caused by network devices that scan inbound files for downloading.  Yum will only wait 30 seconds before timing out.

Resolution

If it takes longer before the download begins, you can add entry to the yum.conf file that will make yum wait longer.

** Warning for advance users only **

  1. Log into the backup appliance via ssh (putty.exe)
  2. Edit the yum.conf file (vim /etc/yum.conf)
  3. Add entry under the [main] section, called timeout=300.
  4. Exit vim and save changes (:wq)
  5. Now run: yum clean all
  6. Now back in the Unitrends interface, Configure -> Updates. They will now install without the timeout error.

Have more questions?

Contact us

Was this article helpful?
0 out of 0 found this helpful

Provide feedback for the Documentation team!

Browse this section