This always trips me up. There is an apt-cache command Which you would think is the way to clean out your apt cache files. Wrong! instead use
sudo apt clean
This has to be done occasionally or apt will soak up all your disk space.
So what does apt-cache do?
Queries the cache info
apt-cache showpkg pkgname
shows info about a package
apt-cache stats
displays statistics about the cache such as this
*Total package names: 120910 (3,385 k)
Total package structures: 108006 (4,752 k)
Normal packages: 63197
Pure virtual packages: 926
Single virtual packages: 34158
Mixed virtual packages: 402
Missing: 9323
Total distinct versions: 65980 (5,806 k)
Total distinct descriptions: 129506 (3,108 k)
Total dependencies: 410401/108838 (9,949 k)
Total ver/file relations: 3549 (85.2 k)
Total Desc/File relations: 63970 (1,535 k)
Total Provides mappings: 38370 (921 k)
Total globbed strings: 217477 (5,068 k)
Total slack space: 99.7 k
Total space accounted for: 36.3 M
Total buckets in PkgHashTable: 196613
Unused: 113741
Used: 82872
Utilization: 42.1498%
Average entries: 1.30329
Longest: 17
Shortest: 1
Total buckets in GrpHashTable: 196613
Unused: 106356
Used: 90257
Utilization: 45.9059%
Average entries: 1.33962
Longest: 7
Shortest: 1 `` Many other functions see man page for more info