Bug 204730

Summary: uninstalling gstreamer-plugins fails if gstreamer is not installed
Product: [openSUSE] SUSE Linux 10.1 Reporter: Martin Vidner <mvidner>
Component: GNOMEAssignee: Stanislav Brabec <sbrabec>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: andreas.hanke
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Martin Vidner 2006-09-09 14:36:01 UTC
I don't use or understand gstreamer, but maybe it could help if the scriptlets checked (using test -x) whether the called tools are present.

kaname:~ # rpm -e gstreamer gstreamer-plugins
/var/tmp/rpm-tmp.3229: line 2: /opt/gnome/bin/gst-register: No such file or directory
error: %postun(gstreamer-plugins-0.8.11-3.i586) scriptlet failed, exit status 127
kaname:~ # rpm -q gstreamer gstreamer-plugins
package gstreamer is not installed
gstreamer-plugins-0.8.11-3
kaname:~ # rpm -q --scripts gstreamer-plugins
postinstall scriptlet (using /bin/sh):
/sbin/ldconfig
/opt/gnome/bin/gst-register >/dev/null
export GCONF_CONFIG_SOURCE=`opt/gnome/bin/gconftool-2 --get-default-source`
opt/gnome/bin/gconftool-2 --makefile-install-rule etc/opt/gnome/gconf/schemas/gstreamer-0.8.schemas >/dev/null
postuninstall scriptlet (using /bin/sh):
/sbin/ldconfig
/opt/gnome/bin/gst-register >/dev/null
kaname:~ # rpm -e --nopostun gstreamer-plugins
kaname:~ #
Comment 1 Stanislav Brabec 2006-09-13 10:02:28 UTC
It should not happen, because:
gstreamer-plugins.spec:
PreReq:         filesystem gconf2 gstreamer = %(rpm -q --queryformat '%{VERSION}' gstreamer)

But guessing from RPM Release nuber, it seems to be gstreamer-plugins from SuSE Linux 10.0, so it is probably a duplicate of bug 170571.

Can you confirm, that the system was updated from 10.0 or older?
Comment 2 Martin Vidner 2006-09-13 11:39:45 UTC
When the bug happened the system was a 10.1 but it had been upgraded from 10.0 before (using y2pmsh).
Comment 3 Stanislav Brabec 2006-09-13 11:47:18 UTC
Then it is a duplicate of bug 170571, which will be fixed in 10.2 and relics from unupdated 10.0 will be finally removed.

You may see following error message in the y2log of the 10.0->10.1 update.

%postun(gstreamer-plugins-0.8.11-3.i586) scriptlet failed, exit status 127

*** This bug has been marked as a duplicate of bug 170571 ***