yum / grub[2] problem ?

Dave Jones davej at redhat.com
Fri Oct 14 16:26:53 UTC 2011


With todays f16 yum update, first I saw this..

ERROR with transaction check vs depsolve:
grub2 conflicts with (installed) grub-1:0.97-80.fc16.x86_64

Which I got around by doing --exclude=grub2
When everything else had updated, I did another yum update.
This is what it did..

$ sudo yum -y update --skip-broken
Loaded plugins: auto-update-debuginfo, langpacks, presto, refresh-packagekit
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package grub.x86_64 1:0.97-82.fc16 will be obsoleted
---> Package grub2.x86_64 1:1.99-9.fc16 will be obsoleting
--> Processing Dependency: os-prober for package: 1:grub2-1.99-9.fc16.x86_64
--> Running transaction check
---> Package os-prober.x86_64 0:1.48-1.fc16 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================================================================================================
 Package                               Arch                               Version                                     Repository                                   Size
========================================================================================================================================================================
Installing:
 grub2                                 x86_64                             1:1.99-9.fc16                               updates-testing                             1.2 M
     replacing  grub.x86_64 1:0.97-82.fc16
Installing for dependencies:
 os-prober                             x86_64                             1.48-1.fc16                                 fedora                                       30 k

Transaction Summary
========================================================================================================================================================================
Install       2 Packages

Total size: 1.2 M
Total download size: 30 k
Downloading Packages:
Running Transaction Check
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : os-prober-1.48-1.fc16.x86_64                                                                                                                         1/2 
  Installing : 1:grub2-1.99-9.fc16.x86_64                                                                                                                           2/2 
1:grub-0.97-82.fc16.x86_64 was supposed to be removed but is not!

Installed:
  grub2.x86_64 1:1.99-9.fc16                                                                                                                                            

Dependency Installed:
  os-prober.x86_64 0:1.48-1.fc16                                                                                                                                        

Failed:
  grub.x86_64 1:0.97-82.fc16                                                                                                                                            

Complete!


So now I have grub, and grub2 installed. I guess this isn't intended ?
Should I rpm -e grub ?

Additionally, I have a 0 byte /boot/grub2/grub.cfg, so grub2-mkconfig
isn't getting run during an update. Should it be ?

Or is the plan for yum update'd systems to continue using grub1 ?

	Dave



More information about the test mailing list