Bug 173507 - yum update procceses transaction in wrong order
Summary: yum update procceses transaction in wrong order
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact:
URL: http://atlantis.ausil.us/yumupdate
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-11-17 18:15 UTC by Dennis Gilmore
Modified: 2014-01-21 22:53 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-04-19 20:21:53 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


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