Find the answer to your Linux question:
Results 1 to 4 of 4
hello all. I did a search on this in the forum and the word "rpm" was ignored for being too short. Not very helpful. So, I am packaging an installation ...
  1. #1
    Just Joined!
    Join Date
    Jun 2007
    Posts
    2

    Calling an RPM from within an RPM

    hello all.

    I did a search on this in the forum and the word "rpm" was ignored for being too short. Not very helpful.

    So, I am packaging an installation of a software stack within an rpm. This stack calls some other rpm's. At that point the process hangs because the parent rpm has a lock on the rpm database, so the subsequent install goes into an internal waiting state.

    Isn't there some way to invoke an rpm installation with a "no lock" flag, so that I can have a parent rpm calling children rpm's?

    It seems like such a limitation of the package manager to not allow this bundling.

    thanks.

  2. #2
    Linux Engineer oldcpu's Avatar
    Join Date
    Aug 2005
    Location
    Europe
    Posts
    1,142

    Can you set them up as dependencies?

    I've never packaged an rpm before, but can you not set up the "other" rpms as dependencies, forcing their installation first? As a user (and not as an rpm packager) that is what I have always observed being done.

  3. #3
    Just Joined!
    Join Date
    Jun 2007
    Posts
    2
    Yes, I suppose I can set it up as multiple rpm's that rely on each other.
    That's a little disappointing though. I have an installation package that already works and I just want to shove it into an rpm and send it on it's way.

    Thanks for the response.

  4. #4
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    Setting the other packages as dependencies would be the standard way to do it. They're generally called meta-packages.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...