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...
SONICWALL TZ270 Network Firewall With Power Cable *READY TO REGISTER*
$150.00
Fortinet FortiGate 60F | 10 Gbps Firewall Network Security EXPIRED (FG-60F)- New
$395.99
Fortinet FortiGate 60E Network Security Firewall No Power Cord
$56.00
Palo Alto PA-220 Next-Gen Firewall 750-000128-00A w/ Power adapter
$50.00
Juniper Networks SRX340 SRX300 Series 8-Port Security Firewall Tested
$129.00
Palo Alto PA-220 Next-Gen Firewall 750-000128-00A w/ Power adapter
$59.99
OPNsense six-port Gigabit router / firewall on Palo Alto ION 2000 hardware
$69.00
Cisco ASA 5505 Fast Ethernet Firewall Security Appliance
$50.00
1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports
$149.00
Firewall pfSense 2.7.2 Release 8GB Memory - Dual NIC 1 GB - 256GB SSD
$103.77