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: