scripts that sort zypper searches are sorting inexplicable in 15.6 & TW
# cat /usr/local/bin/zypse #!/bin/bash zypper --no-refresh se -s $* | grep -Ev '32bit|debug|devel|srcp|openSUSE-20' | grep -E 'x86|noarch'| sort # zypse dmz filecom lease-ftp util-lin | busybox-util-linux | package | 1.35.0-150400.4.5.1 | noarch | UpdateSLE l | util-linux-lang | package | 2.37.4-150500.7.16 | noarch | OSS l | util-linux-lang | package | 2.37.4-150500.9.11.1 | noarch | UpdateSLE l | util-linux-lang | package | 2.37.4-150500.9.3.1 | noarch | UpdateSLE l | util-linux-lang | package | 2.37.4-150500.9.6.1 | noarch | UpdateSLE i | dmz-icon-theme-cursors | package | 11.3.0-1.22 | noarch | OSS i | openSUSE-release-ftp | package | 15.5-lp155.286.1 | x86_64 | OSS i | util-linux | package | 2.37.4-150500.9.11.1 | x86_64 | UpdateSLE i | util-linux-systemd | package | 2.37.4-150500.9.11.1 | x86_64 | UpdateSLE il | filecommander | package | 2.50-vgit_1847_opensuse15 | x86_64 | FCL-leap v | util-linux | package | 2.37.4-150500.7.16 | x86_64 | OSS v | util-linux | package | 2.37.4-150500.9.3.1 | x86_64 | UpdateSLE v | util-linux | package | 2.37.4-150500.9.6.1 | x86_64 | UpdateSLE v | util-linux-systemd | package | 2.37.4-150500.7.2 | x86_64 | OSS v | util-linux-systemd | package | 2.37.4-150500.9.3.1 | x86_64 | UpdateSLE v | util-linux-systemd | package | 2.37.4-150500.9.6.1 | x86_64 | UpdateSLE vl | filecommander | package | 2.50-vgit_1846_opensuse15 | x86_64 | FCL-leap vl | filecommander | package | 2.50-vgit_1851_opensuse15 | x86_64 | FCL-leap # # cat /usr/local/bin/zypse #!/bin/bash zypper --no-refresh se -s $* | grep -Ev '32bit|debug|devel|srcp|openSUSE-20' | grep -E 'x86|noarch'| sort # zypse dmz filecom lease-ftp util-lin i | dmz-icon-theme-cursors | package | 11.3.0-1.22 | noarch | OSS i+ | filecommander | package | 2.50-vgit_1847_opensuse15 | x86_64 | FCL-leap i | openSUSE-release-ftp | package | 15.6-lp156.415.1 | x86_64 | (System Packages) i+ | util-linux | package | 2.39.3-150600.4.3.1 | x86_64 | UpdateSLE i | util-linux-systemd | package | 2.39.3-150600.4.3.1 | x86_64 | UpdateSLE i | util-linux-tty-tools | package | 2.39.3-150600.4.3.1 | x86_64 | UpdateSLE l | util-linux-lang | package | 2.39.3-150600.2.1 | noarch | OSS l | util-linux-lang | package | 2.39.3-150600.4.3.1 | noarch | UpdateSLE l | util-linux-lang | package | 2.39.3-150600.4.6.2 | noarch | UpdateSLE v | filecommander | package | 2.50-vgit_1846_opensuse15 | x86_64 | FCL-leap v | filecommander | package | 2.50-vgit_1851_opensuse15 | x86_64 | FCL-leap v | openSUSE-release-ftp | package | 15.6-lp156.416.2 | x86_64 | OSS v | util-linux | package | 2.39.3-150600.2.1 | x86_64 | OSS v | util-linux | package | 2.39.3-150600.4.6.2 | x86_64 | UpdateSLE v | util-linux-systemd | package | 2.39.3-150600.2.1 | x86_64 | OSS v | util-linux-systemd | package | 2.39.3-150600.4.6.2 | x86_64 | UpdateSLE v | util-linux-tty-tools | package | 2.39.3-150600.2.1 | x86_64 | OSS v | util-linux-tty-tools | package | 2.39.3-150600.4.6.2 | x86_64 | UpdateSLE # TW is doing like 15.6, both since recent months. How can I get results like 15.5 again? Does this look like bug report in need? -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata
On 10. 07. 24, 23:35, Felix Miata wrote:
TW is doing like 15.6, both since recent months. How can I get results like 15.5 again? Does this look like bug report in need?
no, sort sorts correctly from the beginning of the line (those "i", "i+", etc.). Use: sort -f '|' -k 2 instead. -- js suse labs
Jiri Slaby composed on 2024-07-11 06:44 (UTC+0200):
Felix Miata wrote:
TW is doing like 15.6, both since recent months. How can I get results like 15.5 again? Does this look like bug report in need?
no, sort sorts correctly from the beginning of the line (those "i", "i+", etc.). Use: sort -f '|' -k 2 instead.
Did you miss the fact that i-space-space is sorting before space-l-space in 15.6? Why is that happening? I'm not looking to sort initially by package name. I'm trying to do as shown in 15.5, which is like 15.4, 15.3, 15.2, 15.1, 15.0, 42.3, 42.2, 42.1, 13.2, 13.1, 12.3 ... did, so that all the uninstalled/unlocked packages scroll off the top of the screen, leaving me all the lockeds, installeds, & availables to land in the tail, and hopefully, remain in window or screen, without involving less, just like the 15.5 section of my OP. I tried saving output directly to disk to see if what looks like a space is in fact 0x20, and it is. -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata
On 11. 07. 24, 7:41, Felix Miata wrote:
Jiri Slaby composed on 2024-07-11 06:44 (UTC+0200):
Felix Miata wrote:
TW is doing like 15.6, both since recent months. How can I get results like 15.5 again? Does this look like bug report in need?
no, sort sorts correctly from the beginning of the line (those "i", "i+", etc.). Use: sort -f '|' -k 2 instead.
Did you miss the fact that i-space-space is sorting before space-l-space in 15.6? Why is that happening?
OK, do you use the same locale? -- js suse labs
On 11. 07. 24, 7:51, Jiri Slaby wrote:
On 11. 07. 24, 7:41, Felix Miata wrote:
Jiri Slaby composed on 2024-07-11 06:44 (UTC+0200):
Felix Miata wrote:
TW is doing like 15.6, both since recent months. How can I get results like 15.5 again? Does this look like bug report in need?
no, sort sorts correctly from the beginning of the line (those "i", "i+", etc.). Use: sort -f '|' -k 2 instead.
Did you miss the fact that i-space-space is sorting before space-l-space in 15.6? Why is that happening?
OK, do you use the same locale?
FWIW: docker run -it opensuse/leap:15.5 sh -c "grep PRETTY /etc/os-release; locale|grep COLL; echo -ne 'l1\ni\nl\n i\n'|sort" PRETTY_NAME="openSUSE Leap 15.5" LC_COLLATE="POSIX" i i l l1 -- js suse labs
Jiri Slaby composed on 2024-07-11 08:01 (UTC+0200):
Jiri Slaby wrote:
Felix Miata wrote:
Jiri Slaby composed on 2024-07-11 06:44 (UTC+0200):
Felix Miata wrote:
TW is doing like 15.6, both since recent months. How can I get results like 15.5 again? Does this look like bug report in need?
no, sort sorts correctly from the beginning of the line (those "i", "i+", etc.). Use: sort -f '|' -k 2 instead.
Did you miss the fact that i-space-space is sorting before space-l-space in 15.6? Why is that happening?
OK, do you use the same locale?
FWIW: docker run -it opensuse/leap:15.5 sh -c "grep PRETTY /etc/os-release; locale|grep COLL; echo -ne 'l1\ni\nl\n i\n'|sort" PRETTY_NAME="openSUSE Leap 15.5" LC_COLLATE="POSIX" i i l l1
inxi -S
15.5 (behaving as expected): perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_TIME = "en_DK.UTF-8", LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to a fallback locale ("en_US.UTF-8"). System: Host: 00srv Kernel: 5.14.21-150500.55.68-default arch: x86_64 bits: 64 Desktop: KDE v: 3.5.10 Distro: openSUSE Leap 15.5 moz@00srv:/isos> locale locale: Cannot set LC_ALL to default locale: No such file or directory LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME=en_DK.UTF-8 LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL= moz@00srv:/isos> sh -c "grep PRETTY /etc/os-release; locale|grep COLL; echo -ne 'l1\ni\nl\n i\n'|sort" PRETTY_NAME="openSUSE Leap 15.5" locale: Cannot set LC_ALL to default locale: No such file or directory LC_COLLATE="en_US.UTF-8" i i l l1 15.6 (misbehaving): # inxi -S System: Host: big41 Kernel: 6.4.0-150600.23.7-default arch: x86_64 bits: 64 Console: pty pts/5 Distro: openSUSE Leap 15.6 # locale LANG=POSIX LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL=en_US.UTF-8 # sh -c "grep PRETTY /etc/os-release; locale|grep COLL; echo -ne 'l1\ni\nl\n i\n'|sort" PRETTY_NAME="openSUSE Leap 15.6" LC_COLLATE="en_US.UTF-8" i i l l1 # cat /usr/local/bin/zypse #!/bin/bash zypper --no-refresh se -s $* | grep -Ev '32bit|debug|devel|srcp|openSUSE-20' | grep -E 'x86|noarch'| sort # zypse dmz filecom lease-ftp util-lin i | dmz-icon-theme-cursors | package | 11.3.0-1.22 | noarch | OSS i+ | filecommander | package | 2.50-vgit_1851_opensuse15 | x86_64 | FCL-leap i | openSUSE-release-ftp | package | 15.6-lp156.416.2 | x86_64 | OSS i+ | util-linux | package | 2.39.3-150600.4.6.2 | x86_64 | UpdateSLE i | util-linux-systemd | package | 2.39.3-150600.4.6.2 | x86_64 | UpdateSLE i | util-linux-tty-tools | package | 2.39.3-150600.4.6.2 | x86_64 | UpdateSLE l | util-linux-lang | package | 2.39.3-150600.2.1 | noarch | OSS l | util-linux-lang | package | 2.39.3-150600.4.3.1 | noarch | UpdateSLE l | util-linux-lang | package | 2.39.3-150600.4.6.2 | noarch | UpdateSLE v | filecommander | package | 2.50-vgit_1846_opensuse15 | x86_64 | FCL-leap v | filecommander | package | 2.50-vgit_1847_opensuse15 | x86_64 | FCL-leap v | util-linux | package | 2.39.3-150600.2.1 | x86_64 | OSS v | util-linux | package | 2.39.3-150600.4.3.1 | x86_64 | UpdateSLE v | util-linux-systemd | package | 2.39.3-150600.2.1 | x86_64 | OSS v | util-linux-systemd | package | 2.39.3-150600.4.3.1 | x86_64 | UpdateSLE v | util-linux-tty-tools | package | 2.39.3-150600.2.1 | x86_64 | OSS v | util-linux-tty-tools | package | 2.39.3-150600.4.3.1 | x86_64 | UpdateSLE # Why do we see above: i i+ i i+ i Obviously somehow field 2 is being considered part of the sort criteria, but why? Has "|" output from zypper acquired some special significance to the sort command? My zypse script was working as expected for years. This errant behavior just started recently, probably noticed TW or SR before 15.6. -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata
On Thu, Jul 11, 2024 at 8:51 AM Jiri Slaby <jslaby@suse.cz> wrote:
On 11. 07. 24, 7:41, Felix Miata wrote:
Jiri Slaby composed on 2024-07-11 06:44 (UTC+0200):
Felix Miata wrote:
TW is doing like 15.6, both since recent months. How can I get results like 15.5 again? Does this look like bug report in need?
no, sort sorts correctly from the beginning of the line (those "i", "i+", etc.). Use: sort -f '|' -k 2 instead.
Did you miss the fact that i-space-space is sorting before space-l-space in 15.6? Why is that happening?
OK, do you use the same locale?
No, it is not the locale (at least, not in any obvious way). andrei@tumbleweed:~> grep -E 'PRETTY|VERSION_ID' /etc/os-release VERSION_ID="20240609" PRETTY_NAME="openSUSE Tumbleweed" andrei@tumbleweed:~> locale LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL= andrei@tumbleweed:~> cat /tmp/1 | b | d | o i+ | u | u i+ | u i+ | u andrei@tumbleweed:~> sort /tmp/1 | b | d i+ | u i+ | u i+ | u | o | u but andrei@tumbleweed:~> cat /tmp/2 | | | i+ | | i+ | i+ | andrei@tumbleweed:~> sort /tmp/2 | | | | i+ | i+ | i+ | andrei@tumbleweed:~> No hidden UNICODE characters, everything is plain ASCII, there are spaces in the beginning of lines as they should be. It really looks like sort somehow skips non-alphanumeric characters when performing comparison.
On Thu, Jul 11, 2024 at 10:28 AM Andrei Borzenkov <arvidjaar@gmail.com> wrote:
On Thu, Jul 11, 2024 at 8:51 AM Jiri Slaby <jslaby@suse.cz> wrote:
On 11. 07. 24, 7:41, Felix Miata wrote:
Jiri Slaby composed on 2024-07-11 06:44 (UTC+0200):
Felix Miata wrote:
TW is doing like 15.6, both since recent months. How can I get results like 15.5 again? Does this look like bug report in need?
no, sort sorts correctly from the beginning of the line (those "i", "i+", etc.). Use: sort -f '|' -k 2 instead.
Did you miss the fact that i-space-space is sorting before space-l-space in 15.6? Why is that happening?
OK, do you use the same locale?
No, it is not the locale (at least, not in any obvious way).
I stay corrected. At least en_US.UTF-8 locale collating rules explicitly ignore space and pseudo-graphics.
On 17. 07. 24, 11:23, Andrei Borzenkov wrote:
On Thu, Jul 11, 2024 at 10:28 AM Andrei Borzenkov <arvidjaar@gmail.com> wrote:
On Thu, Jul 11, 2024 at 8:51 AM Jiri Slaby <jslaby@suse.cz> wrote:
On 11. 07. 24, 7:41, Felix Miata wrote:
Jiri Slaby composed on 2024-07-11 06:44 (UTC+0200):
Felix Miata wrote:
TW is doing like 15.6, both since recent months. How can I get results like 15.5 again? Does this look like bug report in need?
no, sort sorts correctly from the beginning of the line (those "i", "i+", etc.). Use: sort -f '|' -k 2 instead.
Did you miss the fact that i-space-space is sorting before space-l-space in 15.6? Why is that happening?
OK, do you use the same locale?
No, it is not the locale (at least, not in any obvious way).
I stay corrected. At least en_US.UTF-8 locale collating rules explicitly ignore space and pseudo-graphics.
I believe he is missing locale files for his set locale (as the output shows). And sort uses POSIX in that case. I would set POSIX in a script which requires expected collating on any system anyway ;). -- js suse labs
Jiri Slaby composed on 2024-07-17 14:59 (UTC+0200):
Andrei Borzenkov wrote:
Andrei Borzenkov wrote:
Jiri Slaby wrote:
Felix Miata wrote:
Jiri Slaby composed on 2024-07-11 06:44 (UTC+0200):
Felix Miata wrote:
> TW is doing like 15.6, both since recent months. How can I get results > like 15.5 again? Does this look like bug report in need?
no, sort sorts correctly from the beginning of the line (those "i", "i+", etc.). Use: sort -f '|' -k 2 instead.
Did you miss the fact that i-space-space is sorting before space-l-space in 15.6? Why is that happening?
OK, do you use the same locale?
No, it is not the locale (at least, not in any obvious way).
I stay corrected. At least en_US.UTF-8 locale collating rules explicitly ignore space and pseudo-graphics.
I believe he is missing locale files for his set locale (as the output shows). And sort uses POSIX in that case.
I would set POSIX in a script which requires expected collating on any system anyway ;).
Setting POSIX in the script wasn't working in 15.5, but I found sort -f to be adequate magic to please my desires. -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata
On Thu, Jul 11, 2024 at 12:36 AM Felix Miata <mrmazda@earthlink.net> wrote:
# cat /usr/local/bin/zypse #!/bin/bash zypper --no-refresh se -s $* | grep -Ev '32bit|debug|devel|srcp|openSUSE-20' | grep -E 'x86|noarch'| sort # zypse dmz filecom lease-ftp util-lin | busybox-util-linux | package | 1.35.0-150400.4.5.1 | noarch | UpdateSLE l | util-linux-lang | package | 2.37.4-150500.7.16 | noarch | OSS l | util-linux-lang | package | 2.37.4-150500.9.11.1 | noarch | UpdateSLE l | util-linux-lang | package | 2.37.4-150500.9.3.1 | noarch | UpdateSLE l | util-linux-lang | package | 2.37.4-150500.9.6.1 | noarch | UpdateSLE i | dmz-icon-theme-cursors | package | 11.3.0-1.22 | noarch | OSS i | openSUSE-release-ftp | package | 15.5-lp155.286.1 | x86_64 | OSS i | util-linux | package | 2.37.4-150500.9.11.1 | x86_64 | UpdateSLE i | util-linux-systemd | package | 2.37.4-150500.9.11.1 | x86_64 | UpdateSLE il | filecommander | package | 2.50-vgit_1847_opensuse15 | x86_64 | FCL-leap v | util-linux | package | 2.37.4-150500.7.16 | x86_64 | OSS v | util-linux | package | 2.37.4-150500.9.3.1 | x86_64 | UpdateSLE v | util-linux | package | 2.37.4-150500.9.6.1 | x86_64 | UpdateSLE v | util-linux-systemd | package | 2.37.4-150500.7.2 | x86_64 | OSS v | util-linux-systemd | package | 2.37.4-150500.9.3.1 | x86_64 | UpdateSLE v | util-linux-systemd | package | 2.37.4-150500.9.6.1 | x86_64 | UpdateSLE vl | filecommander | package | 2.50-vgit_1846_opensuse15 | x86_64 | FCL-leap vl | filecommander | package | 2.50-vgit_1851_opensuse15 | x86_64 | FCL-leap #
# cat /usr/local/bin/zypse #!/bin/bash zypper --no-refresh se -s $* | grep -Ev '32bit|debug|devel|srcp|openSUSE-20' | grep -E 'x86|noarch'| sort # zypse dmz filecom lease-ftp util-lin i | dmz-icon-theme-cursors | package | 11.3.0-1.22 | noarch | OSS i+ | filecommander | package | 2.50-vgit_1847_opensuse15 | x86_64 | FCL-leap i | openSUSE-release-ftp | package | 15.6-lp156.415.1 | x86_64 | (System Packages) i+ | util-linux | package | 2.39.3-150600.4.3.1 | x86_64 | UpdateSLE i | util-linux-systemd | package | 2.39.3-150600.4.3.1 | x86_64 | UpdateSLE i | util-linux-tty-tools | package | 2.39.3-150600.4.3.1 | x86_64 | UpdateSLE l | util-linux-lang | package | 2.39.3-150600.2.1 | noarch | OSS l | util-linux-lang | package | 2.39.3-150600.4.3.1 | noarch | UpdateSLE l | util-linux-lang | package | 2.39.3-150600.4.6.2 | noarch | UpdateSLE v | filecommander | package | 2.50-vgit_1846_opensuse15 | x86_64 | FCL-leap v | filecommander | package | 2.50-vgit_1851_opensuse15 | x86_64 | FCL-leap v | openSUSE-release-ftp | package | 15.6-lp156.416.2 | x86_64 | OSS v | util-linux | package | 2.39.3-150600.2.1 | x86_64 | OSS v | util-linux | package | 2.39.3-150600.4.6.2 | x86_64 | UpdateSLE v | util-linux-systemd | package | 2.39.3-150600.2.1 | x86_64 | OSS v | util-linux-systemd | package | 2.39.3-150600.4.6.2 | x86_64 | UpdateSLE v | util-linux-tty-tools | package | 2.39.3-150600.2.1 | x86_64 | OSS v | util-linux-tty-tools | package | 2.39.3-150600.4.6.2 | x86_64 | UpdateSLE #
TW is doing like 15.6, both since recent months. How can I get results like 15.5 again?
I see exactly the same in Leap 15.5. andrei@leap155:~> zypper --no-refresh se -s dmz filecom lease-ftp util-lin | grep -Ev '32bit|debug|devel|srcp|openSUSE-20' | grep -E 'x86|noarch' | sort | busybox-util-linux | package | 1.35.0-150400.4.5.1 | noarch | Update repository with updates from SUSE Linux Enterprise 15 | dmz-icon-theme-cursors | package | 11.3.0-1.22 | noarch | Main Repository i | openSUSE-release-ftp | package | 15.5-lp155.286.1 | x86_64 | Main Repository i | util-linux | package | 2.37.4-150500.9.11.1 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15 i | util-linux-systemd | package | 2.37.4-150500.9.11.1 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15 | util-linux-lang | package | 2.37.4-150500.7.16 | noarch | Main Repository | util-linux-lang | package | 2.37.4-150500.9.11.1 | noarch | Update repository with updates from SUSE Linux Enterprise 15 | util-linux-lang | package | 2.37.4-150500.9.3.1 | noarch | Update repository with updates from SUSE Linux Enterprise 15 | util-linux-lang | package | 2.37.4-150500.9.6.1 | noarch | Update repository with updates from SUSE Linux Enterprise 15 v | util-linux | package | 2.37.4-150500.7.16 | x86_64 | Main Repository v | util-linux | package | 2.37.4-150500.9.3.1 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15 v | util-linux | package | 2.37.4-150500.9.6.1 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15 v | util-linux-systemd | package | 2.37.4-150500.7.2 | x86_64 | Main Repository v | util-linux-systemd | package | 2.37.4-150500.9.3.1 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15 v | util-linux-systemd | package | 2.37.4-150500.9.6.1 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15 andrei@leap155:~>
Felix Miata composed on 2024-07-10 17:35 (UTC-0400):
# cat /usr/local/bin/zypse #!/bin/bash zypper --no-refresh se -s $* | grep -Ev '32bit|debug|devel|srcp|openSUSE-20' | grep -E 'x86|noarch'| sort # zypse dmz filecom lease-ftp util-lin | busybox-util-linux | package | 1.35.0-150400.4.5.1 | noarch | UpdateSLE l | util-linux-lang | package | 2.37.4-150500.7.16 | noarch | OSS l | util-linux-lang | package | 2.37.4-150500.9.11.1 | noarch | UpdateSLE l | util-linux-lang | package | 2.37.4-150500.9.3.1 | noarch | UpdateSLE l | util-linux-lang | package | 2.37.4-150500.9.6.1 | noarch | UpdateSLE i | dmz-icon-theme-cursors | package | 11.3.0-1.22 | noarch | OSS i | openSUSE-release-ftp | package | 15.5-lp155.286.1 | x86_64 | OSS i | util-linux | package | 2.37.4-150500.9.11.1 | x86_64 | UpdateSLE i | util-linux-systemd | package | 2.37.4-150500.9.11.1 | x86_64 | UpdateSLE il | filecommander | package | 2.50-vgit_1847_opensuse15 | x86_64 | FCL-leap v | util-linux | package | 2.37.4-150500.7.16 | x86_64 | OSS v | util-linux | package | 2.37.4-150500.9.3.1 | x86_64 | UpdateSLE v | util-linux | package | 2.37.4-150500.9.6.1 | x86_64 | UpdateSLE v | util-linux-systemd | package | 2.37.4-150500.7.2 | x86_64 | OSS v | util-linux-systemd | package | 2.37.4-150500.9.3.1 | x86_64 | UpdateSLE v | util-linux-systemd | package | 2.37.4-150500.9.6.1 | x86_64 | UpdateSLE vl | filecommander | package | 2.50-vgit_1846_opensuse15 | x86_64 | FCL-leap vl | filecommander | package | 2.50-vgit_1851_opensuse15 | x86_64 | FCL-leap #
# cat /usr/local/bin/zypse #!/bin/bash zypper --no-refresh se -s $* | grep -Ev '32bit|debug|devel|srcp|openSUSE-20' | grep -E 'x86|noarch'| sort # zypse dmz filecom lease-ftp util-lin i | dmz-icon-theme-cursors | package | 11.3.0-1.22 | noarch | OSS i+ | filecommander | package | 2.50-vgit_1847_opensuse15 | x86_64 | FCL-leap i | openSUSE-release-ftp | package | 15.6-lp156.415.1 | x86_64 | (System Packages) i+ | util-linux | package | 2.39.3-150600.4.3.1 | x86_64 | UpdateSLE i | util-linux-systemd | package | 2.39.3-150600.4.3.1 | x86_64 | UpdateSLE i | util-linux-tty-tools | package | 2.39.3-150600.4.3.1 | x86_64 | UpdateSLE l | util-linux-lang | package | 2.39.3-150600.2.1 | noarch | OSS l | util-linux-lang | package | 2.39.3-150600.4.3.1 | noarch | UpdateSLE l | util-linux-lang | package | 2.39.3-150600.4.6.2 | noarch | UpdateSLE v | filecommander | package | 2.50-vgit_1846_opensuse15 | x86_64 | FCL-leap v | filecommander | package | 2.50-vgit_1851_opensuse15 | x86_64 | FCL-leap v | openSUSE-release-ftp | package | 15.6-lp156.416.2 | x86_64 | OSS v | util-linux | package | 2.39.3-150600.2.1 | x86_64 | OSS v | util-linux | package | 2.39.3-150600.4.6.2 | x86_64 | UpdateSLE v | util-linux-systemd | package | 2.39.3-150600.2.1 | x86_64 | OSS v | util-linux-systemd | package | 2.39.3-150600.4.6.2 | x86_64 | UpdateSLE v | util-linux-tty-tools | package | 2.39.3-150600.2.1 | x86_64 | OSS v | util-linux-tty-tools | package | 2.39.3-150600.4.6.2 | x86_64 | UpdateSLE #
TW is doing like 15.6, both since recent months. How can I get results like 15.5 again? Does this look like bug report in need?
I stumbled onto a big clue about an apparent cause from checking the environment. What follows results on TW from running either: no zypper commands post-login, or it and/or zypper ref, and/or zypper se: # set | grep ZYP # However, after running zypper in, this results instead: # set | grep ZYP ZYPPER=/usr/bin/zypper ZYPPER_CMDLIST=([0]="log" [1]="help" [2]="?" [3]="shell" [4]="sh" [5]="repos" [6]="lr" [7]="addrepo" [8]="ar" [9]="removerepo" [10]="rr" [11]="renamerepo" [12]="nr" [13]="modifyrepo" [14]="mr" [15]="refresh" [16]="ref" [17]="clean" [18]="cc" [19]="services" [20]="ls" [21]="addservice" [22]="as" [23]="modifyservice" [24]="ms" [25]="removeservice" [26]="rs" [27]="refresh-services" [28]="refs" [29]="install" [30]="in" [31]="remove" [32]="rm" [33]="removeptf" [34]="rmptf" [35]="verify" [36]="ve" [37]="source-install" [38]="si" [39]="install-new-recommends" [40]="inr" [41]="update" [42]="up" [43]="list-updates" [44]="lu" [45]="patch" [46]="list-patches" [47]="lp" [48]="dist-upgrade" [49]="dup" [50]="patch-check" [51]="pchk" [52]="search" [53]="se" [54]="info" [55]="if" [56]="patch-info" [57]="pattern-info" [58]="product-info" [59]="patches" [60]="pch" [61]="packages" [62]="pa" [63]="patterns" [64]="pt" [65]="products" [66]="pd" [67]="what-provides" [68]="wp" [69]="addlock" [70]="al" [71]="removelock" [72]="rl" [73]="locks" [74]="ll" [75]="cleanlocks" [76]="cl" [77]="locales" [78]="lloc" [79]="addlocale" [80]="aloc" [81]="removelocale" [82]="rloc" [83]="versioncmp" [84]="vcmp" [85]="targetos" [86]="tos" [87]="licenses" [88]="download" [89]="source-download" [90]="needs-rebooting" [91]="ps" [92]="purge-kernels" [93]="subcommand" [94]="log") ZYPPER="$(type -P zypper)"; if test ${#ZYPPER_CMDLIST[@]} -eq 0; then ZYPPER_CMDLIST=($({ zypper -q subcommand; LC_ALL=POSIX zypper -q -h | sed -n '/[Cc]ommands:$/,$ s/^ \{6\}\([^ ,]\+\(,[ *][^ ,]\+\)*\).*/\1/p'; } | sed 's/, */\n/g')); if [[ " ${ZYPPER_CMDLIST[@]} " =~ " ${comp} " ]]; then opts=(${opts[@]}$(echo; LC_ALL=POSIX $ZYPPER -q lr | sed -rn '/^[0-9]/{ opts=(${ZYPPER_CMDLIST[*]}$(echo; LC_ALL=POSIX $ZYPPER -q help 2>&1 | sed -n '/[Oo]ptions:$/,/[Cc]ommands:$/ s/^[[:blank:]]*\(--[^[:blank:],[]*\).*/\1/p')); opts=$(LC_ALL=POSIX $ZYPPER -q help $command 2>&1 | sed -n '1,/[Oo]ptions:$/d; s/^.\{,6\}\(--[^[:blank:][]*\).*/\1/p'); opts=(${ZYPPER_CMDLIST[@]}) opts=(${opts[@]}$(echo; LC_ALL=POSIX $ZYPPER -q lr | sed -rn '/^[[:blank:]]*[0-9]/{ opts=(${opts[@]}$(echo; LC_ALL=POSIX $ZYPPER -q ls | sed -rn '/^[[:blank:]]*[0-9]/{ opts=(${opts[@]}$(echo; LC_ALL=POSIX $ZYPPER -q ll | sed -rn '/^[[:blank:]]*[0-9]/{ # Now the questions becomes what's responsible for that mess being there, and best way to defeat? Is this some developer's personal script leaked into the zypper release rpms? -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata
You think that is a lot of garbage? Here: $ set |wc 3139 9455 105617 -- Robert Webb On Tuesday, July 30, 2024, 03:55:30 PM PDT, Felix Miata <mrmazda@earthlink.net> wrote: Felix Miata composed on 2024-07-10 17:35 (UTC-0400):
# cat /usr/local/bin/zypse #!/bin/bash zypper --no-refresh se -s $* | grep -Ev '32bit|debug|devel|srcp|openSUSE-20' | grep -E 'x86|noarch'| sort # zypse dmz filecom lease-ftp util-lin | busybox-util-linux | package | 1.35.0-150400.4.5.1 | noarch | UpdateSLE l | util-linux-lang | package | 2.37.4-150500.7.16 | noarch | OSS l | util-linux-lang | package | 2.37.4-150500.9.11.1 | noarch | UpdateSLE l | util-linux-lang | package | 2.37.4-150500.9.3.1 | noarch | UpdateSLE l | util-linux-lang | package | 2.37.4-150500.9.6.1 | noarch | UpdateSLE i | dmz-icon-theme-cursors | package | 11.3.0-1.22 | noarch | OSS i | openSUSE-release-ftp | package | 15.5-lp155.286.1 | x86_64 | OSS i | util-linux | package | 2.37.4-150500.9.11.1 | x86_64 | UpdateSLE i | util-linux-systemd | package | 2.37.4-150500.9.11.1 | x86_64 | UpdateSLE il | filecommander | package | 2.50-vgit_1847_opensuse15 | x86_64 | FCL-leap v | util-linux | package | 2.37.4-150500.7.16 | x86_64 | OSS v | util-linux | package | 2.37.4-150500.9.3.1 | x86_64 | UpdateSLE v | util-linux | package | 2.37.4-150500.9.6.1 | x86_64 | UpdateSLE v | util-linux-systemd | package | 2.37.4-150500.7.2 | x86_64 | OSS v | util-linux-systemd | package | 2.37.4-150500.9.3.1 | x86_64 | UpdateSLE v | util-linux-systemd | package | 2.37.4-150500.9.6.1 | x86_64 | UpdateSLE vl | filecommander | package | 2.50-vgit_1846_opensuse15 | x86_64 | FCL-leap vl | filecommander | package | 2.50-vgit_1851_opensuse15 | x86_64 | FCL-leap #
# cat /usr/local/bin/zypse #!/bin/bash zypper --no-refresh se -s $* | grep -Ev '32bit|debug|devel|srcp|openSUSE-20' | grep -E 'x86|noarch'| sort # zypse dmz filecom lease-ftp util-lin i | dmz-icon-theme-cursors | package | 11.3.0-1.22 | noarch | OSS i+ | filecommander | package | 2.50-vgit_1847_opensuse15 | x86_64 | FCL-leap i | openSUSE-release-ftp | package | 15.6-lp156.415.1 | x86_64 | (System Packages) i+ | util-linux | package | 2.39.3-150600.4.3.1 | x86_64 | UpdateSLE i | util-linux-systemd | package | 2.39.3-150600.4.3.1 | x86_64 | UpdateSLE i | util-linux-tty-tools | package | 2.39.3-150600.4.3.1 | x86_64 | UpdateSLE l | util-linux-lang | package | 2.39.3-150600.2.1 | noarch | OSS l | util-linux-lang | package | 2.39.3-150600.4.3.1 | noarch | UpdateSLE l | util-linux-lang | package | 2.39.3-150600.4.6.2 | noarch | UpdateSLE v | filecommander | package | 2.50-vgit_1846_opensuse15 | x86_64 | FCL-leap v | filecommander | package | 2.50-vgit_1851_opensuse15 | x86_64 | FCL-leap v | openSUSE-release-ftp | package | 15.6-lp156.416.2 | x86_64 | OSS v | util-linux | package | 2.39.3-150600.2.1 | x86_64 | OSS v | util-linux | package | 2.39.3-150600.4.6.2 | x86_64 | UpdateSLE v | util-linux-systemd | package | 2.39.3-150600.2.1 | x86_64 | OSS v | util-linux-systemd | package | 2.39.3-150600.4.6.2 | x86_64 | UpdateSLE v | util-linux-tty-tools | package | 2.39.3-150600.2.1 | x86_64 | OSS v | util-linux-tty-tools | package | 2.39.3-150600.4.6.2 | x86_64 | UpdateSLE #
TW is doing like 15.6, both since recent months. How can I get results like 15.5 again? Does this look like bug report in need?
I stumbled onto a big clue about an apparent cause from checking the environment. What follows results on TW from running either: no zypper commands post-login, or it and/or zypper ref, and/or zypper se: # set | grep ZYP # However, after running zypper in, this results instead: # set | grep ZYP ZYPPER=/usr/bin/zypper ZYPPER_CMDLIST=([0]="log" [1]="help" [2]="?" [3]="shell" [4]="sh" [5]="repos" [6]="lr" [7]="addrepo" [8]="ar" [9]="removerepo" [10]="rr" [11]="renamerepo" [12]="nr" [13]="modifyrepo" [14]="mr" [15]="refresh" [16]="ref" [17]="clean" [18]="cc" [19]="services" [20]="ls" [21]="addservice" [22]="as" [23]="modifyservice" [24]="ms" [25]="removeservice" [26]="rs" [27]="refresh-services" [28]="refs" [29]="install" [30]="in" [31]="remove" [32]="rm" [33]="removeptf" [34]="rmptf" [35]="verify" [36]="ve" [37]="source-install" [38]="si" [39]="install-new-recommends" [40]="inr" [41]="update" [42]="up" [43]="list-updates" [44]="lu" [45]="patch" [46]="list-patches" [47]="lp" [48]="dist-upgrade" [49]="dup" [50]="patch-check" [51]="pchk" [52]="search" [53]="se" [54]="info" [55]="if" [56]="patch-info" [57]="pattern-info" [58]="product-info" [59]="patches" [60]="pch" [61]="packages" [62]="pa" [63]="patterns" [64]="pt" [65]="products" [66]="pd" [67]="what-provides" [68]="wp" [69]="addlock" [70]="al" [71]="removelock" [72]="rl" [73]="locks" [74]="ll" [75]="cleanlocks" [76]="cl" [77]="locales" [78]="lloc" [79]="addlocale" [80]="aloc" [81]="removelocale" [82]="rloc" [83]="versioncmp" [84]="vcmp" [85]="targetos" [86]="tos" [87]="licenses" [88]="download" [89]="source-download" [90]="needs-rebooting" [91]="ps" [92]="purge-kernels" [93]="subcommand" [94]="log") ZYPPER="$(type -P zypper)"; if test ${#ZYPPER_CMDLIST[@]} -eq 0; then ZYPPER_CMDLIST=($({ zypper -q subcommand; LC_ALL=POSIX zypper -q -h | sed -n '/[Cc]ommands:$/,$ s/^ \{6\}\([^ ,]\+\(,[ *][^ ,]\+\)*\).*/\1/p'; } | sed 's/, */\n/g')); if [[ " ${ZYPPER_CMDLIST[@]} " =~ " ${comp} " ]]; then opts=(${opts[@]}$(echo; LC_ALL=POSIX $ZYPPER -q lr | sed -rn '/^[0-9]/{ opts=(${ZYPPER_CMDLIST[*]}$(echo; LC_ALL=POSIX $ZYPPER -q help 2>&1 | sed -n '/[Oo]ptions:$/,/[Cc]ommands:$/ s/^[[:blank:]]*\(--[^[:blank:],[]*\).*/\1/p')); opts=$(LC_ALL=POSIX $ZYPPER -q help $command 2>&1 | sed -n '1,/[Oo]ptions:$/d; s/^.\{,6\}\(--[^[:blank:][]*\).*/\1/p'); opts=(${ZYPPER_CMDLIST[@]}) opts=(${opts[@]}$(echo; LC_ALL=POSIX $ZYPPER -q lr | sed -rn '/^[[:blank:]]*[0-9]/{ opts=(${opts[@]}$(echo; LC_ALL=POSIX $ZYPPER -q ls | sed -rn '/^[[:blank:]]*[0-9]/{ opts=(${opts[@]}$(echo; LC_ALL=POSIX $ZYPPER -q ll | sed -rn '/^[[:blank:]]*[0-9]/{ # Now the questions becomes what's responsible for that mess being there, and best way to defeat? Is this some developer's personal script leaked into the zypper release rpms? -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata
participants (4)
-
Andrei Borzenkov
-
Felix Miata
-
Jiri Slaby
-
Robert Webb