[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Bug#156132: apt: --purge is OVERACTIVE to JASON+ADAM



A) Another bug i was meaning to write about, the way you "define" purge
in the manual is terrible.

Look at:
  man dpkg :
    purge  The package is selected to be purged (i.e. we want to remove
everything, even configuration files).
  man apt : (HORRIBLE!!!)      
    purge: Use purge instead of remove for anything that would be
removed.(THIS IS A RECURSIVE DEFINITION)

They should be the same since they ARE the same.

So you both "err/uhmming" at me due to your faults.

B) I just experimented, and apt-get --purge remove postfix gave me a lot
of "won't remove directory, isnt empty" according to the one definition,
in man dpkg, I shouldnt be seeing this message IF you expect me to take
your man pages as well defined.

Q)
"Jason: This sounds reminicient of the old 'rm -rf /' is harmful, thus
rm should need an even specialer flag."

So, define this in the manual page please! 

AND also define this in apt-get's output, in nice, big letters. That is,
only extra special warning when dependencies are going to be purged as
well.

Hey, i'm asking for extra warning, not extra flags. OK!


On Fri, 2002-08-09 at 20:56, Adam Conrad wrote:
> > -----Original Message-----
> > From: Hunter Peress [mailto:hu.peress@mail.mcgill.ca] 
> > 
> > DOING:
> > apt-get --purge remove PACKAGE
> > 
> > then hitting yes/enter
> > 
> > will purge the dependencies that are also being removed. THIS SHOULD
> > REQUIRE AN EXTRA CONFIG.
> > 
> > for example, apt-get --purge remove exim purged my apache 
> > conf files and
> > caused me hours of trouble.
> 
> Uhm... That's by design.  --purge means "when performing remove
> operations, purge instead".  It doesn't specify WHICH packages will be
> purged.
> 
> Frankly, if Jason changed this behaviour I would scream.  You'll notice
> that the output TELLS you before you answer "yes"... Any package with an
> asterisk next to it is being purged.
> 
> ... Adam
> 
> 




Reply to: