Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm fairly new to Linux and am wondering if somebody can tell me the easiest way to install all RPMs within a directory, especially when some of the RPMs within the directory have dependencies on other RPMs within the directory. I'm using Fedora Core 3.
the --nodeps flag means that dependencies will be ignored. I would only use this flag as a last resort and if you are pretty sure the package will work nonetheless.
The other flags are:
i install
v verbose
h print hash marks (#) for installation progress
Google rpm. The the www.rpm.org or com will tell you all you need to know about rpms. It even tells you how to build them. Building gets a little confusing, but if you keep with it, you can use the simple macros in the spec file to accomplish it. You'll be looking for the maxiumrpm documentation. You'll find naming a rpm is very important to the rpm database. If it isnt the exact name of the rpm installed by your distro, it installs it seperately. Hope this helps as well... I built a rpm for xmms with mp3 in it, so it will always work in the future. I dont need to remember links to the plugin anymore. This maybe useful to you seeing you run Fedora, and Fedora disables the mp3 plugin. Basically if you compile xmms it has mp3 support. The original code wasnt altered.
Cool. I guess this only works if your RPM's are coming from a defined repo right? I have RPM files in a directory, but even if i run RPM with the suggested options above, I get a "error: Failed dependencies:" error message. Any thoughts, thanks in advance guys.
Distribution: openSUSE(Leap and Tumbleweed) and a (not so) regularly changing third and fourth
Posts: 629
Rep:
Quote:
Originally Posted by chromechris
Cool. I guess this only works if your RPM's are coming from a defined repo right? I have RPM files in a directory, but even if i run RPM with the suggested options above, I get a "error: Failed dependencies:" error message. Any thoughts, thanks in advance guys.
That means that some file dependencies needed by your rpms are not in the folder.
I don't use fedora but it should allow you to add the folder of rpms to your list of repos. That way, if you run it through yum(is that fedora?) it will also pick up dependencies if they are available.
Alternatively, your error message should tell you which dependencies are missing. You can down load and install them first. (That may give you additional dependency issues and is not the best solution)
Cool. I guess this only works if your RPM's are coming from a defined repo right? I have RPM files in a directory, but even if i run RPM with the suggested options above, I get a "error: Failed dependencies:" error message. Any thoughts, thanks in advance guys.
The dependency issue arises around shared packages or libraries on which several other packages have dependencies but where they depend on different and incompatible versions of the shared packages. If the shared package or library can only be installed in a single version, the user may need to address the problem by obtaining newer or older versions of the dependent packages. This, in turn, may break other dependencies and push the problem to another set of packages.
New users of Linux frequently get bit on the backside when they suffer from "upgrade-itis" on what is perceived as "old" software. Linux is not Windows (don't be offended). Where are all these rpms coming from?
You can bypass the deps requirement as others have shown but in my experience,
this bypass can possibly show up somewhere else as a missing feature or Broken something.
Cool. I guess this only works if your RPM's are coming from a defined repo right? I have RPM files in a directory, but even if i run RPM with the suggested options above, I get a "error: Failed dependencies:" error message. Any thoughts, thanks in advance guys.
Nope....you can type in "yum install <name of rpm file in a directory>", and it will install things. Also...you are aware that you re-opened a thread that had been closed for TWELVE YEARS, aren't you?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.