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

Re: Getting rid of circular dependencies, stage 4



Le Mer 10 Mai 2006 15:44, Brendan O'Dea a écrit :

> The current dependencies are used to allow a slightly newer version
> of perl-modules to be installed:  porters had issues in unstable
> where perl was uninstallable due to the package not having built on
> an architecture.*

Package: perl
Depends: perl-modules (>= ${source:Version})

achieves that IMHO.

>
> Simply having perl depend on perl-modules (>= current-ver) is more
> problematic than the case you describe, since a sarge user may
> upgrade just perl-modules 5.8.4-x to 5.8.8-y, retaining the older
> perl package and things would go pear-shaped.

that is higly unlikely since nothing should depends only from 
perl-modules. (In fact, IMHO nothing should depends from perl-modules 
at all).

so the only way for a user to upgrade perl-modules only is to apt-get 
install perl-modules which looks like an awkward thing to do.

moreover:

Package: perl-modules
Conflicts: perl (<< ${source:Version})

looks like achieving what you want.
-- 
·O·  Pierre Habouzit
··O                                                madcoder@debian.org
OOO                                                http://www.madism.org

Attachment: pgpF2ZqCKnrNP.pgp
Description: PGP signature


Reply to: