odd dependancy problem.

Dave Jones davej at redhat.com
Wed Jun 13 01:28:16 UTC 2007


mkinitrd-6.0.9-6 was busted, so Peter built a 6.0.9-7.1
that went out to updates-testing today.
The latest kernel has a Prereq: on ver 6.0.9-7.1

So why did this happen...

# yum -y update
Loading "installonlyn" plugin
Setting up Update Process
kernel                    100% |=========================|  951 B    00:00     
primary.xml.gz            100% |=========================| 2.1 kB    00:00     
kernel    : ################################################## 6/6
fedora                    100% |=========================| 2.1 kB    00:00     
updates-testing           100% |=========================| 1.9 kB    00:00     
updates                   100% |=========================| 1.9 kB    00:00     
primary.sqlite.bz2        100% |=========================| 271 kB    00:00     
Resolving Dependencies
--> Running transaction check
filelists.xml.gz          100% |=========================| 146 kB    00:00     
---> Package kernel-debug.i686 0:2.6.21-1.3228.fc7 set to be updated
--> Processing Dependency: mkinitrd >= 6.0.9-7.1 for package: kernel-debug
--> Finished Dependency Resolution
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size 
=============================================================================
Installing:
 kernel-debug            i686       2.6.21-1.3228.fc7  kernel             16 M
Removing:
 kernel-debug            i686       2.6.21-1.3226.fc7  installed          47 M

Transaction Summary
=============================================================================
Install      1 Package(s)         
Update       0 Package(s)         
Remove       1 Package(s)         

Total download size: 16 M
Downloading Packages:
(1/1): kernel-debug-2.6.2 100% |=========================|  16 MB    00:21     
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: kernel-debug                 ######################### [1/2] 

*hang*.
*thinks, wait, that hang happened in the broken mkinitrd, what's installed?
ctrl-z ...

(21:21:39:root at firewall:~)# rpm -q mkinitrd
mkinitrd-6.0.9-6

# killall grubby
(21:21:39:root at firewall:~)# vim /etc/yum.repos.d/fedora-updates-testing.repo 
(21:21:51:root at firewall:~)# fg
yum -y update
/sbin/new-kernel-pkg: line 90:  5622 Terminated              $grubby --add-kernel=$bootPrefix/$kernelName-$version $INITRD --copy-default $makedefault --title "$title" ${mbkernel:+--add-multiboot="$mbkernel"} ${mbargs:+--mbargs="$mbargs"} --args="root=$rootdevice $kernargs" --remove-kernel="TITLE=$title"
  Cleanup   : kernel-debug                 ######################### [2/2]

Removed: kernel-debug.i686 0:2.6.21-1.3226.fc7
Installed: kernel-debug.i686 0:2.6.21-1.3228.fc7
Complete!


# yum -y update
Loading "installonlyn" plugin
Setting up Update Process
No Packages marked for Update/Obsoletion



So, yum found the prereq, didn't complain that it wasn't available,
and proceeded to install the kernel, even though the prereq wasn't installed.

What's going on ?

	Dave

-- 
http://www.codemonkey.org.uk




More information about the fedora-test-list mailing list