On Mon, Oct 29, 2007 at 03:07:01PM +0000, [EMAIL PROTECTED] wrote:
> Package: debfoster
> Version: 2.6-2
> Severity: serious
> 
> --- Please enter the report below this line. ---
> 
> Hi,
> 
> When running debfoster, it asks me wether I want to keep
> python-celementtree (that only keeps python-elementtree). If I answer
> Y, it will also remove bzr and bzrtools, although I haven't been asked
> about them. Even explicitly marking bzr and bzrtools as "to be kept" by
> adding them to /var/lib/debfoster/keepers does not help. Excerpt:
> 
> [...]
> 
> python-celementtree is keeping the following 1 packages installed:
>   python-elementtree
> Keep python-celementtree? [Ynpsiuqx?], [H]elp: P
> 
> [...]
> 
> Removing package: python-celementtree
> Removing package: python-elementtree
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following packages will be REMOVED:
>   bzr* bzrtools* python-celementtree* python-elementtree*
> 0 upgraded, 0 newly installed, 4 to remove and 75 not upgraded.
> Need to get 0B of archives.
> After unpacking 11.6MB disk space will be freed.
> Do you want to continue [Y/n]?

  I experience this as well. bzr depends python (>> 2.5) |
python-celementree as python-celementtree is builtin in python 2.5. I
suppose it get confused because python is installed and it believes in
the first pass that python-celementtree doesn't needs to be here
(because it probably doesn't grok that (>> 2.5) isn't fulfilled),
though, when apt is called later to remove python-celementree, it wants
to remove bzr that needs it.

  So my guess is that the dependency checker of debfoster is a tad
simplistic

  Note that I'd argue that it's not a serious but an important bug: in
its default setup, debfoster ask you if you confirm, so you lose data
IFF you are dumb enough to hit 'Yes'. And there are trivial workarounds
that let debfoster work properly on the rest of the archive. If the bug
isn't trivial to fix in debfoster, I'd suggest to downgrade it to
important so that it doesn't force the removeal of debfoster from testing.

-- 
·O·  Pierre Habouzit
··O                                                [EMAIL PROTECTED]
OOO                                                http://www.madism.org

Attachment: pgpZMCOex1NpL.pgp
Description: PGP signature

Reply via email to