Yum failing a dependency, removing FC3 packages of the same name as FC4
Paul Howarth
paul at city-fan.org
Thu Sep 15 16:07:11 UTC 2005
Douglas Phillipson wrote:
> I think these two things might be related but I'm not sure.
>
> Several months ago I used yum to update from FC3 to FC4. I removed
> the FC3 "fedora-release" package and installed the FC4 "fedora-release"
> package then did yum -y update. All went smooth. I've been running
> updates every week for quite a while with no problems. Today during a
> routine yum update I got the following dependency error:
>
> --> Running transaction check
> --> Processing Conflict: hal conflicts kernel < 2.6.11
> --> Finished Dependency Resolution
> Error: hal conflicts with kernel < 2.6.11
>
> I'm running 2.6.12.
>
> 2.6.12-1.1447_FC4smp #1 SMP
>
> I ran a list of installed kernels and discovered:
>
> kernel.i686 2.6.12-1.1372_FC3 installed
> kernel.i686 2.6.9-1.667 installed
> kernel.i686 2.6.12-1.1447_FC4 installed
> kernel.i686 2.6.12-1.1398_FC4 installed
> kernel-smp.i686 2.6.11-1.35_FC3 installed
> kernel-smp.i686 2.6.12-1.1398_FC4 installed
> kernel-smp.i686 2.6.11-1.27_FC3 installed
> kernel-smp.i686 2.6.12-1.1372_FC3 installed
> kernel-smp.i686 2.6.9-1.667 installed
> kernel-smp.i686 2.6.12-1.1447_FC4 installed
> kernel-smp.i686 2.6.11-1.14_FC3 installed
>
>
> Is the old FC3 kernel causing my dependency problem with "hal"?
Yes.
> How do you remove a FC3 package when the FC4 package is named the same?
They aren't the same.
Do this to remove the pre-FC4 kernels:
# rpm -e kernel-2.6.12-1.1372_FC3 \
kernel-2.6.9-1.667 \
kernel-smp-2.6.11-1.35_FC3 \
kernel-smp-2.6.11-1.27_FC3 \
kernel-smp-2.6.12-1.1372_FC3 \
kernel-smp-2.6.9-1.667 \
kernel-smp-2.6.11-1.14_FC3
You might also want to remove some of the older FC4 kernels if you're
happy with the current kernel.
Paul.
More information about the fedora-list
mailing list