You are not logged in.

#1 2008-08-11 09:54:01

Kane
Member
Registered: 2006-10-08
Posts: 220

pacman TotalDownload bug?

Hi,
I have the TotalDownload option set in pacman.conf.
If i install something with more than 1 package, then the first package always seems to show 100% rather than the percentage of the total files.

e.g.

:: Retrieving packages from core...
 hdparm-8.9-1-i686         48.0K   75.4K/s 00:00:01 [#####################] 100%
 module-init-tools-3...   341.9K   70.9K/s 00:00:05 [#####################]   1%
 kernel26-2.6.26.2-1...    25.3M  114.9K/s 00:03:46 [#####################]  82%

Is this a bug?

Kane

Offline

#2 2008-08-11 11:25:49

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,403
Website

Re: pacman TotalDownload bug?

I can replicate intermittently.  Can you please file a bug report?

Edit:  Just so I remember my replication...
> pacman -S bc bzflag

 bc-1.06-5-i686            95.0K   38.7K/s 00:00:02 [#####################] 100%
 bzflag-2.0.12-1-i686     365.0K   57.7K/s 00:03:11 [---------------------]   3%

Offline

#3 2008-08-11 12:08:50

alessandro_ufms
Member
From: Campo Grande, MS - Brazil
Registered: 2008-06-25
Posts: 153

Re: pacman TotalDownload bug?

I confirm this bug, same happens here.

Offline

#4 2008-08-11 12:26:37

Kane
Member
Registered: 2006-10-08
Posts: 220

Re: pacman TotalDownload bug?

Offline

#5 2008-08-11 21:40:52

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

Re: pacman TotalDownload bug?

Thanks for the report, I proposed a fix.
Hopefully it will be all well in 3.2.1

Edit : also thanks to Allan for the testcase which is the one I used smile

Last edited by shining (2008-08-11 21:41:35)


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

Offline

Board footer

Powered by FluxBB