Re: Source package giving binary packages with different version?
On 2011-06-11 22:30:52 -0400, William Hopkins wrote:
> On 06/12/11 at 02:45am, Vincent Lefevre wrote:
> > This is a bit strange:
> >
> > gcj-4.6-jre-lib 4.6.0-4 has the following dependencies:
> >
> > Depends: gcj-4.6-base (>= 4.6.0-12), libgcj12 (>= 4.6.0-12)
> >
> > However gcj-4.6-jre-lib, gcj-4.6-base and libgcj12 all have the same
> > source gcj-4.6. So, I wonder whether the above makes sense
>
> Why not? Are you suggesting that sharing a source package means they
> shouldn't depend on each other? This is a common occurrence.
Please look at the condition on the versions.
gcj-4.6-jre-lib 4.6.0-4 depends on gcj-4.6-base (>= 4.6.0-12).
So, if a source package gives binary packages with the same version,
such a dependency can never be satisfied since 4.6.0-12 > 4.6.0-4.
> > (currently gcj-4.6-jre-lib is uninstallable because all the available
> > versions are 4.6.0-4).
>
> If there's a bug with dependencies, file a ticket. Unless you're in testing.
Why unless in testing? (BTW, I'm in unstable.)
> > Can a binary package have a different version from the
> > corresponding source package version?
>
> The fields don't have to match, but the versions will never (AFAIK) differ.
So, it appears that there is a bug in the dependencies.
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)
Reply to: