[Bug 1029919] New: zypper crashes when baseurl does not contain http/https
http://bugzilla.opensuse.org/show_bug.cgi?id=1029919 Bug ID: 1029919 Summary: zypper crashes when baseurl does not contain http/https Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: libzypp Assignee: zypp-maintainers@forge.provo.novell.com Reporter: wattersm@watters.ws QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- zypper crashes when a repo file is missing the protocol in the download URL. For example, the following repo file causes zypper to crash. [home_Ximi1970_openSUSE_Extra] baseurl=download.opensuse.org/repositories/home:/Ximi1970:/openSUSE:/Extra/openSUSE_Tumbleweed enabled=1 gpgcheck=1 gpgkey=download.opensuse.org/repositories/home:/Ximi1970:/openSUSE:/Extra/openSUSE_Tumbleweed//repodata/repomd.xml.key priority=99 autorefresh=1 keeppackages=1 type=rpm-md Running any zypper command results in a crash as follows. linux-0yvh:~ # zypper search bacula Unexpected exception. Url scheme is a required component Please file a bug report about this. See http://en.opensuse.org/Zypper/Troubleshooting for instructions -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1029919 http://bugzilla.opensuse.org/show_bug.cgi?id=1029919#c1 Michael Andres <ma@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wattersm@watters.ws Flags| |needinfo?(wattersm@watters. | |ws) --- Comment #1 from Michael Andres <ma@suse.com> --- Where does the .repo file come from? It needs to be fixed. As the message says, an URL schema is required to tell whether you want cd: dvd: ftp: http: https: hd: dir: iso: nfs: nfs4: smb: cifs: or obs:. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1029919 http://bugzilla.opensuse.org/show_bug.cgi?id=1029919#c2 Michael Watters <wattersm@watters.ws> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #2 from Michael Watters <wattersm@watters.ws> --- The repo file was created by puppet. I have resolve the issue and zypper is working again. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1029919 http://bugzilla.opensuse.org/show_bug.cgi?id=1029919#c3 Bernhard Wiedemann <bwiedemann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bwiedemann@suse.com --- Comment #3 from Bernhard Wiedemann <bwiedemann@suse.com> --- It could still issue a more helpful error output, e.g. # zypper search bacula Error: The /etc/zypp/repo.d/foo.repo baseurl= value requires a URL scheme such as http:// -- You are receiving this mail because: You are on the CC list for the bug.
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com