Bug 235303

Summary: package-manager script needs to follow /opt/gnome -> /usr move
Product: [openSUSE] openSUSE 10.3 Reporter: Andreas Hanke <andreas.hanke>
Component: YaST2Assignee: Martin Vidner <mvidner>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: fkamogee
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Andreas Hanke 2007-01-16 07:19:31 UTC
The xsu() function in the /usr/bin/package-manager wrapper script does not know that gnomesu is now /usr/bin/gnomesu and not /opt/gnome/bin/gnomesu any more.
Comment 1 Andreas Hanke 2007-01-16 07:23:04 UTC
Btw. the answer to the question in the FIXME line is yes, there is a desktop agnostic command. opensuse-updater installs a copy of it as /opt/kde3/bin/opensuseupdater-su.
Comment 2 Klaus Kämpf 2007-01-16 09:32:13 UTC
Thats somewhere in YaST I guess
Comment 3 Andreas Hanke 2007-01-16 09:40:10 UTC
$ rpm -qf /usr/bin/package-manager
libzypp-2.11.2-3

$ head -n 3 /usr/bin/package-manager
#! /bin/sh
# by http://en.opensuse.org/User:Mvidner
# https://bugzilla.novell.com/show_bug.cgi?id=222757
Comment 4 Martin Vidner 2007-02-12 09:42:33 UTC
Oh, thanks for the pointer.
Now I use a /usr/bin/package-manager-su, a copy of xdg-su (It's a copy because I don't want libzypp to depend on xdg-utils).

Fixed in libzypp trunk for 10.3, r5002.
Comment 5 Martin Vidner 2007-02-12 09:42:54 UTC
*** Bug 244442 has been marked as a duplicate of this bug. ***
Comment 6 Martin Vidner 2007-02-19 14:04:47 UTC
*** Bug 246488 has been marked as a duplicate of this bug. ***