On Sat, Sep 26, 2009 at 06:45:06PM +0200, Vincenzo Tibullo <enzo...@gmail.com> was heard to say: > The following command > > aptitude search ~E | grep apt > > gives the following output > > i apt - Advanced front-end for dpkg > > so reporting apt as essential, but apt is not essential, > as can be seen by one of the following command: > > aptitude show apt | grep '^Essential' > apt-cache show apt | grep '^Essential'
Internally, aptitude maps "~E" to testing the flags "essential" or "important". This is also what it does when testing whether to warn the user about packages they're removing. apt always turns on the "important" flag for the package named "apt", regardless of whether Essential is set to true for it. It's easy to change this behavior so that "important" is ignored by ~E; I haven't really thought enough about this to figure out whether that's the right thing to do. (it would certainly match the documentation better) Daniel -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org