You are not logged in.

#1 2016-04-19 15:00:35

TwistedTomZ
Member
Registered: 2015-08-17
Posts: 11

[SOLVED] Pacman connection timed out after -Syu or installing package

Everytime I try to install a package with `pacman -S package`, I get the error:

error: failed retrieving file 'package-name.pkg.tar.xz' from <mirror> : Resolving timed out after 10519 milliseconds

When I run `pacman -Syu`, I get a similar error:

error: failed retrieving file 'core.db' from <mirror> : Resolving timed out after 10519 milliseconds

It seems that everytime pacman tries to connect online it can't, however I do have an active internet connection. Recently I changed to a new internet provider, and it seems that since then I've been experiencing this issue, could it be some sort of firewall issue?

Thanks a lot for your time!

Last edited by TwistedTomZ (2016-04-19 15:55:35)

Offline

#2 2016-04-19 15:07:22

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,865
Website

Re: [SOLVED] Pacman connection timed out after -Syu or installing package

Have you tried a different mirror? If yes, and you still get the same error, try a different nameserver:

https://wiki.archlinux.org/index.php/Pa … rom_mirror


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2016-04-19 15:54:58

TwistedTomZ
Member
Registered: 2015-08-17
Posts: 11

Re: [SOLVED] Pacman connection timed out after -Syu or installing package

I changed my `/etc/resolv.conf` file and I added a new namespace as described here. This seems to work, thanks a lot! big_smile

Offline

Board footer

Powered by FluxBB