Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Adding RPM's "at the end" of an install?

 
   Soft32 Home -> Linux -> Partner Relationship Management RSS
Next:  [gentoo-user] Minor udev bug?  
Author Message
Dan Stromberg - Datallegr

External


Since: Jul 23, 2007
Posts: 1



(Msg. 1) Posted: Mon Aug 20, 2007 8:01 pm
Post subject: Adding RPM's "at the end" of an install?
Archived from groups: linux>redhat>rpm (more info?)

Say you have an installer program for a bunch of RPM's.

You want to add some 3rd party RPM's to the collection
of RPM's with which this installer has been tested.

But some of these 3rd party RPM's aren't very careful
with their Requires dependencies, so if you toss those
RPM's into the collection, a high percentage of them
fail to install.

Is there some way of constructing a special RPM that
should always be installed at the end of the tested
RPM's, and change minimally your 3rd party RPM's to
depend on that single RPM? That is, without having
a huge list of Requires in that special RPM?

Yes, it'd be cleaner to go fix all the dependencies
in those 3rd party RPM's, but that should be fixed
upstream... We may be able to file bug reports
with each vendor about their broken dependencies,
but 1) some may not care and 2) I doubt many of them
would be able to respond "soon enough" for our need

Thanks!
Back to top
Login to vote
Michal Jaegermann

External


Since: Jul 20, 2003
Posts: 70



(Msg. 2) Posted: Tue Aug 21, 2007 6:54 pm
Post subject: Re: Adding RPM's "at the end" of an install? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Dan Stromberg - Datallegro <dstromberg.RemoveThis@datallegro.com> wrote:
>
> Is there some way of constructing a special RPM that
> should always be installed at the end of the tested
> RPM's, and change minimally your 3rd party RPM's to
> depend on that single RPM?

Not really. Either you can rebuild all packages in question, and then
you can make sure that all "Requires" are in order, or there are some
reasons why this is not possible and then you cannot "change minimally"
what you already have.

Keep in mind that the fact that you do not have sources does not
prevent you from redoing packages. You %build section in specs
you write can be "no-op". But that could be some external factors,
like legal, which make that impossible.

> That is, without having
> a huge list of Requires in that special RPM?

You can always put together a "master" package which does not install
any files but has on "Requires" list all other packages you have in mind
and their dependencies. Installing that one will have an effect of
"pulling in" everything else needed here if you are using an installer,
like yum, which checks dependencies.

Something of that sort is done, for example, in a package
'xorg-x11-drivers' from Fedora 6 and 7 distributions so you
have a spec you can use as a pattern.

Michal
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Adding/Deleting files from the rpm daabase - HP-UX's SD (HP's equivalent to rpm) allows an installation package to add or removing files from the SD database. E.g. ...

adding worker module in apache on RHEL4 - Hi, When seeing the default compiled modules for apache on RHEL4 it shows prefork as loaded. Can I add/replace this..

OpenLDAP Install - Hi All, If anyone out there who'd be kind enough to help and has successfully installed OpenLDAP on a default Red Hat....

how to install wine? - Hi, I try to install 'wine' with file 'wine-0.9.2-1rh9winehq.i686.rpm' on my RedHAt 9.0 computer, but i get following...

kernel install fails. - I've been trying to install the latest kernel from redhat but get this... su - rpm -iv kernel-2.4.20-20.9.athlon.rpm ....

install japanese language - Hi, I have an old rh6.2 box and a rh9.0, and I want to install japanese language on both of them. Is there anyway to d...
       Soft32 Home -> Linux -> Partner Relationship Management All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]