You are not logged in.

#1 2006-06-02 13:41:19

astrocrep
Member
Registered: 2006-06-02
Posts: 34

Pacman Constantly Stalls

Say I do:

/# pacman -S xmms

It will tell me there are 5 packages to download...

I say yes...

It will download 2 or 3 of them, and then randomly in the middle of the next file...  it just stops.  The speed drops to zero and thats it.

I do a ctrl+c and then retype the command...  It will start back up were it left off and redownload the incomplete file and complete the installation.

All other internet connectivly seems file.

This consistently happens with whatever package I am installing.

Any ideas.

BTW - Archlinux was JUST what I was looking for. (Former Ubuntu guy)

Thanks,
Rich


HP DM1Z-4100 // 11.6" LED 1366x768 // 1.65ghz AMD E-450 // 4gb Ram // 320gb hdd // ATI 6320 // 100% Archlinux

Offline

#2 2006-06-02 14:34:00

augustob
Member
From: Florianópolis, Brazil
Registered: 2006-03-17
Posts: 135

Re: Pacman Constantly Stalls

As far as I can tell. pacman uses wget to do the actual downloading of packages, so I highly doubt it's a software issue. A decent explanation is that the mirror on top of your list has a "low-quality" (high latency and packet loss) link to you.

I'd try changing the order of the mirrors in /etc/pacman.d/* to something closer to your location.

Offline

#3 2006-06-02 15:07:48

snader
Member
Registered: 2006-03-28
Posts: 51

Re: Pacman Constantly Stalls

Yup, you can use the sortmirrors script for that (run as root: /usr/bin/sortmirrors)

There's a commented-out XferCommand setting in /etc/pacman.conf by the way. Perhaps you can try uncommenting that? Try the mirrors thingie first though. smile

Offline

#4 2006-06-02 15:09:24

astrocrep
Member
Registered: 2006-06-02
Posts: 34

Re: Pacman Constantly Stalls

Cool Ill check out that sortmirrors...

Wierd thing was though, I was getting around 500+ kbps from the site that would stall.

-Rich


HP DM1Z-4100 // 11.6" LED 1366x768 // 1.65ghz AMD E-450 // 4gb Ram // 320gb hdd // ATI 6320 // 100% Archlinux

Offline

#5 2006-06-02 19:48:52

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: Pacman Constantly Stalls

augustob wrote:

As far as I can tell. pacman uses wget to do the actual downloading of packages, so I highly doubt it's a software issue. A decent explanation is that the mirror on top of your list has a "low-quality" (high latency and packet loss) link to you.

That is not the case, pacman only uses wget if you specify that in pacman.conf, and that is not the default.

Offline

#6 2006-06-02 20:15:04

augustob
Member
From: Florianópolis, Brazil
Registered: 2006-03-17
Posts: 135

Re: Pacman Constantly Stalls

Gullible Jones wrote:
augustob wrote:

As far as I can tell. pacman uses wget to do the actual downloading of packages, so I highly doubt it's a software issue. A decent explanation is that the mirror on top of your list has a "low-quality" (high latency and packet loss) link to you.

That is not the case, pacman only uses wget if you specify that in pacman.conf, and that is not the default.

Wow, I didn't know that.

Offline

#7 2006-12-31 17:50:26

ToastedToad
Member
From: Sequim, WA
Registered: 2006-03-08
Posts: 79

Re: Pacman Constantly Stalls

Hmm, I was having the same issues on a new wireless connection last night. Took forever to install KDE. I had to keep starting over, depending on the cache to pick up where it left off.

edit:
:oops: Sorry to resurrect such an old post. I forgot that i just did a search for something else and found this thread, thinking it was recent.

Offline

#8 2006-12-31 18:07:21

yankees26
Member
From: Connecticut, USA
Registered: 2006-09-29
Posts: 190

Re: Pacman Constantly Stalls

