[Bug 1226426] New: zypper refresh - GLib-CRITICAL assertion 'str != NULL' failed errors
https://bugzilla.suse.com/show_bug.cgi?id=1226426 Bug ID: 1226426 Summary: zypper refresh - GLib-CRITICAL assertion 'str != NULL' failed errors Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.6 Hardware: x86-64 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Maintenance Assignee: maintenance@opensuse.org Reporter: bugrprt21882@online.de QA Contact: qa-bugs@suse.de Target Milestone: --- Found By: --- Blocker: --- Since the upgrade from Leap 15.5 to Leap 15.6, "zypper refresh" and "zypper list-patches/updates" and "zypper info" are indicating the following (multiple) errors: Aktualisieren der Rohmetadaten erzwingen Metadaten von Repository 'Update repository of openSUSE Backports' abrufen ------------------------------------------[\] (process:32487): GLib-CRITICAL **: 11:50:03.055: g_uri_get_scheme: assertion 'uri != NULL' failed (process:32487): GLib-CRITICAL **: 11:50:03.055: g_uri_get_scheme: assertion 'uri != NULL' failed (process:32487): GLib-CRITICAL **: 11:50:03.055: g_str_has_prefix: assertion 'str != NULL' failed (process:32487): GLib-CRITICAL **: 11:50:03.055: g_uri_get_scheme: assertion 'uri != NULL' failed (process:32487): GLib-CRITICAL **: 11:50:03.055: g_str_has_prefix: assertion 'str != NULL' failed (process:32487): GLib-CRITICAL **: 11:50:03.055: g_uri_get_scheme: assertion 'uri != NULL' failed (process:32487): GLib-CRITICAL **: 11:50:03.055: g_str_has_prefix: assertion 'str != NULL' failed (process:32487): GLib-CRITICAL **: 11:50:03.055: g_uri_to_string: assertion 'uri != NULL' failed --- The process is: # ps -F 32487 UID PID PPID C SZ RSS PSR STIME TTY STAT TIME CMD root 32487 19474 16 139990 51420 3 11:49 pts/3 Sl+ 0:06 zypper refresh --force # --- (stripped the errors) # zypper info zypper Repository-Daten werden geladen... Installierte Pakete werden gelesen... Informationen zu Paket zypper: ------------------------------ Repository : Haupt-Repository Name : zypper Version : 1.14.71-150600.8.2 Arch : x86_64 Anbieter : SUSE LLC <https://www.suse.com/> Installierte Größe : 8,1 MiB Installiert : Ja Status : aktuell Quellpaket : zypper-1.14.71-150600.8.2.src Upstream-URL : https://github.com/openSUSE/zypper Zusammenfassung : Softwareverwaltung in der Befehlszeile, mit libzypp Beschreibung : Zypper is a command line tool for managing software. It can be used to add package repositories, search for packages, install, remove, or update packages, install patches, hardware drivers, verify dependencies, and more. Zypper can be used interactively or non-interactively by user, from scripts, or front-ends. # --- * No error indicated: # zypper repos --uri Repository-Prioritäten treten in Kraft: (Siehe 'zypper lr -P' für Details) 99 (Standard-Priorität) : 15 Repositorys 100 (gesenkte Priorität) : 1 Repository 101 (gesenkte Priorität) : 1 Repository 102 (gesenkte Priorität) : 2 Repositorys 103 (gesenkte Priorität) : 3 Repositorys 105 (gesenkte Priorität) : 1 Repository 110 (gesenkte Priorität) : 1 Repository # | Alias | Name | Enabled | GPG Check | Refresh | URI ---+----------------------------------+---------------------------------------------------------------------------------------------+---------+-----------+---------+-------------------------------------------------------------------------------- 1 | Build_Service:_PHP:_Applications | openSUSE BuildService - PHP:Applications | Ja | (r ) Ja | Ja | https://download.opensuse.org/repositories/server:/php:/applications/15.6/ 2 | Essentials | Packman Repository - Essentials | Ja | (r ) Ja | Ja | https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_15.6/Essential... 3 | Graphics_Project | Graphics Project | Nein | ---- | ---- | https://download.opensuse.org/repositories/graphics/15.6/ 4 | Hardware:Tools | Hardware tools | Ja | (r ) Ja | Ja | https://download.opensuse.org/repositories/hardware/15.6/ 5 | KDE:Extra | KDE: Extra | Ja | (r ) Ja | Ja | https://download.opensuse.org/repositories/KDE:/Extra/openSUSE_Leap_15.6/ 6 | KDE:Frameworks5 | KDE:Frameworks5 | Nein | ---- | ---- | https://download.opensuse.org/repositories/KDE:/Frameworks5/openSUSE_Leap_15... 7 | Multimedia:Apps | Multimedia: Apps | Ja | (r ) Ja | Ja | https://download.opensuse.org/repositories/multimedia:/apps/15.6/ 8 | Multimedia:Libs | Multimedia: Libs | Ja | (r ) Ja | Ja | https://download.opensuse.org/repositories/multimedia:/libs/15.6/ 9 | Security_project | Security project | Ja | (r ) Ja | Ja | https://download.opensuse.org/repositories/security/15.6/ 10 | VideoLAN_libdvdcss | VideoLAN - libdvdcss | Ja | (r ) Ja | Ja | https://download.videolan.org/SuSE/15.6/ 11 | openSUSE_Virtulization | openSUSE Virtualization | Ja | (r ) Ja | Ja | https://download.opensuse.org/repositories/Virtualization/15.6/ 12 | repo-backports-debug-update | Update repository with updates for openSUSE Leap debuginfo packages from openSUSE Backports | Ja | (r ) Ja | Ja | http://download.opensuse.org/update/leap/15.6/backports_debug/ 13 | repo-backports-update | Update repository of openSUSE Backports | Ja | (r ) Ja | Ja | http://download.opensuse.org/update/leap/15.6/backports/ 14 | repo-debug | Debug Repository | Ja | (r ) Ja | Ja | http://download.opensuse.org/debug/distribution/leap/15.6/repo/oss/ 15 | repo-debug-backports-update | Update repository of openSUSE Backports (Debug) | Ja | (r ) Ja | Ja | http://download.opensuse.org/update/leap/15.6/backports_debug/ 16 | repo-debug-non-oss | Debug Repository (Non-OSS) | Ja | (r ) Ja | Ja | http://download.opensuse.org/debug/distribution/leap/15.6/repo/non-oss/ 17 | repo-debug-sle-update | Update repository with updates from SUSE Linux Enterprise 15 (Debug) | Ja | (r ) Ja | Ja | http://download.opensuse.org/debug/update/leap/15.6/sle/ 18 | repo-debug-update | Update Repository (Debug) | Ja | (r ) Ja | Ja | http://download.opensuse.org/debug/update/leap/15.6/oss/ 19 | repo-debug-update-non-oss | Update Repository (Debug, Non-OSS) | Ja | (r ) Ja | Ja | http://download.opensuse.org/debug/update/leap/15.6/non-oss/ 20 | repo-non-oss | Non-OSS Repository | Ja | (r ) Ja | Ja | http://download.opensuse.org/distribution/leap/15.6/repo/non-oss/ 21 | repo-openh264 | Open H.264 Codec (openSUSE Leap) | Ja | (r ) Ja | Ja | http://codecs.opensuse.org/openh264/openSUSE_Leap/ 22 | repo-oss | Haupt-Repository | Ja | (r ) Ja | Ja | http://download.opensuse.org/distribution/leap/15.6/repo/oss/ 23 | repo-sle-debug-update | Update repository with debuginfo for updates from SUSE Linux Enterprise 15 | Ja | (r ) Ja | Ja | http://download.opensuse.org/debug/update/leap/15.6/sle/ 24 | repo-sle-update | Update repository with updates from SUSE Linux Enterprise 15 | Ja | (r ) Ja | Ja | http://download.opensuse.org/update/leap/15.6/sle/ 25 | repo-update | Hauptaktualisierungs-Repository | Ja | (r ) Ja | Ja | http://download.opensuse.org/update/leap/15.6/oss 26 | repo-update-non-oss | Aktualisierungs-Repository (Nicht-Open-Source-Software) | Ja | (r ) Ja | Ja | http://download.opensuse.org/update/leap/15.6/non-oss/ # -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1226426 Andreas Stieger <Andreas.Stieger@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|maintenance@opensuse.org |zypp-maintainers@suse.de Component|Maintenance |libzypp -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1226426 https://bugzilla.suse.com/show_bug.cgi?id=1226426#c2 Donald Curtis <bugrprt21882@online.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(bugrprt21882@onli | |ne.de) | --- Comment #2 from Donald Curtis <bugrprt21882@online.de> --- Created attachment 875523 --> https://bugzilla.suse.com/attachment.cgi?id=875523&action=edit zypper.log 2024-06-17 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1226426 https://bugzilla.suse.com/show_bug.cgi?id=1226426#c3 --- Comment #3 from Andreas Stieger <Andreas.Stieger@gmx.de> --- (In reply to Donald Curtis from comment #0)
(process:32487): GLib-CRITICAL **: 11:50:03.055: g_uri_get_scheme: assertion 'uri != NULL' failed
libproxy... -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1226426 https://bugzilla.suse.com/show_bug.cgi?id=1226426#c5 --- Comment #5 from Donald Curtis <bugrprt21882@online.de> --- I rechecked /etc/sysconfig/proxy --
grep -E 'PROXY_|_PROXY' /etc/sysconfig/proxy PROXY_ENABLED="no" HTTP_PROXY="" HTTPS_PROXY="" FTP_PROXY="" GOPHER_PROXY="" SOCKS_PROXY="" NO_PROXY="localhost, 127.0.0.1"
--- I then checked the user's ~/.profile – * Many, including root, had “source /etc/sysconfig/proxy” and export HTTP_PROXY export HTTPS_PROXY etc. etc. Commented out everything which sourced /etc/sysconfig/proxy and exported the proxy shell variables in the user's ~/.profile – * rebooted The issue has disappeared. --- Something changed between Leap 15.5 and Leap 15.6 which affected the shell variables related to proxy settings. * I had a similar issue with a Java Home Banking application which was caused by having “Proxy - Use System Settings” enabled in the application. --- For me, the issue has been resolved. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com