debfoster asks about non-orphaned package
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
debfoster (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
debfoster asks about 'anjuta' before asking about 'gnome-devel', even though 'gnome-devel' depends on 'anjuta'.
I recently installed the meta-package "gnome-devel". That brought in a lot of other packages, include "anjuta", upon which it explicitly depends.
I ran "sudo debfoster" afterwards expected to be asked whether I wanted to keep "gnome-devel", since it was a new orphan package, but instead it asked me whether to keep "anjuta".
Usually debfoster only asks about 'orphaned' packages, ie. packages which are not required by any installed packages.
Here's a log of the session. Note that even though I told it to keep gnome-devel, it is trying to remove it, so it is clearly confused. It shouldn't have asked about anjuta at all. It should have asked about gnome-devel first, and when I said "y" to that, it would have known that anjuta had to be kept, since it is required by gnome-devel.
chris@chrislap:~$ sudo debfoster
anjuta is keeping the following 33 packages installed:
anjuta-common devhelp devhelp-common doc-gnome-hig glade-common-2 glade-gnome-2 gnome-core-devel gnome-devel gtranslator
libart-2.0-dev libaspell15c2 libatspi-dev libbonoboui2-dev libbz2-dev libcroco3-dev libdevhelp-1-0 libeel2-dev
libgail-dev libgail-
libgnomeprint
libpanel-
Keep anjuta? [Ynpsiuqx?], [H]elp: N
gnome-devel is keeping the following 31 packages installed:
devhelp devhelp-common doc-gnome-hig glade-common-2 glade-gnome-2 gnome-core-devel gtranslator libart-2.0-dev
libaspell15c2 libatspi-dev libbonoboui2-dev libbz2-dev libcroco3-dev libdevhelp-1-0 libeel2-dev libgail-dev
libgail-
libgnomeprint
librsvg2-dev libstartup-
Keep gnome-devel? [Ynpsiuqx?], [H]elp: Y
Keep anjuta-common? [Ynpsiuqx?], [H]elp: Y
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED:
anjuta* gnome-devel*
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
Need to get 0B of archives.
After unpacking 2195kB disk space will be freed.
Do you want to continue [Y/n]?
description: | updated |
summary: |
+ debfoster asks about 'anjuta' before asking about 'gnome-devel', even + though 'gnome-devel' depends on 'anjuta'. |
Changed in debfoster: | |
assignee: | nobody → motu |
Changed in debfoster: | |
assignee: | motu → nobody |
status: | New → Rejected |
I also discovered that the behaviour depends on whether I tell it to keep anjuta or not. Here are 2 sessions. In the first I say N to anjuta. It goes on to ask about gnome-devel. In the second I (S)kip anjuta. It then doesn't ask about gnome-devel at all:
chris@chrislap:~$ sudo debfoster
anjuta is keeping the following 83 packages installed: xinerama- dev
anjuta-common autoconf automake1.7 autotools-dev cvs devhelp devhelp-common doc-gnome-hig docbook docbook-dsssl [...]
libxrender-dev libxslt1-dev m4 sp x11proto-fixes-dev x11proto-render-dev x11proto-
Keep anjuta? [Ynpsiuqx?], [H]elp: N
gnome-devel is keeping the following 80 packages installed: xinerama- dev
autoconf automake1.7 autotools-dev devhelp devhelp-common doc-gnome-hig docbook docbook-dsssl docbook-to-man docbook-xsl [...]
x11proto-
Keep gnome-devel? [Ynpsiuqx?], [H]elp: Interrupted
chris@chrislap:~$ sudo debfoster
anjuta is keeping the following 83 packages installed: xinerama- dev
anjuta-common autoconf automake1.7 autotools-dev cvs devhelp devhelp-common doc-gnome-hig docbook docbook-dsssl [...]
libxrender-dev libxslt1-dev m4 sp x11proto-fixes-dev x11proto-render-dev x11proto-
Keep anjuta? [Ynpsiuqx?], [H]elp: S
chris@chrislap:~$