On 10/27/21 03:34, Jan Engelhardt wrote:
On Tuesday 2021-10-26 18:33, Felix Miata wrote:
Is it really necessary to detail locked packages only to ellipsis the vast majority of them?
# zypper -v dup ... The following 1756 items are locked and will not be changed by any action: Available: 4pane-lang AppStream-lang DJPlay-lang DVDStyler-lang Fragments-lang ModemManager-lang MozillaThunderbird NetworkManager NetworkManager-applet NetworkManager-applet-lang NetworkManager-branding-openSUSE NetworkManager-branding-upstream NetworkManager-connection-editor NetworkManager-devel NetworkManager-devel-32bit NetworkManager-fortisslvpn NetworkManager-fortisslvpn-gnome NetworkManager-fortisslvpn-lang NetworkManager-iodine NetworkManager-iodine-gnome NetworkManager-iodine-lang NetworkManager-l2tp NetworkManager-l2tp-gnome NetworkManager-l2tp-lang NetworkManager-lang NetworkManager-libreswan NetworkManager-libreswan-gnome NetworkManager-libreswan-lang NetworkManager-openconnect NetworkManager-openconnect-gnome NetworkManager-openconnect-lang NetworkManager-openvpn NetworkManager-openvpn-gnome NetworkManager-openvpn-lang NetworkManager-pptp NetworkManager-pptp-gnome NetworkManager-pptp-lang NetworkManager-strongswan NetworkManager-strongswan-gnome NetworkManager-strongswan-lang NetworkManager-vpnc NetworkManager-vpnc-gnome NetworkManager-vpnc-lang PackageKit-lang Srain-lang WebKit2GTK-4.0-lang WebKit2GTK-4.1-lang WebKit2GTK-5.0-lang abook-lang accerciser-lang accountsservice-lang adobe-sourcecodepro-fonts adobe-sourcehansans-cn-fonts adobe-sourcehansans-hk-fonts adobe-sourcehansans-jp-fonts adobe-sourcehansans-kr-fonts adobe-sourcehansans-tw-fonts adobe-sourcehanserif-cn-fonts adobe-sourcehanserif-jp-fonts adobe-sourcehanserif-kr-fonts adobe-sourcehanserif-tw-fonts adobe-sourcesans3-fonts adobe-sourcesanspro-fonts adobe-sourceserif4-fonts adobe-sourceserifpro-fonts adriconf-lang agenda-lang aisleriot-lang akonadi-calendar-devel akonadi-calendar-lang akonadi-calendar-tools akonadi-calendar-tools-lang akonadi-contact akonadi-contact-devel akonadi-contact-lang akonadi-import-wizard-lang akonadi-mime-lang akonadi-notes-lang akonadi-search-lang akonadi-server-lang akregator-lang alacarte-lang alkimia-lang almanah-lang amarok-lang amsynth-lang amtk-5-lang analitza-lang anjuta-lang apache-commons-lang apparmor-abstractions apparmor-docs apparmor-parser apparmor-parser-lang apparmor-profiles apparmor-rpm-macros apparmor-utils apparmor-utils-lang appeditor-lang appstream-glib-lang ... and 1642 more items. Installed: ...
1642 more? Really? How about simply
1756 items are locked and will not be changed by any action:
I would agree in the normal case. But then again, you asked for it with -v ;-)
You could also say in a normal case most people only have a handful of packages locked, in my case being able to see the 5-10 locked packages is pretty useful because sometimes I might only lock something for a few days and its nice to get a reminder. I guess someone decided around 100 packages is around where it stops being useful and allocated a buffer big enough to fit around that amount.
You could argue that the verbose option should actually list all of them at the same time you could also make an argument that the number of people with over 100 packages locked is small and so maybe its not worth the complexity of adding further special handling.