Re: How to not break dependant packages
On Thu, Jul 17, 2008 at 08:59:40PM -0700, Don Armstrong wrote:
> On Thu, 17 Jul 2008, Stefan Potyra wrote:
> > On Thursday 17 July 2008 15:15:25 Sean McE wrote:
> > > On current packaging there is no way to express the dependency on
> > > upstream version only,
> > [..]
> >
> > actually, there is:
> > Depends: foo (>= 1.2.1), foo (<< 1.2.1+)
>
> You generally want
>
> Package: bar
> Depends: (foo >= 1.2.1), foo (<< 1.2.2~)
For the git packages, I use
$ dpkg -s gitweb |grep ^Depends
Depends: git-core (>> 1:1.5.6.3), git-core (<< 1:1.5.6.3-.), perl
$
HTH, Gerrit.
Reply to: