Bug#163763: dpkg: dpkg --remove doesn't alter the desired status of a package if there is nothing to do
Package: dpkg
Version: 1.10.9
Severity: important
Important because this fucks up stuff like dpkg -iO.
root@apocalypse:/home/branden/packages/xfree86/4.2.1# dpkg -l libxaw6-dev
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-============================================-============================================-========================================================================================================
in libxaw6-dev <none> (no description available)
root@apocalypse:/home/branden/packages/xfree86/4.2.1# dpkg --remove libxaw6-dev
dpkg - warning: ignoring request to remove libxaw6-dev which isn't installed.
root@apocalypse:/home/branden/packages/xfree86/4.2.1# dpkg -l libxaw6-dev
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-============================================-============================================-========================================================================================================
in libxaw6-dev <none> (no description available)
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux apocalypse 2.4.18 #1 Fri May 3 19:03:16 EST 2002 i686
Locale: LANG=C, LC_CTYPE=en_US
Versions of packages dpkg depends on:
ii dselect 1.10.9 a user tool to manage Debian packa
ii libc6 2.2.5-15 GNU C Library: Shared libraries an
-- no debconf information
Reply to: