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...
IBM Server Rack Cabinet 9308-RC4
$209.00
IBM System X3250 M3 Server 8GB RAM Intel Xeon x3440 2.53ghz (NO HDD)
$41.99
IBM System p5 9131-52A 3.5" 4-Bay Server 80P6787 1 CPU 2GB 6 HD CADDIES TAPE BU
$250.00
IBM Power S822 8284-22A 12SFF Power8 3.89GHz 6Core 64GB RAM No HDD Server System
$359.99
IBM Power S822 8284-22A 12SFF Power8 3.89GHz 6-Core 64GB RAM No Bezel/HDD Server
$279.99
IBM x3650 M4 Server Intel Xeon E5-2640 (x2) 144GB RAM No HDDs (#4XN7N)
$169.99
COMPLETE IBM 9009 41A ISERIES POWER9 ENTRY LEVEL SERVER FULLY TESTED AND WORKING
$3550.00
IBM System x3550 M3 Dual Intel Xeon X5650 @2.67GHz 32GB RAM No HDD
$68.50
IBM x3550 7042-CR4 Server System Intel Xeon 5130 2.00Ghz DVD-Rom Drive 1GB No HD
$139.99
IBM QRadar xx29 Server 4412Q2A
$209.99