FS#11658 - pacman disk space check

Attached to Project: Arch Linux
Opened by Dieter Plaetinck (Dieter_be) - Sunday, 05 October 2008, 10:43 GMT
Last edited by Jan de Groot (JGC) - Sunday, 05 October 2008, 12:09 GMT
Task Type Bug Report
Category System
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

A user reported on the forums that pacman does not do disk space checking (see http://bbs.archlinux.org/viewtopic.php?pid=429200 )
I propose to check the filesystem mounted on '/' on available disk space. If it's not enough for the package tarballs + extracted packages + some overhead, warn the user and ask if he/she wants to continue. (some tips on how to free disk space, such as clearing the package tarball cache could also be shown)

He/she might have other filesystems mounted separately ( /usr, /var,...) so the counting will in that case be not totally accurate, but it will be better then nothing.

This task depends upon

Closed by  Jan de Groot (JGC)
Sunday, 05 October 2008, 12:09 GMT
Reason for closing:  Duplicate
Comment by Dieter Plaetinck (Dieter_be) - Sunday, 05 October 2008, 10:52 GMT
Gah. Someone reported just before me. This is now a dup of #11639

Loading...