Re: should internal depencies be push into librpm dependencies ?

2007-06-07 Thread Jeff Johnson


On Jun 7, 2007, at 7:37 PM, Olivier Thauvin wrote:


The topic can surprise you, but here the reason of this question.

Rpm has internal dependencies (you can see it in rpm --showrc), and  
some of

this dependencies are set into rpm archive (Requirement in header).

I hope all on this list know that.

So now imagine I want to update my powerfull distro from version A  
to B. The
dedicated installer tools (urpmi/yum/whatever) will fetch index.  
But the
tools will be unable to detect one of rpm coming in B need first  
last rpm

because an internal dependencies.

So, wouldn't be better for rpm packages of rpm to have it providing  
it's

rpmlib dependencies ?



Specific details please.

73 de Jeff
__
RPM Package Managerhttp://rpm5.org
Developer Communication Listrpm-devel@rpm5.org


Re: should internal depencies be push into librpm dependencies ?

2007-06-07 Thread Olivier Thauvin
Le vendredi 08 juin 2007, Jeff Johnson a écrit :
 On Jun 7, 2007, at 7:37 PM, Olivier Thauvin wrote:
  The topic can surprise you, but here the reason of this question.
 
  Rpm has internal dependencies (you can see it in rpm --showrc), and
  some of
  this dependencies are set into rpm archive (Requirement in header).
 
  I hope all on this list know that.
 
  So now imagine I want to update my powerfull distro from version A
  to B. The
  dedicated installer tools (urpmi/yum/whatever) will fetch index.
  But the
  tools will be unable to detect one of rpm coming in B need first
  last rpm
  because an internal dependencies.
 
  So, wouldn't be better for rpm packages of rpm to have it providing
  it's
  rpmlib dependencies ?

 Specific details please.

Simple example:

I have rpm 4.0.4, glibc-X, update to rpm 4.4.8, glibc-Y with a %post in lua.

urpmi glibc-Y will fetch it, an miserably fail because rpmlibdep(lua ...) will 
be missing.

With rpmlibdep: solving also this dep, dep is rpm in 4.4.8, fetching rpm, 
glibc, installing.

But then rpm package should provide it's rpmlib internal deps, and then this 
deps will push into index.




signature.asc
Description: This is a digitally signed message part.