All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* Ah, a problem with rpm!
@ 1998-06-21 22:44 Alex deVries
  1998-06-22  8:58 ` ralf
  0 siblings, 1 reply; 4+ messages in thread
From: Alex deVries @ 1998-06-21 22:44 UTC (permalink / raw
  To: SGI Linux


So, here I am, trying to figure out why on earth we always get those
errors in the installer for the RH installer.  I've figured it out!

See, the installer has this neato way of figuring out the order to install
packages in.  It's determined by what each package you choose requires.
If the package in question has a %post script or similiar, those elements
are required, and so they end up in the calculation of the install order.

So, I thought it was weird that the %post script of ash required the use
of /usr/bin/[, yet that wasn't included in what the binary required.  That
would throw the whole calculation of install order off.

Now, why would rpm build such an erronous package?  I don't quite know if
it is my build environment, or a genuine bug in RPM.  I'm playing with
that now.

The solution to this is either to fix the build environment or rpm, and
then rebuild pretty much all the packages.  *sigh*

The stuff to look for is:

...
Processing files: hello
Finding provides...
Finding requires...
Prereqs: /bin/sh
Requires: ld-linux.so.2 libc.so.6
Wrote: /usr/src/redhat/SRPMS/hello-0.10-2.src.rpm
Wrote: /usr/src/redhat/RPMS/i386/hello-0.10-2.i386.rpm
...

or similiar.  On my Indy, I _don't_ get the "Requires: " line at all. Do
other people?

- Alex

-- 
Alex deVries, puffin on LinuxNet.
http://www.engsoc.carleton.ca/~adevries/ .

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Ah, a problem with rpm!
       [not found] <Pine.LNX.3.95.980621172757.20728H-100000@thebrain>
@ 1998-06-22  0:41 ` Alex deVries
  1998-06-22  8:59   ` ralf
  0 siblings, 1 reply; 4+ messages in thread
From: Alex deVries @ 1998-06-22  0:41 UTC (permalink / raw
  To: SGI Linux; +Cc: Zach Brown


On Sun, 21 Jun 1998, Zach Brown wrote:
> > or similiar.  On my Indy, I _don't_ get the "Requires: " line at all. Do
> > other people?
> 
> have you checked the scripts that generate this stuff?  they have to be
> geneated per port of rpm, if I remember right.  sorry i'm being so vague.

Yes, the issue is that the rpm RPM that I released (2.5.1-0) has a broken
find-requires (which happened because the binutils RPM I used didn't have
a /usr/lib/ldscripts).  So, all packages generated wouldn't have any
requires setup.

Ack.

So, time to rebuild the whole damned distribution again, although this
time I know how to do it.

Let me know if you've got CPU power to spare, folks... I'll set up a
co-ordinated build, and release a proper version of rpm.


- Alex

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Ah, a problem with rpm!
  1998-06-21 22:44 Ah, a problem with rpm! Alex deVries
@ 1998-06-22  8:58 ` ralf
  0 siblings, 0 replies; 4+ messages in thread
From: ralf @ 1998-06-22  8:58 UTC (permalink / raw
  To: Alex deVries, SGI Linux

On Sun, Jun 21, 1998 at 06:44:43PM -0400, Alex deVries wrote:

> The solution to this is either to fix the build environment or rpm, and
> then rebuild pretty much all the packages.  *sigh*
> 
> The stuff to look for is:
> 
> ...
> Processing files: hello
> Finding provides...
> Finding requires...
> Prereqs: /bin/sh
> Requires: ld-linux.so.2 libc.so.6
> Wrote: /usr/src/redhat/SRPMS/hello-0.10-2.src.rpm
> Wrote: /usr/src/redhat/RPMS/i386/hello-0.10-2.i386.rpm
> ...
> 
> or similiar.  On my Indy, I _don't_ get the "Requires: " line at all. Do
> other people?

I do get them.  If you don't get them, then probably ldd isn't working
on your machine.  There was a kernel bug causing this and the bugfix is
in the CVS since quite some time.

  Ralf

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Ah, a problem with rpm!
  1998-06-22  0:41 ` Alex deVries
@ 1998-06-22  8:59   ` ralf
  0 siblings, 0 replies; 4+ messages in thread
From: ralf @ 1998-06-22  8:59 UTC (permalink / raw
  To: Alex deVries, SGI Linux; +Cc: Zach Brown

On Sun, Jun 21, 1998 at 08:41:30PM -0400, Alex deVries wrote:

> Let me know if you've got CPU power to spare, folks... I'll set up a
> co-ordinated build, and release a proper version of rpm.

I've built most of the stuff myself, so don't desparate.

  Ralf

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1998-06-22  9:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-06-21 22:44 Ah, a problem with rpm! Alex deVries
1998-06-22  8:58 ` ralf
     [not found] <Pine.LNX.3.95.980621172757.20728H-100000@thebrain>
1998-06-22  0:41 ` Alex deVries
1998-06-22  8:59   ` ralf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.