Bug 184292 - (FC4->FC5 Anaconda Upgrade) scim-libs upgraded before pango
Summary: (FC4->FC5 Anaconda Upgrade) scim-libs upgraded before pango
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm   
(Show other bugs)
Version: 5
Hardware: All Linux
Target Milestone: ---
Assignee: Paul Nasrat
QA Contact: Mike McLean
Keywords: i18n
: 187261 (view as bug list)
Depends On:
Blocks: 171491 FC6Blocker
TreeView+ depends on / blocked
Reported: 2006-03-07 20:52 UTC by Warren Togami
Modified: 2007-11-30 22:11 UTC (History)
3 users (show)

Fixed In Version: fc5
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-08-28 08:46:24 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
upgrade.log (36.26 KB, text/plain)
2006-03-07 21:00 UTC, Warren Togami
no flags Details
Ordering from a fc4 system (2.00 MB, text/plain)
2006-03-08 18:51 UTC, Paul Nasrat
no flags Details

Description Warren Togami 2006-03-07 20:52:59 UTC
FC4 anaconda upgrade into rawhide-20060307 has a scriptlet error when it runs
%post of scim-libs.  The PreReq listed below should be DTRT but somehow fails in
the anaconda upgrade case.  A fresh install of rawhide-20060307 installs in the
correct order.

scim.spec contains:
%package libs
Summary:    Smart Common Input Method libraries
Group:      System Environment/Libraries
# for update-gtk-immodules
PreReq:     gtk2 > 2.8
Obsoletes:  iiimf-libs <= 1:12.2

%post libs
%{_bindir}/update-gtk-immodules %{_target_platfo

upgrade.log 37%:
Upgrading scim-libs-1.4.4-9.i386.
Cannot load module /usr/lib/gtk-2.0/immodules/im-scim.so:
libpangocairo-1.0.so.0: cannot open shared object file: No such file or directory
/usr/lib/gtk-2.0/immodules/im-scim.so does not export GTK+ IM module API:
libpangocairo-1.0.so.0: cannot open shared object file: No such file or directory
error: %post(scim-libs-1.4.4-9.i386) scriptlet failed, exit status 1

upgrade.log 48%:
Upgrading pango-1.11.99-1.i386.
upgrade.log 49%:
Upgrading gtk2-2.8.13-3.i386.

Comment 1 Warren Togami 2006-03-07 21:00:42 UTC
Created attachment 125777 [details]

Example upgrade.log

Comment 2 Paul Nasrat 2006-03-08 18:48:05 UTC
Replicated both inside and outside installer.

Comment 3 Paul Nasrat 2006-03-08 18:51:13 UTC
Created attachment 125828 [details]
Ordering from a fc4 system

Steps taken for attached order details:

import yum

y = yum.YumBase()

import rpm

Comment 4 Jeff Johnson 2006-03-08 23:12:27 UTC
Try adding whiteout to remove the loops.

Comment 5 Warren Togami 2006-03-08 23:20:02 UTC
This is necessary even though scim-libs has a PreReq on gtk2 > 2.8, and FC4 had

Comment 6 Jeff Johnson 2006-03-08 23:27:35 UTC
I said "Try adding whiteout to remove the loops." Did you?

Comment 7 Jens Petersen 2006-03-30 07:19:11 UTC
*** Bug 187261 has been marked as a duplicate of this bug. ***

Comment 8 Jens Petersen 2006-04-06 04:50:47 UTC
Jeff, what does "whiteout" mean?  Who was that question addressed? 

Comment 9 Jeff Johnson 2006-07-07 04:04:24 UTC
My reply was to warren.

The term "whiteout" comes from typewriters, messy goo to fix typos on paper.

In this context, whiteout means breaking dependency loops at precisely one
known point between 2 package nodes, as rpm ignores all Requires: in a loop,
leading to a difficult to QA indeterminism in package ordering.

Warren should know what "whiteout" is, if not, well, he has no business asking
stupid questions.

Comment 10 Caius Chance 2006-08-28 05:45:43 UTC
Is it a yum problem in prioritizing the package installation/upgrade order?

If so, would it be appropriate to change the involved component to "yum"?

Comment 11 Jens Petersen 2006-08-28 08:46:24 UTC
AFAIR this doesn't happen for final FC5 so I think we can close this.

Note You need to log in before you can comment on or make changes to this bug.