Index | Thread | Search

From:
Amit Kulkarni <amitkulz@gmail.com>
Subject:
Re: /usr size needed for upgrade
To:
Theo de Raadt <deraadt@openbsd.org>
Cc:
Adriano Barbosa <barbosa.aob@gmail.com>, tech@openbsd.org
Date:
Fri, 24 Oct 2025 11:44:44 -0500

Download raw body.

Thread
On Fri, Oct 24, 2025 at 10:15 AM Theo de Raadt <deraadt@openbsd.org> wrote:

> Adriano Barbosa <barbosa.aob@gmail.com> wrote:
>
> > Hi,
> >
> > The upgrade instructions say "Verify that the /usr partition has a
> > size of at least 1.1G". My upgrade 7.8 failed because there wasn't
> > enough space in /usr, but my partition size is 2.0G.
> > /dev/sd1e      2.0G    1.7G    205M    90%    /usr
>
> A lot of detritus collects in systems which have been upgraded through
> many releases, in particular lib*.so libraries
>
> The situation is unfortunate, but there is no magic answer to it.
>

pkg_add sysclean

removes all the old libraries and binaries. But use it with caution.