• How to Resolve 'Pacman > Recv failure: Connection reset by peer'?


    I’ve recently installed Antergos but I’ve been experiencing this particular issue even on the LiveCD before installation. It persisted afterwards. When refreshing the repositories, pacman would sometimes yield “Recv failure: Connection reset by peer” when refreshing the repositories.

    This issue isn’t exclusive to pacman. It also happens very frequently to flatpak and yaourt.

    The default desktop I’m using is GNOME but it also persists on Plasma 5. I’ve reinstalled curl, gnutls, openssl, and openssh but none of that resolved the issue. Any input on how to solve this annoying issue would be greatly appreciated.

  • Change your mirrors. Files are:
    /etc/pacman.d/mirrorlist and /etc/pacman.d/antergos-mirrorlist

    Cheers!

  • @karasu

    Thanks a bunch! Changing mirrors solved it for Pacman and Yaourt. Flatpak is still plagued by the same issue but at least I know that it’s not related now. Thanks again!

connection18 newbie11 Posts 3Views 404
Log in to reply