Subject: | |
From: | |
Reply To: | |
Date: | Sun, 12 Feb 2012 13:06:08 +1100 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Hi all,
I build a repo with Xen and a EL6 kernel for a Xen Dom0 and I'm hoping
to pick the brain of a few gurus here on sorting a few things out that
I've broken.
Until now, I've been packaging in a repo file in a kernel-xen package
which goes in /etc/yum.repos.d/. Due to a lot of changes in mirrors etc,
I've decided to split this out into a seperate package called
kernel-xen-release.
My problem now is trying to figure out how to handle upgrades between:
kernel-xen-2.6.32.55-3.x86_64 to kernel-xen-2.6.32.55-4.x86_64
-3 has the file /etc/yum.repos.d/kernel-xen.repo, -4 does not.
Now I've made kernel-xen have kernel-xen-release as a Requires: in the
kernel-xen spec - however when you try to upgrade, yum wants to install
kernel-xen-release BEFORE upgrading to -4 - causing a conflict on
/etc/yum.repos.d/kernel-xen.repo
Now, I tried adding a Conflicts in kernel-xen-release as such:
Conflicts: kernel-xen < 2.6.32.55-4
Now yum complains with:
Resolving Dependencies
--> Running transaction check
---> Package kernel-xen.x86_64 0:2.6.32.55-4 will be installed
--> Processing Dependency: kernel-xen-release for package:
kernel-xen-2.6.32.55-4.x86_64
--> Running transaction check
---> Package kernel-xen-release.x86_64 0:6-2 will be installed
--> Processing Conflict: kernel-xen-release-6-2.x86_64 conflicts
kernel-xen < 2.6.32.55-4
--> Processing Conflict: kernel-xen-release-6-2.x86_64 conflicts
kernel-xen < 2.6.32.55-4
--> Finished Dependency Resolution
Error: kernel-xen-release conflicts with kernel-xen
Error: kernel-xen-release conflicts with kernel
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
After this, I can't go any further.
Does anyone have any suggestions on how I can get upgrades to work via
YUM and not have these conflicts? I'm at a bit of a loss on how to
figure it out!
--
Steven Haigh
Email: [log in to unmask]
Web: http://www.crc.id.au
Phone: (03) 9001 6090 - 0412 935 897
Fax: (03) 8338 0299
|
|
|