
On 2023-04-04 17:50, D. Hugh Redelmeier via talk wrote:
Violence is sometimes the answer. Now we see the violence inherent in the sysadmin! sudo apt clean
That left only 32% of / used.
Note /var/cache/apt/archives is only a cache. If the system wants any of these, it should be able to find them in a repo.
More recent Debian seems to have made automatic cleanup the default.
Is this something older or more Ubuntu-like?
And really it makes little sense to keep a .deb you're only going to install once!
Anthony I like to keep the debs around until after I have verified
On 4/4/23 18:00, Anthony de Boer via talk wrote: that the next version of a package hasn't borked me. Hugh, how many kernels are on your system? Also, what does `deborphan` say. You can try `dpkg -l | grep -v ^ii` and eliminate cruft. Finally, nothing beats `for i in bin boot etc home lib opt root usr var; do du -hs $i; done`. Do the results seem appropriate? Logging is often the culprit. Check systemd with ` journalctl --disk-usage` and reduce it if needed. -- Michael Galea