Re: Bug#148336: apt: problem solver wants to remove frozen-bubble
Jason Gunthorpe <jgg@debian.org> writes:
> On Tue, 28 May 2002, Goswin Brederlow wrote:
>
> > Since frozen-bubble stands higher in the hirachy of dependencies (it
> > depends on frozen-bubble-lib) apt-get should keep it and resolve its
> > new dependencies, even though that means removing an old and
> > installing a new deb instead of just removing one.
>
> Er no, that isn't always true.
>
> I think this is probably just one of those cases that can't be reasonably
> handled automatically.
>
> Jason
Package: frozen-bubble
Replaces: frozen-bubble-lib
Conflicts: frozen-bubble-lib
Depends: frozen-bubble-data (= 0.9.3-2)
Package: frozen-bubble-lib
Recommends: frozen-bubble
Package: frozen-bubble-data
Recommends: frozen-bubble
The problem solver should not change the installation during upgrade,
not more than neccessary. In this case upgrading frozen-bubble is
clearly the only choice it has:
remove frozen-bubble:
- If it removes frozen-bubble it reduces the system. It will break
stuff. This should be a big negative score.
install frozen-bubble:
- If it replaces the frozen-bubble-lib with the frozen-bubble nothing
is changed (since frozen-bubble replaces frozen-bubble-lib). No
change, no score (or very little)
- If it installs frozen-bubble-data it enlarges the system. Nothing
old is changed, just some new stuff. It shoudn't fo that, but its
not so bad. Only a minor negative score applies here.
Overall installing frozen-bubble is by far the lesser evil. How does
the problem solver ever come up with puring frozen-bubble in such a
simple case?
MfG
Goswin
--
To UNSUBSCRIBE, email to deity-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: