I faced the same problem as yours.
But I take a further action "dpkg -P package name". After this command has been run, it shows "uninstalled" in the status file. It seems that apt-get does not update the installation file status.
I uninstall apps with apt-get remove usually, only sometimes with dpkg -r. So when I generate a size-sorted list of what's installed with dpkg, the things I removed with apt still show up. And I can no longer remove them with dpkg once they've been unistalled.
How can I get dpkg to know which apps I've removed with apt-get?
I faced the same problem as yours.
But I take a further action "dpkg -P package name". After this command has been run, it shows "uninstalled" in the status file. It seems that apt-get does not update the installation file status.
it sure does .. but if you look carefully you'll se ii at some and rc at others. If you want to get completly rid of file you need to --purge it
cleaning
for i in $(dpkg -l | grep ^rc | cut -d " " -f 3); do dpkg --purge $i; done
for uninstall packages use apt-get remove --purge package-name,no trash after...
Vintage DEC Digital Equipment Corp. Digital PC752 DEC PC LPv 433SX 486 Computer
$250.00
*NEW UNOPENED* Vintage DEC LB-5923 Keyboard
$40.00
Vintage DEC/The Redac mini cabinet front panel Digital Equipment Corp. 19"
$269.99
Vintage DEC Digital Equipment Corp PDP 11/40 G114 16K SENSE/INHIBIT (B10)
$269.99
Vintage Digital Equipment Co RP04p hard drive DEC VAX mini computer 11 14” disks
$250.00
Vintage DEC LA75 Plus Companion Printer ( Fails Self Test: See Description )
$175.00
Vintage DEC Starion 960 (FR-904AA-A8) Desktop Computer Intel Pentium 166MHz
$88.96
Vintage DEC DIgital MicroVAX 2000 Hardware Information ST533B11
$35.00
VINTAGE DEC DIGITAL M5903 DRIVE TRANSCEIVER 5010502 H-P3
$74.99
Vintage DEC Digital Equipment Corp PDP 11 G116 32K SENSE/INHIBIT 5011654C (B10)
$269.99