--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: "apt-get purge" is documented but does not work
- From: Mr Allwyn Fernandes <dbwerwesklsdf@stobor.net>
- Date: Mon, 27 Aug 2007 17:51:30 +1000
- Message-id: <200708271751.31164.dbwerwesklsdf@stobor.net>
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*
--- End Message ---