yum / grub[2] problem ?

Peter Jones pjones at redhat.com
Fri Oct 14 17:14:37 UTC 2011


On 10/14/2011 12:26 PM, Dave Jones wrote:
> 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 ?

Should just have grub2 and not grub - looks like a yum or rpm problem?

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

Yum updates are something I intent to look and see if there's anything
we can do to make them work, but right now there are a lot of things that
are higher priority.  It might be possible to do something with rpm
triggers to fix the yum update case; I'm not sure yet.

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

You know all those times in the past when we (the anaconda group) have
said that there are just some things yum upgrade can't get right?

Just sayin'.

-- 
        Peter


More information about the test mailing list