Dependency/Confilcs of our packages

G. Milde g.milde at web.de
Wed Jun 14 07:25:03 UTC 2006


On 13.06.06, Jörg Sommer wrote:
> Guenter Milde schrieb am Tue 13. Jun, 12:31 (+0000):
> >       jed-common is not broken without jed|xjed, so it just recommends
> >       them and conflicts with earlier versions. 
> 
> Why not with newer version?

I suppose this is not needed as jed|xjed depend on the same version of
jed-common:


Dependencies and versions 
-------------------------

(For simplicity, jed stands for both, jed and|or xjed)

jed          N       Depends:   jed-common (= N)
jed-common   N       Conflicts: jed (<< N)


Possible scenarios
------------------

* update from N-1

  i jed        N-1
  i jed-common N-1

  -> update jed-common (N) fails                correct
  -> update jed (N) updates jed-common as well  OK

  p jed        N-1
  i jed-common N-1

  -> install jed-common (N) works               OK
  -> update jed (N) installs jed-common (N)     OK

  p jed        N-1
  p jed-common N-1

  -> install jed-common (N) works               OK
  -> install jed (N) installs jed-common (N)    OK

  c jed        N-1
  c jed-common N-1

  -> install jed-common (N) works               OK
  -> install jed (N) installs jed-common (N)    OK


* downgrade from N

  i jed        N
  i jed-common N

  -> downgrade jed-common to (N-1) fails or downgrades jed as well  OK
     (the installed jed (N) conflicts with jed-common (N-1))
  -> downgrade jed to (N-1) fails or downgrades jed-common as well  OK

  p jed        N
  i jed-common N

  -> downgrade jed-common to (N-1) works                            OK
  -> install jed (N) installs jed-common (N)                        OK
  -> install jed (N-1) installs jed-common (N-1)                    OK
  

Did I miss something?  

Günter
  
  
  
  
  
  
  
  
  
  



More information about the Pkg-jed-devel mailing list