Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch package counter to step counter #502

Open
jengelh opened this issue Dec 14, 2023 · 0 comments
Open

Switch package counter to step counter #502

jengelh opened this issue Dec 14, 2023 · 0 comments
Labels

Comments

@jengelh
Copy link
Contributor

jengelh commented Dec 14, 2023

Version: libzypp-17.31.23-14.6.x86_64 / zypper-1.14.67-2.1.x86_64 (openSUSE Tumbleweed 20231212)

Observed:

When ZYPP_SINGLE_RPMTRANS=1 is in effect, there are lines with duplicate "n/38" shown every now and then, and especially near the end of the transaction.

(26/38) Installing: udev-254.5-7.1.x86_64 ...............................................................................................................[done]
(26/38) Executing postin script for: udev-254.5-7.1.x86_64 ..............................................................................................[done]
(27/38) Installing: systemd-sysvcompat-254.5-7.1.x86_64 .................................................................................................[done]
(28/38) Installing: harfbuzz-devel-8.3.0-2.1.x86_64 .....................................................................................................[done]
(29/38) Installing: ncurses5-devel-6.4.20231202-27.1.x86_64 .............................................................................................[done]
(30/38) Installing: terminfo-iterm-6.4.20231202-27.1.x86_64 .............................................................................................[done]
(31/38) Installing: terminfo-6.4.20231202-27.1.x86_64 ...................................................................................................[done]
(32/38) Installing: joe-4.6-33.1.x86_64 .................................................................................................................[done]
(32/38) Executing prein script for: zypper-1.14.67-2.1.x86_64 ...........................................................................................[done]
(33/38) Installing: zypper-1.14.67-2.1.x86_64 ...........................................................................................................[done]
(34/38) Installing: mc-4.8.30-14.6.x86_64 ...............................................................................................................[done]
(34/38) Executing triggerin script for: desktop-file-utils-0.27-1.1.x86_64 ..............................................................................[done]
(34/38) Executing triggerin script for: gtk2-tools-2.24.33-6.1.x86_64 ...................................................................................[done]
(34/38) Executing triggerin script for: gtk3-tools-3.24.38+111-1.1.x86_64 ...............................................................................[done]
/usr/libexec/mc/cons.saver: setting to root:root 4755 (wrong permissions 0755)
(34/38) Executing postin script for: mc-4.8.30-14.6.x86_64 ..............................................................................................[done]
(35/38) Installing: xtables-addons-3.25-1.12.x86_64 .....................................................................................................[done]
(35/38) Executing postin script for: xtables-addons-3.25-1.12.x86_64 ....................................................................................[done]
(36/38) Installing: rpmlint-mini-2.5.0+git20231211.15d0caff-14.54.x86_64 ................................................................................[done]
(37/38) Installing: meson-1.3.0-2.1.noarch ..............................................................................................................[done]
(38/38) Installing: libraw23-0.21.1-4.1.x86_64 ..........................................................................................................[done]
(38/38) Executing postin script for: libraw23-0.21.1-4.1.x86_64 .........................................................................................[done]
(38/38) Executing preun script for: udev-254.5-6.1.x86_64 ...............................................................................................[done]
(38/38) Cleaning up: udev-254.5-6.1.x86_64 ..............................................................................................................[done]
(38/38) Executing postun script for: udev-254.5-6.1.x86_64 ..............................................................................................[done]
(38/38) Executing preun script for: systemd-network-254.5-6.1.x86_64 ....................................................................................[done]
(38/38) Cleaning up: systemd-network-254.5-6.1.x86_64 ...................................................................................................[done]
(38/38) Executing postun script for: systemd-network-254.5-6.1.x86_64 ...................................................................................[done]
(38/38) Executing preun script for: systemd-container-254.5-6.1.x86_64 ..................................................................................[done]
(38/38) Cleaning up: systemd-container-254.5-6.1.x86_64 .................................................................................................[done]
(38/38) Executing postun script for: systemd-container-254.5-6.1.x86_64 .................................................................................[done]
(38/38) Cleaning up: harfbuzz-devel-8.3.0-1.1.x86_64 ....................................................................................................[done]
(38/38) Cleaning up: ncurses5-devel-6.4.20231202-26.1.x86_64 ............................................................................................[done]
(38/38) Cleaning up: ncurses-devel-6.4.20231202-26.1.x86_64 .............................................................................................[done]
(38/38) Cleaning up: tack-1.09.20221229-26.1.x86_64 .....................................................................................................[done]
(38/38) Cleaning up: systemd-sysvcompat-254.5-6.1.x86_64 ................................................................................................[done]
(38/38) Cleaning up: typelib-1_0-HarfBuzz-0_0-8.3.0-1.1.x86_64 ..........................................................................................[done]
(38/38) Cleaning up: libpolkit-gobject-1-0-123-1.1.x86_64 ...............................................................................................[done]
(38/38) Executing postun script for: libpolkit-gobject-1-0-123-1.1.x86_64 ...............................................................................[done]
(38/38) Executing preun script for: polkit-123-1.1.x86_64 ...............................................................................................[done]
(38/38) Cleaning up: polkit-123-1.1.x86_64 ..............................................................................................................[done]
(38/38) Executing postun script for: polkit-123-1.1.x86_64 ..............................................................................................[done]
(38/38) Cleaning up: libpolkit-agent-1-0-123-1.1.x86_64 .................................................................................................[done]
(38/38) Executing postun script for: libpolkit-agent-1-0-123-1.1.x86_64 .................................................................................[done]
(38/38) Cleaning up: joe-4.6-32.2.x86_64 ................................................................................................................[done]
(38/38) Cleaning up: openSUSE-release-20231211-2640.1.x86_64 ............................................................................................[done]
(38/38) Cleaning up: systemd-devel-254.5-6.1.x86_64 .....................................................................................................[done]
(38/38) Cleaning up: systemd-254.5-6.1.x86_64 ...........................................................................................................[done]
(38/38) Executing postun script for: systemd-254.5-6.1.x86_64 ...........................................................................................[done]
(38/38) Cleaning up: libharfbuzz-gobject0-8.3.0-1.1.x86_64 ..............................................................................................[done]
(38/38) Executing postun script for: libharfbuzz-gobject0-8.3.0-1.1.x86_64 ..............................................................................[done]
(38/38) Cleaning up: libncurses5-6.4.20231202-26.1.x86_64 ...............................................................................................[done]
(38/38) Executing postun script for: libncurses5-6.4.20231202-26.1.x86_64 ...............................................................................[done]
(38/38) Cleaning up: libharfbuzz-cairo0-8.3.0-1.1.x86_64 ................................................................................................[done]
(38/38) Executing postun script for: libharfbuzz-cairo0-8.3.0-1.1.x86_64 ................................................................................[done]
(38/38) Cleaning up: libharfbuzz-icu0-8.3.0-1.1.x86_64 ..................................................................................................[done]
(38/38) Executing postun script for: libharfbuzz-icu0-8.3.0-1.1.x86_64 ..................................................................................[done]
(38/38) Cleaning up: libharfbuzz-subset0-8.3.0-1.1.x86_64 ...............................................................................................[done]
(38/38) Executing postun script for: libharfbuzz-subset0-8.3.0-1.1.x86_64 ...............................................................................[done]
(38/38) Cleaning up: terminfo-6.4.20231202-26.1.x86_64 ..................................................................................................[done]
(38/38) Cleaning up: terminfo-iterm-6.4.20231202-26.1.x86_64 ............................................................................................[done]
(38/38) Cleaning up: terminfo-base-6.4.20231202-26.1.x86_64 .............................................................................................[done]
(38/38) Cleaning up: libncurses6-6.4.20231202-26.1.x86_64 ...............................................................................................[done]
(38/38) Executing postun script for: libncurses6-6.4.20231202-26.1.x86_64 ...............................................................................[done]
(38/38) Cleaning up: ncurses-utils-6.4.20231202-26.1.x86_64 .............................................................................................[done]
(38/38) Cleaning up: terminfo-screen-6.4.20231202-26.1.x86_64 ...........................................................................................[done]
(38/38) Cleaning up: libharfbuzz0-8.3.0-1.1.x86_64 ......................................................................................................[done]
(38/38) Executing postun script for: libharfbuzz0-8.3.0-1.1.x86_64 ......................................................................................[done]
(38/38) Cleaning up: systemd-presets-common-SUSE-15-30.1.noarch .........................................................................................[done]
(38/38) Cleaning up: libsystemd0-254.5-6.1.x86_64 .......................................................................................................[done]
(38/38) Executing postun script for: libsystemd0-254.5-6.1.x86_64 .......................................................................................[done]
(38/38) Cleaning up: libudev1-254.5-6.1.x86_64 ..........................................................................................................[done]
(38/38) Executing postun script for: libudev1-254.5-6.1.x86_64 ..........................................................................................[done]
(38/38) Cleaning up: openSUSE-release-ftp-20231211-2640.1.x86_64 ........................................................................................[done]
(38/38) Cleaning up: zypper-1.14.66-2.6.x86_64 ..........................................................................................................[done]
(38/38) Cleaning up: mc-4.8.30-14.5.x86_64 ..............................................................................................................[done]
(38/38) Cleaning up: xtables-addons-3.25-1.11.x86_64 ....................................................................................................[done]
(38/38) Executing postun script for: xtables-addons-3.25-1.11.x86_64 ....................................................................................[done]
(38/38) Cleaning up: rpmlint-mini-2.5.0+git20231205.c211cee-14.53.x86_64 ................................................................................[done]
(38/38) Cleaning up: meson-1.3.0-1.1.noarch .............................................................................................................[done]
(38/38) Cleaning up: libraw23-0.21.1-3.1.x86_64 .........................................................................................................[done]
(38/38) Executing postun script for: libraw23-0.21.1-3.1.x86_64 .........................................................................................[done]
(38/38) Executing posttrans script for: systemd-presets-common-SUSE-15-31.1.noarch ......................................................................[done]
(38/38) Executing posttrans script for: systemd-254.5-7.1.x86_64 ........................................................................................[done]
(38/38) Executing posttrans script for: openSUSE-release-20231212-2642.1.x86_64 .........................................................................[done]
(38/38) Executing posttrans script for: systemd-network-254.5-7.1.x86_64 ................................................................................[done]
(38/38) Executing posttrans script for: udev-254.5-7.1.x86_64 ...........................................................................................[done]
(38/38) Executing posttrans script for: zypper-1.14.67-2.1.x86_64 .......................................................................................[done]
(38/38) Executing triggerpostun script for: systemd-254.5-7.1.x86_64 ....................................................................................[done]
(38/38) Executing triggerpostun script for: systemd-254.5-7.1.x86_64 ....................................................................................[done]
(38/38) Executing triggerpostun script for: systemd-254.5-7.1.x86_64 ....................................................................................[done]
(38/38) Executing triggerpostun script for: systemd-254.5-7.1.x86_64 ....................................................................................[done]
(38/38) Executing triggerin script for: systemd-254.5-7.1.x86_64 ........................................................................................[done]
(38/38) Executing triggerin script for: systemd-254.5-7.1.x86_64 ........................................................................................[done]
(38/38) Executing triggerin script for: systemd-254.5-7.1.x86_64 ........................................................................................[done]
(38/38) Executing triggerin script for: systemd-254.5-7.1.x86_64 ........................................................................................[done]
(38/38) Executing triggerin script for: systemd-254.5-7.1.x86_64 ........................................................................................[done]
(38/38) Executing triggerin script for: systemd-254.5-7.1.x86_64 ........................................................................................[done]
(38/38) Executing triggerin script for: systemd-254.5-7.1.x86_64 ........................................................................................[done]
(38/38) Executing triggerin script for: udev-254.5-7.1.x86_64 ...........................................................................................[done]
(38/38) Executing triggerin script for: udev-254.5-7.1.x86_64 ...........................................................................................[done]

Expected:

We should transform the counter from a package count to a step count. (If at all possible—but I think I saw dnf5 doing just that.)

(190/192) Executing triggerin script for: systemd-254.5-7.1.x86_64 ........................................................................................[done]
(191/192) Executing triggerin script for: udev-254.5-7.1.x86_64 ...........................................................................................[done]
(192/192) Executing triggerin script for: udev-254.5-7.1.x86_64 ...........................................................................................[done]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants