[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: rpm install order



You can use prereq tag while building RPMS.

All you need to do is use a line similar to this. For Ex. MySQL (If bundled
along with redhat 6.2) needs file utils and net utils.
Prereq:    /bin/chown /bin/hostname

Thanks,

Venkatesh. K
----- Original Message -----
From: David F. Newman <dnewman@maraudingpirates.org>
To: <rpm-list@redhat.com>
Sent: Saturday, February 03, 2001 12:55 AM
Subject: rpm install order


> Hi there,
>
> I am running into a problem and I'm not sure if it is a bug or
> if I am just doing something wrong.
>
> I am using rpm 3.0.6 on solaris 7.  As a systems administrator
> I create my own RPMs for software I download of the net because
> I feel that Solaris' native package format is inferior.  I also
> like it because by putting the the rpm databases in /usr/local
> I can maintain the software on any machine that mounts /usr/local
> and isn't tied to the machine I originally installed it on.
>
> The problem is that I have started to put install-info in the
> postinstall portion of packages that include info files.  As
> a result I add a "Requires: texinfo" in any package that has info
> files.  But on a new system when I am installing everything
> and issue "rpm -ivh *.rpm" rpm installs the software in the order
> on the command line which turns out to be alphabetical.  As a
> result packages like bison complain that install-info can't
> be found because texinfo hasn't been installed yet.  I work
> around this problem by installing the rpms like this:
> rpm -ivh texinfo* `ls *.rpm |grep -v texinfo`
> to get texinfo installed first.
>
> The man page for rpm suggests that rpm will reorder the packages
> to be installed based on dependencies but it doesn't appear to
> be doing so.
>
> Thanks for any info about this.
>
> --
> David F. Newman
> dnewman@maraudingpirates.org
>
>
>
>
> _______________________________________________
> Rpm-list mailing list
> Rpm-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/rpm-list
>





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []