pkg
pkg copied to clipboard
pkg is super slow (not internet speed)
I have been using FreeBSD for a longtime and now I downloaded FreeBSD 13 and pkg installations are super slow. Has nothing to do with the internet speed. Something is wrong with pkg.
If I am installing a large software... pkg fetches the files, it pauses like 10-15 secs for each and every downloaded file and then repeats for every next file. This is crazy.
Basically its pausing after every download...
pkg install firefox will take an hour to install...
has nothing to do with internet, seems pkg is not functioning right. I have fiber optic internet.
I guess I'll use older versions of FreeBSD...
Thanks.
That could be possibly because of the pkg mirror and the DNS server you're using. Can you show us your outpuot of dig pkg.freebsd.org
?
pkg uses libfetch, can you try manually fetching via fetch(1)
one of those packages?
It's a little far-fetched, but I just reported #2038. Try invoking pkg
to install something from an interactive shell, and type control-T at it during one of these pauses. That'll show us what pkg
is waiting for.
closed by https://github.com/freebsd/pkg/issues/2038
This is still going on, I’ve used the pkg-t as mentioned and having the same issue. To me this looks like traffic shaping gone wrong? Maybe cause it’s not SSL>? Doesn’t make sense to me. I’ll check it out on wireshark once I have a working system up, but this is crazy.