Pacman

Historical bug tracker for the Pacman package manager.

The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues

This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
Tasklist

FS#7794 - Show number of pakages to be installed.

Attached to Project: Pacman
Opened by Jason Robinson (archuser) - Sunday, 12 August 2007, 09:40 GMT
Last edited by Xavier (shining) - Wednesday, 30 July 2008, 12:10 GMT
Task Type Feature Request
Category Output
Status Closed
Assigned To Aaron Griffin (phrakture)
Xavier (shining)
Dan McGee (toofishes)
Architecture All
Severity Very Low
Priority Normal
Reported Version 3.0.5
Due in Version 3.2.0
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Just a small request that isn't major important, but it would be nice if pacman was to show the number of packages to be installed.

Example:

Targets: package_1 package_2 package_3 package_4

Number of Packages: 4

Obviously it is only a benefit when there are lots of packages but, still, it'd be nice to know.

Cheers
This task depends upon

Closed by  Xavier (shining)
Wednesday, 30 July 2008, 12:10 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed in 8877c88defdd
Comment by Dan McGee (toofishes) - Monday, 13 August 2007, 11:46 GMT
This is pretty low priority on my scale, so I don't plan to implement it. Patches welcome though, it should not be hard at all as we already do these counts later during the package installation anyway.
Comment by Jason Robinson (archuser) - Monday, 13 August 2007, 17:01 GMT
Well it's hard for me to do seeing as I'm not a programmer!

Anybody care to do a patch please?
Comment by Xavier (shining) - Tuesday, 14 August 2007, 23:25 GMT
Well, I don't find this very useful.
To me, it would just clutters the output with a not so interesting information.
In my opinion, informations like the following are more useful :
http://bugs.archlinux.org/task/7506

I don't care much about the number of packages. I think the total download size (and maybe also individual ones),
as well as the extra space used are more interesting.

I think I was pretty happy with apt-get output, but don't remember exactly what it showed / didn't show. I would need to check that back :)

Maybe the total number of packages could be displayed in a less intrusive way.
Comment by Jason Robinson (archuser) - Wednesday, 15 August 2007, 17:13 GMT
How less intrusive? I'm not asking for it to play a jingle or send a telegram to the queen. What's more intrusive than pacman listing the names of all the packages that are going to be installed? I don't sit there reading all the names of the packages that need to be installed.

If I need 500 packages to install gnome then I would rather see: Number of Packages: 500, rather than the list of 500 packages.

Any of this information could be enabled and disabled in the config file so you only display what you want to display.

Comment by Xavier (shining) - Wednesday, 15 August 2007, 21:30 GMT
What about showing it this way (or similar) :

Targets [4] : package_1 package_2 package_3 package_4
Comment by Dan McGee (toofishes) - Wednesday, 16 January 2008, 05:34 GMT
Something like this if we want to do it? I'm closing this in a week regardless of the outcome.

I'm personally impartial to the matter.
Comment by Xavier (shining) - Wednesday, 16 January 2008, 07:41 GMT
I was proposing something like this indeed.
But, don't you need to change the list_display function for your patch to work?
Comment by Xavier (shining) - Thursday, 24 July 2008, 12:24 GMT
That behavior is fine with me, but you either have to display the string separately or edit list_display for supporting the printf-like scheme.

Loading...