Best way to solve dependency issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi YUMers,

I have a small dependency issue involving yum under RHEL5, and I'm
seeking some advice about the best way to resolve it.

I recently began mirroring a small external yum repository containing
OpenAFS packages, using reposync.  This seems to work fine.  However,
this repository contains a number of kmod- rpms built against the
various RHEL kernels, and some of them are _newer_ than the current
kernel in the base repository.

My problem is that presently the "highest" kernel in the base
RHEL5 repository is:

    kernel-2.6.18-92.1.17.el5

.. but the OpenAFS repository contains:

    kmod-openafs-1.4.8-1.1.2.6.18_92.1.18.el5.x86_64.rpm

ie. a ".18" module when my kernel is only ".17".

The repository of course also contains the older modules:

kmod-openafs-1.4.8-1.1.2.6.18_92.1.17.el5.x86_64.rpm
kmod-openafs-1.4.8-1.1.2.6.18_92.1.13.el5.x86_64.rpm
kmod-openafs-1.4.8-1.1.2.6.18_92.1.10.el5.x86_64.rpm
kmod-openafs-1.4.8-1.1.2.6.18_92.1.6.el5.x86_64.rpm
kmod-openafs-1.4.8-1.1.2.6.18_92.1.1.el5.x86_64.rpm
kmod-openafs-1.4.8-1.1.2.6.18_92.el5.x86_64.rpm

Hence, whenever I try to run a "yum update", I get this broken
dependency:

    --> Running transaction check
    ---> Package kmod-openafs.x86_64 0:1.4.8-1.1.2.6.18_92.1.18.el5 set to be installed
    --> Processing Dependency: kernel-x86_64 = 2.6.18-92.1.18.el5 for package: kmod-openafs
    --> Finished Dependency Resolution
    Error: Missing Dependency: kernel-x86_64 = 2.6.18-92.1.18.el5 is needed by package kmod-openafs

I have looked at the various yum plugins that are available, but I
can't find one that quite caters for this scenario.

What I would _like_ to happen is for my systems to update "kernel" to
the latest available version in the RHEL5 repo, and then choose
whichever kmod-openafs matches this kernel version and install that.

Any ideas about how I might achieve this?

Or alternatively, one approach might be to drop any packages from my
openafs repository that have broken dependencies, so that they are not
"visible".

Regards,

Robert.
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxx
http://lists.baseurl.org/mailman/listinfo/yum

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux