I copy the xen rpm from the RH dvd

when running below command

yum install xen

the installer gives the dependencies error:


ERROR: Missing Dependency: libblktap.so.3.0 is needed by package xen

and many more

please guide me how to solve this issue.........


thanks in advance

Dani AI

Generated

As has found, installing only the single Xen RPM from the DVD commonly leads to a chain of missing libraries. is right to point out the provider needs to be identified first. The practical, reliable fix is to let a repository supply Xen and its companions instead of dragging a lone RPM into an otherwise incomplete package set.

First, discover which package supplies the missing library and list required libraries for the Xen RPM so you know what to collect:

yum provides "*/libblktap*"
rpm -qpR /path/to/xen-<version>.rpm

If you have the RHEL DVD or ISO, make it a local yum repository (mount the media and point a .repo file at it) so yum can resolve all dependencies automatically. If you are subscribed to Red Hat, enable the matching channels (base/updates and the Optional/Extras channel for your exact RHEL 5 minor release) so the proper blktap and other supporting packages are available. On CentOS, enable the equivalent repos (extras/centosplus) that match your OS version and architecture.

Do not mix packages built for different RHEL minor versions or architectures. Avoid forcing installs with nodeps unless you fully understand the runtime consequences. The DVD does not typically provide a single "all-in-one" Xen bundle RPM — the correct approach is either a repository-based install or copying the complete set of Xen-related RPMs from the DVD (Packages directory) and installing them together so dependencies are satisfied.

You might need to find out which rpm package supplies libblktap.so.3.0 first, and install it first.

is there any package that contains all the rpm's

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.