Symptoms
When installing or updating packages using the yum command in SSH, you may receive the following error:
Network error: Connection reset by peer
Description
This occurs when the network connection to an enabled yum repository fails.
Workaround
If the server is not experiencing any network issues or you are unable to determine which repository the server failed to connect to, run the following command in SSH as the root user:
yum clean expire-cache
Comments
0 comments
Article is closed for comments.