You are not logged in.

#1 2008-03-05 13:34:52

raul_nds
Member
From: Lisbon, Portugal
Registered: 2007-06-28
Posts: 258

[IDEA]Total remaining time shown in Pacman

I don't know if this has already been brought up. If so, another idea, is to improve the forum search engine roll

I think it would be useful if pacman could have something like a ETA for ALL the packages, instead of each one individually. When i'm installing from the virtual consoles, and type something like "pacman -Sy xorg xf86-video-intel ttf-ms-fonts gnome gnome-extra blah blah blah", I would like to know if I should stick around or go to sleep.  Of course this wouldn't be accurate, different repositories have different upload rates. Even though, if pacman could calculate the remaining time, based on the current speed and size left.

Opinions? roll

Offline

#2 2008-03-05 14:53:21

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

Re: [IDEA]Total remaining time shown in Pacman

man pacman.conf

TotalDownload
           When downloading, display the amount downloaded, download rate, ETA, and completed percentage of the entire download list list
           rather than the percent of each individual download target. The progress bar is still based solely on the current file download.


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

Offline

#3 2008-03-05 16:04:22

raul_nds
Member
From: Lisbon, Portugal
Registered: 2007-06-28
Posts: 258

Re: [IDEA]Total remaining time shown in Pacman

Perfect! big_smile

Thanks for the enlightenment.

Offline

#4 2008-03-05 17:25:33

ibendiben
Member
Registered: 2007-10-10
Posts: 519
Website

Re: [IDEA]Total remaining time shown in Pacman

ah, great! Didn't know that smile

Offline

#5 2008-03-06 11:37:04

sebcactus
Member
From: Germany
Registered: 2005-01-27
Posts: 277

Re: [IDEA]Total remaining time shown in Pacman

shining wrote:

man pacman.conf

TotalDownload
           When downloading, display the amount downloaded, download rate, ETA, and completed percentage of the entire download list list
           rather than the percent of each individual download target. The progress bar is still based solely on the current file download.

man pacman.conf
No manual entry for pacman.conf

What am I missing?

Installed packages:
man 1.6f-2
man-pages 2.78-1
pacman 3.1.2-1

Last edited by sebcactus (2008-03-06 11:38:01)

Offline

#6 2008-03-06 11:56:56

carlocci
Member
From: Padova - Italy
Registered: 2008-02-12
Posts: 368

Re: [IDEA]Total remaining time shown in Pacman

carlocci ~  $  LC_ALL=C pacman -Qo /usr/share/man/man5/pacman.conf.5.gz
/usr/share/man/man5/pacman.conf.5.gz is owned by pacman 3.1.2-1

Do you have pacman.conf.5.gz?

Offline

#7 2008-03-06 11:59:28

ibendiben
Member
Registered: 2007-10-10
Posts: 519
Website

Re: [IDEA]Total remaining time shown in Pacman

A recent update changed the location of the manpages. In /etc you will probably find the new config file saved under the name /etc/profile.pacnew. If you didn't made any changes to /etc/profile in the past you can just do a (as root):

mv /etc/profile.pacnew /etc/profile

If you did make modifications you can edit the file to match your customizations first before overwriting.
When above is not your case, and you did use the new /etc/profile already something else is wrong... To be sure you can check your /var/log/pacman.log for that...

Offline

#8 2008-03-06 12:00:07

ST.x
Member
From: Sydney, Australia
Registered: 2008-01-25
Posts: 363
Website

Re: [IDEA]Total remaining time shown in Pacman

sebcactus wrote:
shining wrote:

man pacman.conf

TotalDownload
           When downloading, display the amount downloaded, download rate, ETA, and completed percentage of the entire download list list
           rather than the percent of each individual download target. The progress bar is still based solely on the current file download.

man pacman.conf
No manual entry for pacman.conf

What am I missing?

Installed packages:
man 1.6f-2
man-pages 2.78-1
pacman 3.1.2-1

Have you merged the /etc/profile.pacnew with the old profile file it adds "unset MANPATH"

Offline

#9 2008-03-07 12:09:20

sebcactus
Member
From: Germany
Registered: 2005-01-27
Posts: 277

Re: [IDEA]Total remaining time shown in Pacman

Thanks everybody!
I forgot to merge the new etc/profile.pacnew roll

Offline

#10 2008-03-07 13:11:41

sweiss
Member
Registered: 2004-02-16
Posts: 635

Re: [IDEA]Total remaining time shown in Pacman

Sorry to hijack the thread, but speaking of which - I just reviewed pacman's manpage and its logic regarding configuration files, and I noticed that I have quite a few .pacnew files, for files I did not ever touch (e.g. files in /etc/joe, which I've no idea what that is at all).

Am I the only one with this issue?

Offline

#11 2008-03-07 17:39:24

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

Re: [IDEA]Total remaining time shown in Pacman

sweiss wrote:

Sorry to hijack the thread, but speaking of which - I just reviewed pacman's manpage and its logic regarding configuration files, and I noticed that I have quite a few .pacnew files, for files I did not ever touch (e.g. files in /etc/joe, which I've no idea what that is at all).

Am I the only one with this issue?

How old are these files? And do you happen to know if these files have always belonged to the same package, or if there is possibility that they were moved between packages?
Anyway, there were a few problems in the past, and there are probably still a few in some weird corner cases.

In any cases, it should work most of the time. When it doesn't, try to find a way to reproduce the problem and report it smile


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

Offline

#12 2008-03-07 20:02:48

sweiss
Member
Registered: 2004-02-16
Posts: 635

Re: [IDEA]Total remaining time shown in Pacman

shining wrote:
sweiss wrote:

Sorry to hijack the thread, but speaking of which - I just reviewed pacman's manpage and its logic regarding configuration files, and I noticed that I have quite a few .pacnew files, for files I did not ever touch (e.g. files in /etc/joe, which I've no idea what that is at all).

Am I the only one with this issue?

How old are these files? And do you happen to know if these files have always belonged to the same package, or if there is possibility that they were moved between packages?
Anyway, there were a few problems in the past, and there are probably still a few in some weird corner cases.

In any cases, it should work most of the time. When it doesn't, try to find a way to reproduce the problem and report it smile

Easier said than done wink
But thanks, I'll keep an eye for it.

Offline

Board footer

Powered by FluxBB