[Bug 717483] New: zypper/yast fails to manage repo with multiple colons in the name
https://bugzilla.novell.com/show_bug.cgi?id=717483 https://bugzilla.novell.com/show_bug.cgi?id=717483#c0 Summary: zypper/yast fails to manage repo with multiple colons in the name Classification: openSUSE Product: openSUSE 12.1 Version: Factory Platform: i586 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: andrea.turrini@gmail.com QAContact: qa@suse.de Found By: --- Blocker: --- Created an attachment (id=450433) --> (http://bugzilla.novell.com/attachment.cgi?id=450433) y2logs User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20100101 Firefox/7.0 I originally found this problem in openSUSE 11.4 but it is still present in openSUSE 12.1 M5 (installed from DVD-Build0250) and just updated. It seems that libzypp (I suppose it is libzypp since the problem occurs with both zypper and yast) is not able to manage correctly repo names containing multiple colons: for instance, if you want to use K:D:F as name of KDE:Distro:Factory, you can not. In fact, if you use the command zypper -vv ar "http://download.opensuse.org/repositories/KDE:/Distro:/Factory/openSUSE_Fact..." "K:D:F" you obtain: Verbosity: 2 Non-option program arguments: 'http://download.opensuse.org/repositories/KDE:/Distro:/Factory/openSUSE_Fact...' 'K:D:F' Initializing Target Adding repository 'K:D:F' [done] Repository 'K:D:F' successfully added Enabled: Yes Autorefresh: No URI: http://download.opensuse.org/repositories/KDE:/Distro:/Factory/openSUSE_Fact... but the repo is not listed by zypper lr and you can not look for packages in it. Moreover, the .repo file is created as D:F.repo and its content is: [K:D:F] name=K:D:F enabled=1 autorefresh=0 baseurl=http://download.opensuse.org/repositories/KDE:/Distro:/Factory/openSUSE_Fact... type=NONE keeppackages=0 Everything works correctly if you use as name "K:DF" or "KD:F". The interesting thing is that in the former case the repo file is DF.repo; in the latter KD:F.repo (but the repository is actually available). The same happens using yast: you are able to add the repository with name K:D:F, it is listed together with other repositories and on exit it is updated. If you run again "yast2 repositories", it is simply missing from the list of defined repositories and also it is available in software management. Reproducible: Always Steps to Reproduce: 1. 2. 3. Package version: libzypp: 9.10.1-2.2 i586 zypper: 1.6.14-4.4 i586 yast2-packager: 2.21.10-2.1 i586 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=717483
https://bugzilla.novell.com/show_bug.cgi?id=717483#c1
Michael Andres
participants (1)
-
bugzilla_noreply@novell.com