Issue
The IM360/IMAV+ deploy script hangs at Reading package lists
Environment
- Imunify360
- ImunifyAV+
- Ubuntu/Debian (could happen on other supported OS)
Symptoms
- After running "bash i360deploy.sh" it hangs at
Reading package lists...
- Notable transfer staling mostly of times, check it trying to download a file from the repository, for example for ubuntu 20.04:
https://repo.imunify360.cloudlinux.com/imunify360/ubuntu/20.04
Solution
If the server is running both IPv4 and IPv6, try to force IPV4 preference, sometimes if the server has a dual-stack the issues may be on IPv6 routing only:
# Prefer IPv4 connections
# precedence ::ffff:0:0/96 100
Alternatively, it's possible to force apt to use IPv4 temporarily and re-run the deploy script:
echo 'Acquire::ForceIPv4 "true";' | sudo tee /etc/apt/apt.conf.d/99force-ipv4
Cause
The installation requires more time than usual, it seems it hangs nonetheless data is being downloaded from the repository at a slow rate.
It may be a temporary intermediate routing issue likely due to BGP peering session changes, anyway it becomes normal as soon as getting a better as-path. Other causes may be local connectivity issues eg cables, interface, internal routing, or limited bandwidth so it's worth double-checking them over there as well.
Comments
0 comments
Please sign in to leave a comment.