Re: [Test-Announce] Note for people with EFI installs: install grub-efi!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/12/2011 06:26 PM, Adam Williamson wrote:
> On Wed, 2011-10-12 at 12:29 +0300, Kalev Lember wrote:
>> I can think of two ways to convince yum to always install grub-efi on
>> upgrades:
>>  a) have grub2 require grub-efi; or
>>  b) have grub-efi obsolete grub.

Both of the cases are also described on yum wiki page:
 a) http://yum.baseurl.org/wiki/YumPackageUpdates#PackagesplitintwoApplicationandnewlibraries
 b) http://yum.baseurl.org/wiki/YumPackageUpdates#Generalcase


>> I would personally prefer (a), but (b) should also work. grub2 is
>> already obsoleting grub, and if grub-efi was made to _also_ obsolete
>> grub, then yum should install _both_ grub2 and grub-efi on upgrades.
> 
> Yes - it's not that we necessarily intended to leave it that way, but I
> wanted to give people a heads-up as the problem exists _now_.
> 
> I think b) sounds closer to our goal here, if it does actually work that
> way (I thought yum would just pick one of the obsoleting packages).

As much as I know, yes: it installs all the packages that obsolete the
old one. For the general case where you have pkgX-1.0-1 installed and
want to get replacementY and replacementZ installed, this should work:

# replacementY
Obsoletes: pkgX < 1.0.0-2

# replacementZ
Obsoletes: pkgX < 1.0.0-2


-- 
Hope this helps,
Kalev
-- 
test mailing list
test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe: 
https://admin.fedoraproject.org/mailman/listinfo/test


[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux