PDA

View Full Version : qemu-common vs qemu-img dependancy problem


marko
6th March 2009, 04:48 AM
I don't get this one, I'm trying to update F11 rawhide for these three:

---> 1:qemu-common-0.10-0.3.kvm20090303git.fc11.x86_64
---> 1:qemu-img-0.10-0.3.kvm20090303git.fc11.x86_64
---> 1:qt-x11-4.5.0-2.fc11.x86_64

and I get this error

Missing Dependency: qemu-common = 0.10-0.3.kvm20090303git.fc11 is needed by package 1:qemu-common-0.10-0.3.kvm20090303git.fc11.x86_64 (rawhide)
Missing Dependency: qemu-common = 0.10-0.3.kvm20090303git.fc11 is needed by package 1:qemu-img-0.10-0.3.kvm20090303git.fc11.x86_64 (rawhide)

the first one is really weird, a dependancy failure on itself? Will this likely work itself out or does it need some kind of yum tricks?

AdamW
6th March 2009, 10:50 PM
it's a packager snafu.

Note:

0.10-0.3.kvm20090303git.fc11

vs:

1:qemu-common-0.10-0.3.kvm20090303git.fc11

the 1: is the epoch, which is a sorta hidden part of the version (it's a get-out clause for packagers when some stupid upstream project goes from version 0.23 to version 0.2.4 - you have to use an epoch to turn the version into 1:0.2.4 to make it work right). Epochs are a bit of an ugly hack and it's easy to forget about them when you're packaging, as this packager did :). He should have set the versioned requirement to be 1:0.10-0.3.kvm20090303git.fc11 , not 0.10-0.3.kvm20090303git.fc11 .

It's fixed up in today's update (amusingly, upstream screwed with their versioning again, so now we're up to Epoch 2 and down to version 0.9.2...). So you should be OK now.