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

dpkg --deinstall or dpkg --remove ?

Package: dpkg
Version: 1.9.20 (i386)

The dpkg manpage has two conflicting options: deinstall vs. remove.
of the options is deinstall.  Being that this is the first option 
for uninstalling packages, one  may use this without reading a 
little more into the manpage.
However, further down the manpage, under ACTIONS, it is instructed 
that to remove an installed pagkage, one should use dpkg -r | 
--remove, which in reality is the correct way to uninstall a package.

Should a user use dpkg --deinstall, the result will be similar to 
flk@ciudadlejana:~$ sudo dpkg --deinstall <some_package>
dpkg: unknown option --deinstall

Type dpkg --help for help about installing and deinstalling packages 
Use dselect for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;
Type dpkg --licence for copyright licence and lack of warranty (GNU 
GPL) [*].

Options marked [*] produce a lot of output - pipe it through `less' 
or `more' !
I have verified that this 'bug' has not appeared under the Debian 
bug report logs for dpkg.
Please take notice and fix this minor detail in the documentation.

Addis Pérez
"... a la ciudad lejana no vuelvas nunca, nunca jamás..."

To UNSUBSCRIBE, email to debian-dpkg-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: