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

Written 26 Aug 2026. This is a how-to, not a product card.

Clear old package downloads when the 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 computer 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 computer still has room. If you want to see which folders are taking the room, that is see which folders are eating the disk. 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 computer.

What this is

apt is the Debian and Ubuntu tool that installs updates. Weekly 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 computer still has room. If it is still full, delete real junk (Downloads and Trash) from that note. Don't buy a NAS for cache files.

What next

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

Skip

Sources

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

Also on this topic

When weekly updates won't installapt says could not get lock, waiting for cache, or dpkg was interrupted. Wait out the other updater, free disk room, then finish the weekly fixes. You don't need a new mini PC. See if the computer still has roomAfter the house folder is working, check that the computer is not filling up. Photos stop copying when the disk is full. You don't need a NAS for this look. See which folders are eating the diskBefore you buy a bigger drive or a NAS, ask which folders are taking the room. Keep the computer updatedOnce a week, give the computer 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 folderA second copy of the house folder, on a USB disk you already have, or on another old PC. You don't need a NAS for this. When the house share disappeared, check the computerThe computer is awake, but Finder or File Explorer cannot see the folder. Check that Samba is still running before you buy a NAS.