Not enough disk space for upgrade when Postgres is upgraded

I don’t know how advisable it would be for a live site, but I have had this issue with one of my localhost intstalls I use for testing/development.

What works for me is skipping the prerequisites check i.e.
./launcher rebuild app --skip-prereqs