Package: aptitude
Version: 0.4.4-4
Followup-For: Bug #245359

During working with aptitude I noticed that i does not support the
--purge option that apt-get supports.
So, if i do run the following, for example:
        
        aptitude remove --purge ntp

Then it simply continues to remove the package *without* purging it.

I do know that aptitude supports a new action purge, so that

        aptitude purge ntp

does the job, that the line above would do, but if you are moving from
apt-get you might use the above syntax by intension and would not even
wonder about the action aptitude does, upon you stumble across some
configuration files that should have been removed.

So IMHO there are two possible options what to do:

a) Add the --purge option for compatibility reasons
b) Issue a warning if --purge is used, that this argument is obsoleted
by the purge action, print the usage information and exit.
This way users at least have the chance to note the different behaviour!

Personally i would prefer the option b), because it enforces users to
care about the change. Also it is much cleaner, because purge as an
action instead of a parameter to remove perfectly makes sense.

Best Regards

Patrick Schoenfeld

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-4-k7
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages aptitude depends on:
ii  apt [libapt-pkg-libc6.3-6-3 0.6.46.4-0.1 Advanced front-end for dpkg
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries
ii  libgcc1                     1:4.1.1-21   GCC support library
ii  libncursesw5                5.5-5        Shared libraries for terminal hand
ii  libsigc++-2.0-0c2a          2.0.17-2     type-safe Signal Framework for C++
ii  libstdc++6                  4.1.1-21     The GNU Standard C++ Library v3

Versions of packages aptitude recommends:
pn  aptitude-doc-en | aptitude-do <none>     (no description available)
pn  libparse-debianchangelog-perl <none>     (no description available)

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to