You are not logged in.

#1 2009-09-11 19:25:28

riquito
Member
Registered: 2009-09-11
Posts: 3

pacman and -Sw [solved]

Hello, i'm a fresh new user.
I'd like to know if there is any way to have a more verbose output from pacman, using -v doesn't seem to add anything to lines as

libxaw-1.0.6-1-i686      721.0K  860.7K/s 00:00:01 [#####################] 100%
xorg-res-utils-1.0....    54.9K  864.6K/s 00:00:00 [#####################] 100%
dbus-glib-0.80-1-i686    121.2K  754.4K/s 00:00:00 [#####################] 100%

I'd like more output basicly to know what is doing. It seems to me too much slow.
I just launched

pacman -Syy (saw some posts about some slowness currently solved by the double y)
pacman -Sw xorg xfce4

and now i'm stuck waiting it downloads all packages. I download everything at about 800K/s and after each download it sleeps for about 1 minute.
What's appening ? Does it do anything else other than download a file from a repository ? Cpu isn't involved

I launched -Sw because installing was slow in the same way and I wanted to understand if it was a network issues.

Any help is appreciated.

Thanks,
Riccardo Galli

Last edited by riquito (2009-09-11 23:47:44)

Offline

#2 2009-09-11 19:34:10

mcmillan
Member
Registered: 2006-04-06
Posts: 737

Re: pacman and -Sw [solved]

All it's doing at that stage is downloading as far as I know. Have you tried moving another mirror to the top of your mirrorlist file?

Offline

#3 2009-09-11 19:36:31

nowahn
Member
From: elsewhere
Registered: 2008-12-05
Posts: 75

Re: pacman and -Sw [solved]

Hello,

Are you sure all packages are downloaded when it freezes ?
(You can try to uncomment the line "TotalDownload" in your /etc/pacman.conf, so that the percentage displayed by pacman is over the whole stuff to download.)

what happens after 1 minute ?


take time to daydream, inspiration comes ...

Offline

#4 2009-09-11 19:47:45

riquito
Member
Registered: 2009-09-11
Posts: 3

Re: pacman and -Sw [solved]

mcmillan wrote:

Have you tried moving another mirror to the top of your mirrorlist file?

nowahn wrote:

Hello,

Are you sure all packages are downloaded when it freezes ?
(You can try to uncomment the line "TotalDownload" in your /etc/pacman.conf, so that the percentage displayed by pacman is over the whole stuff to download.)

what happens after 1 minute ?

I tried two different mirrors, same result.
When a line like the following
xcursor-themes-1.0....   455.1K  856.2K/s 00:00:01 [#####################] 100%
reach 100%, the file is effectively downloaded (checked on /var/cache/pacman/pkg )

At that point the system seems to do nothing for 1/2 minutes (it's a bit variable).
In a normal environment it should immediately pass to the next file to download ?

Offline

#5 2009-09-11 21:12:42

Mzg
Member
From: Norway
Registered: 2009-09-06
Posts: 43

Re: pacman and -Sw [solved]

It always waits a bit for me too, I thought it was pretty normal? Not that long, though. I've only experienced up to 30 secs delay, I think.


Archer.

Offline

#6 2009-09-11 21:22:08

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: pacman and -Sw [solved]

It's probably waiting for the connection to time out when it hasn't been properly closed.

Although it happens occasionally with powerpill too (seems to be a general mirror problem), at least with powerpill you don't have to wait for sequential connections. You might want to give it a try (pacman -S powerpill).


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#7 2009-09-11 22:48:09

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: pacman and -Sw [solved]

You can change the XferCommand to wget. That usually shows more verbose output.


neutral

Offline

#8 2009-09-11 23:47:28

riquito
Member
Registered: 2009-09-11
Posts: 3

Re: pacman and -Sw [solved]

powerpill is working well, and doesn't block between downloads.
I'll search owever to understand what's the problem with my pacman.

Thank you guys

Offline

Board footer

Powered by FluxBB