Re: [Hampshire] Apt Depends and Replaces

Top Page

Reply to this message
Author: Adrian Bridgett
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] Apt Depends and Replaces
On Sun, Apr 6, 2008 at 21:47:11 +0100 (+0100), Peter Salisbury wrote:
> I can't upgrade sun-java6-jre (Debian sid) today because the new
> version (6-05-1) depends on the matching version of sun-java6-bin
> which is currently still at 6-04-02. So I wait. But while I wait I was
> looking at the depends etc. and see that sun-java6-jre 'depends' on
> sun-java6-bin and also 'replaces' sun-java6-bin.
>
> That seems a bit odd to me - how can something depend on a package it
> replaces? Can anyone explain why the package maintainer has done that?


Generally it's because it does depend on it, but I suspect it also
replaces a file from a previous version.

i.e. in say 6-03-1, /lib/foo was in sun-java6-bin but as of 6-05-1 it
is in sun-java6-jre

Adrian
--
Email: adrian@??? -*- GPG key available on public key servers
Debian GNU/Linux - the maintainable distribution -*- www.debian.org