Labthrift Labthrift What to buy. What to skip. Why.

Written 26 Aug 2026. This is a how-to, not a product card. Buy links are not tagged yet.

Clear old package downloads when the leftover disk is tight

After weekly updates, leftover downloads can sit on the disk. Clear them safely before you buy a bigger drive or a NAS.

This is a cleanup, not a shopping trip. The leftover box already has room checks and weekly fixes. You are clearing installer files that pile up after those updates, before you spend money on a bigger drive.

Skip until you looked at disk room

If you have not checked room yet, stop. That look is see if the leftover box still has room. From the couch, ask:

df -h

Point at the line that ends in /. If Use% is fine, skip this note. If phones and laptops cannot open the house folder, fix that first: when the house share disappeared, check the leftover box.

What this is

apt is the Debian and Ubuntu tool that installs updates. Weekly leftover-box updates download installer files into a cache folder. Those files stay after the install finishes. Clearing them frees room. It does not uninstall Pi-hole, Samba, or your house folder.

See how big the cache is

Optional, but nice before you clear:

sudo du -sh /var/cache/apt/archives

That number is the size of the leftover downloads, not your programs.

Clear it

Clear the downloaded package files:

sudo apt clean

That empties the cache. Your installed programs stay. A second, careful step is:

sudo apt autoremove

That removes packages marked unused after upgrades. Skip autoremove on day one if you are nervous. apt clean alone is enough for this note.

Check again

Ask about room once more:

df -h

Look at / again. The longer look is still see if the leftover box still has room. If it is still full, delete real junk (Downloads and Trash) from that note. Do not buy a NAS for cache files.

What next

If there is no second copy yet, that is a backup of the leftover-box folder. After one manual copy works, confirm it with check that the leftover-box backup actually copied. Skip a NAS. Skip a new internal drive this weekend. Skip filling the leftover laptop with a movie library.

Skip

Sources

Debian: apt (clean). Ubuntu: apt (clean). Official pages only. For disk room, see see if the leftover box still has room. For weekly fixes, see keep the leftover box updated. For the share, see a file share on the leftover box.

Also on this topic

See if the leftover box still has roomAfter the house folder is working, check that the leftover box is not filling up. Photos stop copying when the disk is full. You do not need a NAS for this look. Keep the leftover box updatedOnce a week, give the leftover box its fixes so SSH and Pi-hole are not sitting on last year's bugs. Skip this until next week if you just finished first weekend. A backup of the leftover-box folderA second copy of the house folder, on a USB disk you already have, or on another leftover computer. You do not need a NAS for this. When the house share disappeared, check the leftover boxThe leftover box is awake, but Finder or File Explorer cannot see the folder. Check that Samba is still running before you buy a NAS.