Re: /etc/yum/protected.d/ content thwarts yum update/upgrade

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

 



On Sun, Apr 01, 2012 at 07:17:51PM -0400, Felix Miata wrote:
> 
> >> exclude=grub
> 
> >You do not want obsoletes, dependencies and the like. Try instead
> 
> >  exclude=grub*
> 
> This did pretty well. When upgrade finished (upwards of 150
> packages), there remained three packages with two different versions
> installed. I yum removed each of the older. Also, kernel would not
> upgrade due to failed dependance on grubby. I removed the asterisk,
> did 'yum upgrade grubby', then tried 'yum upgrade' again, which
> again produced the protected grub obstacle.

In such case you can be more specific and do

exclude=grub-* grub2*

and this will not match 'grubby'.  yum is using "shell patterns" and not
"regular expresssions". Besides nothing really stops you from doing

  yum --exclude='this*' --exclude='that' .....

picking up suitable patterns to fit your needs. AFAIK there is no
option to explicitely "unexclude" some package.

   Michal
-- 
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