On Thu, Apr 24, 2008 at 11:21:39AM +0200, Josselin Mouette <[EMAIL PROTECTED]> 
was heard to say:
> Le jeudi 24 avril 2008 à 00:48 +0100, Tom Parker a écrit :
> > Installed from Etch 4.0r2 DVDs a little while back. Using a mix of
> > stable,testing,unstable and experimental packages. Been upgrading with
> > aptitude mostly, and as I've just noticed (using aptitude 0.4.11.1-1
> > to uninstall mktemp) it will let you quite happily uninstall Essential
> > packages without so much as a "are you really sure you want to do
> > this?". The console output says:
> > 
> > dpkg - warning, overriding problem because --force enabled:
> >  This is an essential package - it should not be removed.
> > (Reading database ... 115481 files and directories currently installed.)
> > Removing mktemp ...
> 
> Indeed, this is reproducible; aptitude will ask to type "do as I say" if
> the only operation requested is an essential package's removal, but it
> will happily remove an essential package if there are some packages to
> autoremove in the database.

  Could you please post the exact command you used to reproduce this?
It looks to me like aptitude prompts later than it ought to, but it does
prompt.


[EMAIL PROTECTED]:~/programming/aptitude/aptitude-gtk$ aptitude -s remove 
balder2d mktemp
Reading package lists... Done
Building dependency tree        
Reading state information... Done
Reading extended state information      
Initializing package states... Done
The following packages will be REMOVED:
  balder2d  balder2d-data{u}  libboost-filesystem1.34.1{u}  
  libguichan2{u}  mktemp  
0 packages upgraded, 0 newly installed, 5 to remove and 89 not upgraded.
Need to get 0B of archives. After unpacking 10.4MB will be freed.
Do you want to continue? [Y/n/?] 
The following ESSENTIAL packages will be REMOVED!
  mktemp 

WARNING: Performing this action will probably cause your system to break!
         Do NOT continue unless you know EXACTLY what you are doing!
To continue, type the phrase "I am aware that this is a very bad idea":


  Obviously the prompt should happen up-front, but it's not the case
that aptitude will happily remove mktemp without a prompt.

  Daniel



Reply via email to