Aix Rpm Install Dependencies Automatically Clear

Posted on by

I have a set of packages (*. Soundmax Adi 198x Integrated Audio Driver Windows Xp. rpm). For each package I can do rpm -qRp to list requires, but I would like to install them (those requires) without installing the packages themselves. The requires all live in enabled repositories. Is there some easy way to do this without writing my own script that would parse output of rpm -qRp. I know I could do it by installing everything with requires ( yum localinstall) and then uninstalling the original packages, but the problem is that my set contains packages with both dependencies and conflicts in between them. The required packages however don't conflict.

How to install rpm file along with its all dependencies? So I would like to know how to install this rpm and automatically install. Delete all folders inside. This has got known as the 'RPM dependencies. AIXpert Blog is about the AIX. Move this to your repository or home AIX machine on which you can as root install. I try to install cfengine on AIX with the packages from perzl. Please visit this page to clear all LQ-related cookies. Resolve RPM dependencies automatically.

Rpm Dependencies Install

I would have to do multiple yum localinstall followed by yum remove and make sure the packages in list don't conflict. I there a better way? I would basically like something like yum-builddep, but for requires, not buildrequires. My distros are Fedora/ RHEL.

I have built two RPM packages • proj1-1.0-1. Download Iso 2768 Hole Tolerance Software there. x86_64.rpm • libtest1-1.0-1.x86_64.rpm proj1 depends on the file libtest1.so being present and it is reflected correctly in the RPM packages as seen here: user@my-pc:~$ rpm -qp --requires proj1-1.0-1.x86_64.rpm libtest1.so()(64bit) user@my-pc:~$ rpm -qp --provides libtest1-1.0-1.x86_64.rpm libtest1.so()(64bit) The installation of proj1 fails due to a missing dependency. User@my-pc:~$ rpm -ivh proj1-1.0-1.x86_64.rpm error: Failed dependencies: libtest1.so()(64bit) is needed by proj1-1.0-1.x86_64.rpm How do I ensure that libtest1-1.0-1.x86_64.rpm is installed automatically during the installation of proj1-1.0-1.x86_64.rpm? I did try the --aid option with rpm -i as described but it didn't work for me. Is there any other way? Thanks for any help. Create a (local) repository and use yum to have it resolve the dependencies for you.

The CentOS wiki has a nice page providing a how-to on this.. Summarized and further minimized (not ideal, but quickest): • Create a directory for you local repository, e.g. • Move the RPMs into that directory.

• Fix some ownership and filesystem permissions: # chown -R root.root /home/user/repo • Install the createrepo package if not installed yet, and run # createrepo /home/user/repo # chmod -R o-w+r /home/user/repo • Create a repository configuration file, e.g. /etc/yum.repos.d/myrepo.repo containing [local] name=My Awesome Repo baseurl=file:///home/user/repo enabled=1 gpgcheck=0 • Install your package using # yum install packagename. The link @gertvdijk provided shows a quick way to achieve the desired results without configuring a local repository: $ yum --nogpgcheck localinstall packagename.arch.rpm Just change packagename.arch.rpm to the RPM filename you want to install. Edit Just a clarification, this will automatically install all dependencies that are already available via system YUM repositories. If you have dependencies satisfied by other RPMs that are not in the system's repositories, then this method will not work unless each RPM is also specified along with packagename.arch.rpm on the command line. @AaronD.Marasco I'm not debating that the other posted solution is better for the specific example OP was asking about.

My answer, however, is correct for answering the question in the title and is much faster than configuring a local repo, and will help others who wind up here like I did who want a fast way to get yum to automatically install the dependencies that an rpm requires. That is the purpose of stack overflow, to help the community searching for answers and not just helping the OP. – May 9 '13 at 15:09. For me worked just with # yum install ffmpeg-2.6.4-1.fc22.x86_64.rpm And automatically asked authorization to dowload the depedencies.