You are not logged in.

#1 2007-06-17 14:55:55

matt_man22
Member
From: Boston, MA
Registered: 2007-04-28
Posts: 54

Weird Pacman behavior [Solved]

The weirdest thing is happening.  I reformatted and installed Duke.  When I run pacman -Syu, everything goes really slow.  Not the download speed, that is fast, but it pauses for about 30 seconds after every event.  So it will download an update, then pause 30 seconds, then download the next update.  It does this even after installing the newest pacman.

I thought maybe it was a specific problem with Duke, so I reinstalled Voodoo, which worked fine for me before.  However, pacman still does the pauses on a fresh install with Voodoo.  I have not changed any hardware and found nothing about this on the forums.

Any suggestions or things I can look into?

Thanks.

Last edited by matt_man22 (2007-06-17 16:51:56)

Offline

#2 2007-06-17 15:17:35

harlekin
Member
From: Germany
Registered: 2006-07-13
Posts: 408

Re: Weird Pacman behavior [Solved]

Maybe pacman --debug will provide some useful information during those lags.

Maybe running pacman-optimze would improve speed though this only affects pacman's speed when its database is fragmented. This shouldn't be the case if you've formatted before installing which would most likely be the case.


Hail to the thief!

Offline

#3 2007-06-17 16:28:25

mips
Member
Registered: 2006-09-16
Posts: 11
Website

Re: Weird Pacman behavior [Solved]

maybe it's just waiting for a (dead) server reply, so it moves on only after a timeout. check your mirrors wink

Offline

#4 2007-06-17 16:29:48

matt_man22
Member
From: Boston, MA
Registered: 2007-04-28
Posts: 54

Re: Weird Pacman behavior [Solved]

mips wrote:

maybe it's just waiting for a (dead) server reply, so it moves on only after a timeout. check your mirrors wink

That's what I thought, so I changed to the archlinux mirror to be sure.  Here is the debug output:

Targets: kernel-headers-2.6.21.1-1  glibc-2.6-2  attr-2.4.38-1  acl-2.2.44-1  
         binutils-2.17-4  cpio-2.8-1  dialog-1.1_20070514-2  dmapi-2.2.8-1  
         ed-0.5-3  filesystem-0.8-9  fakeroot-1.7.1-2  file-4.21-1  
         findutils-4.2.31-1  gcc-4.2.0-2  hwdetect-0.8-8  klibc-udev-112-1  
         mkinitcpio-0.5.15-1  kernel26-2.6.21.5-1  less-403-1  lvm2-2.02.26-1  
         man-1.6e-2  man-pages-2.54-1  mdadm-2.6.2-1  popt-1.10.6-1  
         tar-1.17-1  udev-112-1  wpa_supplicant-0.5.8-1  xfsprogs-2.8.21-1  
         xfsdump-2.2.45-1  

Total Package Size:   56.82 MB

:: Retrieving packages from current...
debug: file path: '/current/os/i686/kernel-headers-2.6.21.1-1.pkg.tar.gz'
debug: using 'kernel-headers' for download progress
debug: connected to ftp.archlinux.org successfully
debug: file path: '/current/os/i686/glibc-2.6-2.pkg.tar.gz'
debug: using 'glibc' for download progress
debug: unregistering database 'local'
debug: freeing package cache for repository 'local'
debug: closing database 'local'
debug: removing DB current, 3 remaining...
debug: unregistering database 'current'
debug: freeing package cache for repository 'current'
debug: closing database 'current'
debug: removing DB extra, 2 remaining...
debug: unregistering database 'extra'
debug: freeing package cache for repository 'extra'
debug: closing database 'extra'
debug: removing DB community, 1 remaining...
debug: unregistering database 'community'
debug: freeing package cache for repository 'community'
debug: closing database 'community'

I don't see anything wrong, but it seems to be holding up on the network connection for some reason.  This is a new install, so pretty much everything is stock.

Offline

#5 2007-06-17 16:37:51

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

Re: Weird Pacman behavior [Solved]

If you're using ftp protocol, could you try with http also?


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

Offline

#6 2007-06-17 16:51:37

matt_man22
Member
From: Boston, MA
Registered: 2007-04-28
Posts: 54

Re: Weird Pacman behavior [Solved]

shining wrote:

If you're using ftp protocol, could you try with http also?

That worked!  Why would I have problems with FTP?  I used it just fine on my last install, on the same connection?

Offline

#7 2007-06-17 17:23:09

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

Re: Weird Pacman behavior [Solved]

pacman3 uses a totally different library for handling download : libdownload ( http://phraktured.net/libdownload/ )
while pacman2 used libftp.

You can report a bug on bugs.archlinux.org


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

Offline

Board footer

Powered by FluxBB