Sorry but there may be one step missing. I got the exact same errors when trying to "preupgrade" from F9 to F12.
After installing the Fedora 10 redhat-release files I had to do a "yum clean all". Without that I just got "No Packages marked for Update" when trying to update yum, rpm, and createrepo.
Just so others know what to expect, my session went something like this:
(output truncated for clarity)
Update to Fedora 10 release files (fool yum/rpm):
Code:
[root@inet3 ~]# rpm -Uvh ftp://download.fedora.redhat.com/pub/fedora/linux/releases/10/Fedora/i386/os/Packages/fedora-release-*.noarch.rpm
Retrieving ftp://download.fedora.redhat.com/pub/fedora/linux/releases/10/Fedora/i386/os/Packages/fedora-release-10-1.noarch.rpm
Retrieving ftp://download.fedora.redhat.com/pub/fedora/linux/releases/10/Fedora/i386/os/Packages/fedora-release-notes-10.0.0-1.noarch.rpm
warning: /var/tmp/rpm-xfer.vAQaCt: Header V3 DSA signature: NOKEY, key ID 4ebfc273
Preparing... ########################################### [100%]
1:fedora-release-notes ########################################### [ 50%]
2:fedora-release ########################################### [100%]
[root@inet3 ~]#
Clean-up all yum cached files and data:
Code:
[root@inet3 ~]# yum clean all
Loaded plugins: fastestmirror, refresh-packagekit
Cleaning up Everything
Cleaning up list of fastest mirrors
[root@inet3 ~]#
Update yum:
Code:
[root@inet3 ~]# yum update yum
...
Updated:
yum.noarch 0:3.2.24-2.fc10
Complete!
[root@inet3 ~]#
Update rpm:
Code:
[root@inet3 ~]# yum update rpm
...
Dependency Installed:
compat-db45.i386 0:4.5.20-5.fc10
compat-db45.x86_64 0:4.5.20-5.fc10
file-libs.i386 0:4.26-5.fc10
lua.i386 0:5.1.4-2.fc10
xz.x86_64 0:4.999.8-0.8.beta.20090817git.fc10
xz-devel.x86_64 0:4.999.8-0.8.beta.20090817git.fc10
xz-libs.i386 0:4.999.8-0.8.beta.20090817git.fc10
xz-libs.x86_64 0:4.999.8-0.8.beta.20090817git.fc10
xz-lzma-compat.x86_64 0:4.999.8-0.8.beta.20090817git.fc10
Updated:
rpm.x86_64 0:4.6.1-3.fc10
Dependency Updated:
elfutils.x86_64 0:0.142-1.fc10
elfutils-libelf.i386 0:0.142-1.fc10
elfutils-libelf.x86_64 0:0.142-1.fc10
elfutils-libelf-devel.x86_64 0:0.142-1.fc10
elfutils-libs.x86_64 0:0.142-1.fc10
file.x86_64 0:4.26-5.fc10
file-libs.x86_64 0:4.26-5.fc10
gdb.x86_64 0:6.8-32.fc10
lua.x86_64 0:5.1.4-2.fc10
net-snmp.x86_64 1:5.4.2.1-5.fc10
net-snmp-libs.i386 1:5.4.2.1-5.fc10
net-snmp-libs.x86_64 1:5.4.2.1-5.fc10
rpm-build.x86_64 0:4.6.1-3.fc10
rpm-devel.i386 0:4.6.1-3.fc10
rpm-devel.x86_64 0:4.6.1-3.fc10
rpm-libs.i386 0:4.6.1-3.fc10
rpm-libs.x86_64 0:4.6.1-3.fc10
rpm-python.x86_64 0:4.6.1-3.fc10
systemtap.x86_64 0:1.0-2.fc10
systemtap-runtime.x86_64 0:1.0-2.fc10
Complete!
[root@inet3 ~]#
Update createrepo:
Code:
[root@inet3 ~]# yum update createrepo
...
Dependency Installed:
deltarpm.x86_64 0:3.4-11.fc10.1
Updated:
createrepo.noarch 0:0.9.7-7.fc10
Complete!
[root@inet3 ~]#
Now the preupgrade completes without errors. If it's been a while since the last attempt it may need to download newer update packages.
Code:
[root@inet3 ~]# preupgrade-cli "Fedora 12 (Constantine)"
...
Generating metadata for preupgrade repo
2065/2065 - chmlib-0.40-2.fc12.x86_64.rpm
Saving Primary metadata
Saving file lists metadata
Saving other metadata
Generating sqlite DBs
Sqlite DBs complete
Preparing system to boot into installer
DEBUG /sbin/grubby --title="Upgrade to Fedora 12 (Constantine)" --remove-kernel="/boot/upgrade/vmlinuz" --add-kernel="/boot/upgrade/vmlinuz" --initrd="/boot/upgrade/initrd.img" --args="preupgrade repo=hd::/var/cache/yum/preupgrade stage2=hd:UUID=c24ffd8f-39c0-4dc2-bfeb-82960d157a5b:/upgrade/install.img ks=hd:UUID=c24ffd8f-39c0-4dc2-bfeb-82960d157a5b:/upgrade/ks.cfg"
Probing devices to guess BIOS drives. This may take a long time.
All finished. The upgrade will begin when you reboot.
[root@inet3 ~]#