[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1079512: apt: Apt should decline to install if disk space is way too low



Hello Julian,
Am Sat, Aug 24, 2024 at 10:11:13AM +0200 schrieb Julian Andres Klode:
> On Sat, Aug 24, 2024 at 07:36:34AM GMT, Helge Kreutzmann wrote:
> > Package: apt
> > Version: 2.9.8
> > Severity: important
> > 
> > I just did the usual 
> > apt-get update
> > apt-get dist-upgrade
> > 
> > Apt-listchanges showed me the changes and I let apt continue. Then the
> > installation failed because disk space was too low. I could not
> > continue using apt to fix this (hence severity important), but I had
> > to manually move parts of /usr to other places until I could finish
> > the "dist-upgrade". 
> > 
> > It turned out that I had to move ~ 1 GB (!) until this was the case.
> > 
> > I really wonder why apt cannot detect that such a big chunk of space is 
> > missing and then would refuse to start the installation. (I initially
> > believed it was just off a few MB.)
> 
> *apt* since 2.9.1, in the new user interface, informs you about the space
> usage required and displays a very prominent warning, defaults the prompt
> to N, and changes it to
> 
>     Continue anyway?
> 
> instead of
> 
>     Continue?
> 
> If the install size * 1.1 >= available space (not even free space).
> 
> I suggest you use it.

Thanks for the prompt reply and information. I'll be more careful in
the future.

Greetings

          Helge

-- 
      Dr. Helge Kreutzmann                     debian@helgefjell.de
           Dipl.-Phys.                   http://www.helgefjell.de/debian.php
        64bit GNU powered                     gpg signed mail preferred
           Help keep free software "libre": http://www.ffii.de/

Attachment: signature.asc
Description: PGP signature


Reply to: