Bug 178275

Summary: [x86_64] i386 libwmf update-gdk-pixbuf-loaders post-un failure
Product: [Fedora] Fedora Reporter: Tim Mayberry <tmayberr>
Component: libwmfAssignee: Caolan McNamara <caolanm>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: 0.2.8.4-4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-01-19 10:19:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tim Mayberry 2006-01-18 23:56:27 UTC
Description of problem:

cannot remove libwmf package because of failure in %postun

Version-Release number of selected component (if applicable):

libwmf-0.2.8.4-3

How reproducible:

Steps to Reproduce:
1. Install i386 and x86_64 versions of gtk+2
2. remove gtk+2.i386 
3. remove libwmf.i386
  
Actual results:

/usr/bin/update-gdk-pixbuf-loaders: line 27:
/etc/gtk-2.0/i386-redhat-linux-gnu/gdk-pixbuf.loaders: No such file or directory
error: %postun(libwmf-0.2.8.4-3.i386) scriptlet failed, exit status 1

Expected results:

libwmf.i386 is removed.

Comment 1 Caolan McNamara 2006-01-19 10:19:57 UTC
well the i386 libwmf postun would run...

> /usr/bin/update-gdk-pixbuf-loaders i386-redhat-linux-gnu

which should automatically run

> /usr/bin/gdk-pixbuf-query-loaders-32 >
/etc/gtk-2.0/i386-redhat-linux-gnu/gdk-pixbuf.loaders

now the libwmf Requires is 

Requires(postun): %{_bindir}/update-gdk-pixbuf-loaders

Presumably the problem is that gtk2+.i386 was removed before libwmf.i386. Which
was only possible I guess because of the multilib rpm foo, where the
dependancies are not per arch rpm.

Well, we can work around this problem anyway to make it un-installable anyway.