You are not logged in.

#1 2009-08-18 07:23:41

colbert
Member
Registered: 2007-12-16
Posts: 809

[SOLVED]Sits at synchronizing package databases

I can't seem to get past

└─> yaourt -Syu
:: Synchronizing package databases...

A couple times it got to "core is up to date" but then was even frozen there until I got home many hours later. I have run -Syy, also pacman-optimize, and I checked my mirrorlist, still the same thing sad

Appreciate any help, thx!

Last edited by colbert (2009-08-18 19:20:12)

Offline

#2 2009-08-18 08:58:05

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: [SOLVED]Sits at synchronizing package databases

Is -Syy faster?


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#3 2009-08-18 14:33:19

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: [SOLVED]Sits at synchronizing package databases

Perhaps your internet interface device needs reset?  This was my solution to the same problem...........


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#4 2009-08-18 14:53:17

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,557

Re: [SOLVED]Sits at synchronizing package databases

using wget instead of libfetch may solve that too.

Offline

#5 2009-08-18 17:34:00

colbert
Member
Registered: 2007-12-16
Posts: 809

Re: [SOLVED]Sits at synchronizing package databases

shining wrote:

Is -Syy faster?

-Syy actually completes the synchronizing, -Syu hangs, so not a matter of faster I suppose but of one works and the other don't sad

Also my internet connection is fine, and how do I use wget instead of libfetch??

Offline

#6 2009-08-18 19:14:34

aka_arch
Member
Registered: 2007-08-17
Posts: 8

Re: [SOLVED]Sits at synchronizing package databases

Try selecting a mirror which uses http and not ftp.

Offline

#7 2009-08-18 19:19:59

colbert
Member
Registered: 2007-12-16
Posts: 809

Re: [SOLVED]Sits at synchronizing package databases

^^ Genius! That's it! I commented out all the FTP mirrors in mirrorlist, it's going now smile Thanks aka_arch!!

Offline

#8 2009-08-18 21:52:22

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: [SOLVED]Sits at synchronizing package databases

Using FTP here....had the synch problem recur.

Reset the internet modem and retried.  Success on FTP  -Syu.


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#9 2009-10-15 23:44:58

TheGrudge
Member
Registered: 2006-06-15
Posts: 206
Website

Re: [SOLVED]Sits at synchronizing package databases

For me only curl as XFER solved the issue.
Using strace gets me a lot of gettimeofday calls (only libfetch and wget) as well as poll timeouts.
Again, using curl it just runs as usual, but unfortunately curl doesn't seem to have a "resume" option for downloading, also the output is very ugly.
I'd like to fix this problem, but I don't know where to start.
The weird thing: another computer in my network can connect very fast, so it is not a DNS issue.

The difference: My laptop uses networkmanager, the other computer the normal network configuration in rc.conf.
How can I find out what is wrong, and why is it only slow with libfetch or wget?


digiKam developer - www.digikam.org

Offline

Board footer

Powered by FluxBB