[Bug 403161] New: webpin still needs root access to use zypper support
https://bugzilla.novell.com/show_bug.cgi?id=403161 Summary: webpin still needs root access to use zypper support Product: openSUSE 11.0 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: guru@unixtech.be ReportedBy: cmorve69@yahoo.es QAContact: qa@suse.de Found By: --- zypper sl on openSUSE 11.0 works without being root (webping man says it needs it), but webpin still asks for root access to use the zypper support. Also, when using root with zypper support the program crashes: # webpin --zypper amarok 23 results (13 packages) found for "amarok" in openSUSE_110 * pacpl-amarok: Perl Audio Converter - Amarok extension Traceback (most recent call last): File "/usr/bin/webpin", line 555, in <module> t.show() File "/usr/bin/webpin", line 331, in show r.show() File "/usr/bin/webpin", line 247, in show formatRepos(self.versionRepoNames[package.version], self.repoURLs) File "/usr/bin/webpin", line 381, in formatRepos ('%s | %s' % (cs.repoSeparator, cs.repoName)).join(decorateRepos(repos, urlMap)), File "/usr/bin/webpin", line 362, in decorateRepos state = zypperSingleton.hasChannel(name, url) File "/usr/lib64/python2.5/site-packages/webpin/PackageManager.py", line 23, in hasChannel self._buildCacheHook() File "/usr/lib64/python2.5/site-packages/webpin/Zypper.py", line 14, in _buildCacheHook self.getCache() File "/usr/lib64/python2.5/site-packages/webpin/Zypper.py", line 33, in getCache url = normalizeURL(fields[5].strip()) IndexError: list index out of range -- 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=403161 User guru@unixtech.be added comment https://bugzilla.novell.com/show_bug.cgi?id=403161#c1 Pascal Bleser <guru@unixtech.be> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #1 from Pascal Bleser <guru@unixtech.be> 2008-06-25 01:03:50 MDT --- The output format of "zypper sl" has changed, which is why it is clashing on 11.0. I'll have to partly rewrite zypper support in webpin anyway, as there is no way to have the repository URLs in the output of "zypper sl" (nor "zypper lr") and will parse the *.repo files in /etc/zypp.d/repos/ instead (when available, when not, I'll keep using the current code as it's a pre-11.0 zypp). -- 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=403161 User cmorve69@yahoo.es added comment https://bugzilla.novell.com/show_bug.cgi?id=403161#c2 --- Comment #2 from Christian Morales Vega <cmorve69@yahoo.es> 2008-07-19 08:23:38 MDT --- Now you can obtain URLs from "zypper lr -u". -- 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.
participants (1)
-
bugzilla_noreply@novell.com