My suggestion is.....ignore the suggestion about using sortmirrors script.  It is going to be replaced by rankmirrors  when pacman3 comes out.  It works perfectly fine and won't create blank files in /etc/pacman.d like sortmirrors does sometimes.

BTW: I had to use tinyurl 'cause otherwise the link wouldn't show up like a link, so don't think I am redirecting you to some really odd thing.

Offline

#9 2006-12-31 18:38:21

ToastedToad
Member
From: Sequim, WA
Registered: 2006-03-08
Posts: 79

Re: Pacman Constantly Stalls

Gonna test it out some more today, just to make sure it's actually pacman  and not my wireless dropping out.

Thanks for the info.

Offline

#10 2007-01-11 19:45:18

TSP
Member
Registered: 2007-01-11
Posts: 22

Re: Pacman Constantly Stalls

I have the same problem sad i don't know what to do.

Offline

#11 2007-01-11 20:22:09

CatalinuX
Member
Registered: 2007-01-10
Posts: 8

Re: Pacman Constantly Stalls

TSP wrote:

I have the same problem sad i don't know what to do.

Yup, pacman hangs here too from time to time. I have to hit CTRL+C and then run the command again to make it work.

Offline

#12 2007-01-11 22:33:07

twiistedkaos
Member
Registered: 2006-05-20
Posts: 666

Re: Pacman Constantly Stalls

This has always happened for me, so it's not really a recent issue. Personally I beleive it's more the mirrors than anything, not pacman related. Try changing your mirrors arround some and go from there, I havn't had this issue for about 4 months now since I changed my mirrors

Offline

#13 2007-01-12 01:14:29

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Pacman Constantly Stalls

Try uncommenting XferCommand in your pacman.conf. Pacman will then use wget instead of its internal dowloader to download the packages.

Offline

#14 2007-01-12 12:43:29

CatalinuX
Member
Registered: 2007-01-10
Posts: 8

Re: Pacman Constantly Stalls

I tend to believe it's a pacman issue, since packages always stop downloading themselves at 99 % (at the times pacman hangs) smile

Offline

#15 2007-01-15 22:58:59

ks1
Member
From: Atlanta, Georgia
Registered: 2006-03-26
Posts: 62
Website

Re: Pacman Constantly Stalls

Yes same problem here at 99% drops down to nothing and then finally decides to download the remaining 1% at 5k or so.

Offline

#16 2007-01-17 17:54:27

astrocrep
Member
Registered: 2006-06-02
Posts: 34

Re: Pacman Constantly Stalls

I fixed my issue...

Took me forever to fix it, but I actually found the answer on a vista forum.

I had to remove SPI Firewall and UPNP from my router settings...

No more drop outs or stalls.

-Rich


HP DM1Z-4100 // 11.6" LED 1366x768 // 1.65ghz AMD E-450 // 4gb Ram // 320gb hdd // ATI 6320 // 100% Archlinux

Offline

#17 2007-01-18 21:53:06

Stalwart
Member
From: Latvia, Riga
Registered: 2005-10-18
Posts: 445
Website

Re: Pacman Constantly Stalls

I have similar problem. It isn't pacman problem, it's networking stuff... :? I have:
XferCommand = /usr/bin/wget --passive-ftp -c -t 0 --timeout=10 -O %o %u

It helps


IRC: Stalwart @ FreeNode
Skype ID: thestalwart
WeeChat-devel nightly packages for i686

Offline

#18 2007-01-19 08:14:40

Acid7711
Member
From: Chicago, IL
Registered: 2006-08-18
Posts: 300
Website

Re: Pacman Constantly Stalls

I was going to suggest also, if you have a pretty open router such as I, I've flashed it with the DDWRT firmware, I had some of the connection dropping settings wayyyyy too low. It caused the connections to be dropped before they finished. Bumping them up solved my stalling pacman problems smile

Offline

Board footer

Powered by FluxBB