PDA

View Full Version : yum upgrade from f6 to f7



Acme
1st June 2007, 11:54 PM
I have upgraded via yum one machine with fedora core 6 x64 and i didnt have any problem, but when i do in another machine with x86_64 it said those depndencies:
Error: Unable to satisfy dependencies
Error: Package mkinitrd needs nash = 5.1.19.0.3-1, this is not available.
Error: Package mkinitrd needs libparted-1.8.so.2, this is not available.

Why this?thanks

mgr
5th June 2007, 03:40 PM
On this particular machine you have both 32 bit and 64 bit versions of mkinitrd.
(To check, type at the command prompt 'rpm -q mkinitrd' - without quotes.
You should get two identical lines as a response.)
Just remove unnecessary 32bit package

yum remove mkinitrd.i386

Use the same recipe if you have other similar package conflicts.

Samson
24th June 2007, 07:24 PM
Related note:

Why would I be seeing this?


Removing:
kernel x86_64 2.6.20-1.2952.fc6 installed 60 M
kernel-devel x86_64 2.6.20-1.2952.fc6 installed 15 M

When there's no corresponding new kernel being installed? I scrolled back up the huge list of packages after fixing the mkinitrd problem I had but nowhere on the list is an updated kernel being installed to replace the one it wants to remove. The kernel-headers package for 3228 is listed but that's all.

SlowJet
24th June 2007, 07:42 PM
I have upgraded via yum

s/b

I d/l'ed the dvd and booted with it and selected my system to be upGRADED.

SJ

Samson
24th June 2007, 07:49 PM
Well I could upgrade too, but I'm certainly wary of saying yes to a list of updates that tells me it's removing my only kernel but DOES NOT tell me a new one is being installed to replace it - as has always been the case with kernel updates in the past.

Samson
24th June 2007, 08:04 PM
Ok. Here's what I had to do in case anyone else runs into this ( AMD 64 ):

yum remove parted.i386
yum clean all
yum update kernel
yum update

Everything then upgraded as expected.

SlowJet
24th June 2007, 08:33 PM
And that's because the newer nash and mkinitrd now match the current kernel.
If you had done it 2 weeks ago it would have failed.

So you were successful only because there wasn't another development area problem. (in this case x86-64 repos messed up.)

next time it could be something else.

The difference between yum and dvd is that you get only one chance to get it right with yum.
The dvd can be re-ran and continue upgrading after problems are fixed.
It can also be used as a rescue (the d/l actually comes with a separate rescue.iso) can fix issues (which may be in the log file of the installer or on the release notes or in this forum or in the lists.)

For example you may have to do a mkinitrd before installing the kernel.

It all depends on what happened and when. :)



SJ