From: Stuart Henderson Subject: Re: /usr size needed for upgrade To: Adriano Barbosa , tech@openbsd.org Date: Mon, 10 Nov 2025 13:56:54 +0000 On 2025/11/09 23:39, Matthias Kilian wrote: > On Fri, Nov 07, 2025 at 03:57:53PM +0100, Marc Espie wrote: > > > The situation is unfortunate, but there is no magic answer to it. > > > > There's a non-magic answer in ports, it's called sysclean > > and kuddoes to semarie@ for writing it. > > And it may badly break other users tools outside of common PATHs > if you blindly delete what it reports. > > No magic. You have to ask all users on a machine to rebuild their > programs before you can wipe shared libs. On a system which uses those, yes, though many people aren't self-building anything and just use packages, in which case sysclean does a pretty good job (especially if restricted to ^/usr/). And when people are building things themselves, they often break across OS version updates anyway. Not all the time, but around every 2-3 releases is not unusual.