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

Bug#439754: "apt-get purge" is documented but does not work



Package: apt
Version: 0.7.3

The man page and the apt help in lenny describe the "purge" command, 
but "apt-get purge" returns an "invalid operation" error when 
run. "apt-get --purge remove" and "dpkg --purge" work as expected.

Cheers,

Allwyn.

root@slimer:~# apt-get install apt
Reading package lists... Done
Building dependency tree
Reading state information... Done
apt is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 304 not upgraded.


root@slimer:~# dpkg-query -W apt
apt     0.7.3


root@slimer:~# apt-get -h | grep purge
   purge - Remove and purge packages


root@slimer:~# man apt-get | grep -C1 purge
               [dselect-upgrade] | [install pkg...] | [remove pkg...] |
               [purge pkg...] | [source pkg...] | [build-dep pkg...] | [check]
               | [clean] | [autoclean] | [autoremove]}
--

       purge
           purge is identical to remove except that packages are removed and
           purged.

--

       --purge
           Use purge instead of remove for anything that would be removed. An
           asterisk ("*") will be displayed next to packages which are
           scheduled to be purged. Configuration Item: APT::Get::Purge.


root@slimer:~# apt-get purge waproamd
E: Invalid operation purge


root@slimer:~# apt-get --purge remove waproamd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  waproamd*



Reply to: