Bug 173507

Summary: yum update procceses transaction in wrong order
Product: [Fedora] Fedora Reporter: Dennis Gilmore <dennis>
Component: yumAssignee: Jeremy Katz <katzj>
Status: CLOSED WORKSFORME QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: xgl-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://atlantis.ausil.us/yumupdate
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-04-19 20:21:53 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 Dennis Gilmore 2005-11-17 18:15:52 UTC
Description of problem: 
When Doing update from rawhide system with monolithic X to modular X  the 
update fails.  the reason being the yum wants to remove the old 
xorg-font-utils before doing the font upgrade.  mharris has specified the 
correct obsoletes. 
 
[2005-11-17 12:06] <skvidal> and where do they require that package? You said 
it was all in %postun/post? 
[2005-11-17 12:07] <mharris> skvidal: yep, post/postun scripts 
[2005-11-17 12:07] <skvidal> ts.order() is still done using rpm - so I'd guess 
something is sorting in the wrong order so that the obsolete is happening 
first 
Version-Release number of selected component (if applicable): 
rpm-4.4.2-6 
 
How reproducible: 
always 
 
Steps to Reproduce: 
1. yum update  
2. 
3. 
   
Actual results: 
 
update files with 
Error: Missing Dependency: /usr/X11R6/bin/mkfontdir is needed by package 
fonts-xorg-ISO8859-14-100dpi 
Error: Missing Dependency: xorg-x11-devel is needed by package Xaw3d-devel 
Error: Missing Dependency: /usr/X11R6/bin/mkfontdir is needed by package 
fonts-xorg-ISO8859-15-75dpi 
Error: Missing Dependency: /usr/X11R6/bin/mkfontdir is needed by package 
fonts-xorg-ISO8859-2-75dpi 
Error: Missing Dependency: /usr/X11R6/bin/mkfontdir is needed by package 
fonts-xorg-ISO8859-15-100dpi 
Error: Missing Dependency: /usr/X11R6/bin/mkfontdir is needed by package 
fonts-xorg-ISO8859-9-75dpi 
Error: Missing Dependency: /usr/X11R6/bin/mkfontdir is needed by package 
fonts-xorg-ISO8859-2-100dpi 
Error: Missing Dependency: /usr/X11R6/bin/mkfontdir is needed by package 
fonts-xorg-ISO8859-14-75dpi 
Error: Missing Dependency: /usr/X11R6/bin/mkfontdir is needed by package 
fonts-xorg-ISO8859-9-100dpi 
 
Expected results: 
 yum update procedes 
 
Additional info: 
 
at the url  is the full output from the yum update

Comment 1 Jeff Johnson 2005-11-18 16:46:13 UTC
I see yum, not rpm, as the failing component here.

Comment 2 Jeremy Katz 2005-11-18 17:12:41 UTC
What's in your /etc/yum.conf?  Do you have obsoletes=1 set?

Comment 3 Dennis Gilmore 2005-11-18 18:38:23 UTC
thats what i have. 
 
[dennis@anubis ~]$ cat /etc/yum.conf 
[main] 
cachedir=/var/cache/yum 
debuglevel=2 
logfile=/var/log/yum.log 
pkgpolicy=newest 
distroverpkg=redhat-release 
tolerant=1 
exactarch=1 
retries=20 
obsoletes=1 
gpgcheck=1 
 
# PUT YOUR REPOS HERE O 

Comment 4 Jeremy Katz 2006-04-19 20:21:53 UTC
Haven't been able to reproduce this.