Re: Yum update on FC5 install new kernel but don't update grub.conf

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

 



On Wed, 2006-05-10 at 19:09 -0400, Jim Cornette wrote:
> Ambrogio wrote:
> > Il giorno mar, 09/05/2006 alle 07.47 +0200, Ambrogio ha scritto:
> > Ok, but noone talk about the first problem.
> > 
> > What is wrong is that
> > rpm -ivh kernel-2.6.16-1.2111_FC5.x86_64.rpm
> > kernel-devel-2.6.16-1.2111_FC5.x86_64.rpm
> > Preparing...                ###########################################
> > [100%]
> >         package kernel-devel-2.6.16-1.2111_FC5 is already installed
> >         package kernel-2.6.16-1.2111_FC5 is already installed
> > 
> > and 
> > 
> > rpm -e kernel-2.6.16-1.2111_FC5.x86_64.rpm
> > kernel-devel-2.6.16-1.2111_FC5.x86_64.rpm
> > error: package kernel-2.6.16-1.2111_FC5.x86_64.rpm is not installed
> > error: package kernel-devel-2.6.16-1.2111_FC5.x86_64.rpm is not installed
> > 
> > no solution about that?
> > I think is not a problem related to disk spaces because yum check for
> > space requirement.
> > 
> > Maybe a rpm database's corruption.
> > I can try with --force but I want to check other way before.
> > 
> > Bye
> >  Ambrogio
> > 
> 
> The problem seems to be related to %post scriptlets being halted while 
> the kernel is being installed. This problem with scriptlets not being 
> performed were caused by SELinux labeling being incorrect and 
> interfering with the unpacking and installing of the rpms.
> 
> In a root shell run 'setenforce 0' followed by rpm -ivh --replacefiles 
> --replacepkgs kernel-<version>.rpm
> 
> setenforce 0 puts SELinux into permissive mode which prevent problems 
> with SELinux interfering with the installation of rpms.
> 
> --replacefiles and --replacepkgs will overwrite the files and add files 
> to already installed rpms without the need to use force as an option.
> 
> If this hapens to be the reason, you need to relabel your filesystem for 
> SELinux or put init into permissive mode when installing rpms.

I've heard of this happening with yumex (which wasn't originally
labelled with the correct SELinux context type), but not with yum or
plain rpm.

Paul.

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux