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

Bug#192146: apt-get: nice if it warns very low disk space for normal system operation.



Package: apt
Version: 0.5.4
Severity: minor

When disk space is low, apt-get install something
operation (invoked by superuser)
can uses the disk space over the watermark for the ordinary user
(as in ext2 filesystem)
and as a result, when normal user tries to
use the system it finds
the filesystem in which /var/spool/apt is located
having no usable space left.
Often this causes undesirable side effects.

It would be nice if apt can warn this dire condition
before the apt-get install begins.

It is highly desirable that apt-get WARNS
the dire condition to the superuser AFTER
the apt-get install finishes and
the space usable for ordinary user is zero.

I assume that the judgement for the space being "low"
can be user settable, etc. and so might be a
little complex and so I say it would be NICE to
warn the user beforehand and afterward.

However, it is definitely desirable to print warning
if the left over space is ZERO for ordinary user after the install
operation, though.


dpkg --status apt
Package: apt
Status: install ok installed
Priority: optional
Section: admin
Installed-Size: 1984
Maintainer: APT Development Team <deity@lists.debian.org>
Version: 0.5.4
Replaces: libapt-pkg-doc (<< 0.3.7), libapt-pkg-dev (<< 0.3.7)
Provides: libapt-pkg-libc6.2-3-2-3.2
Depends: libc6 (>= 2.2.3-7), libstdc++2.10-glibc2.2
Suggests: dpkg-dev
Description: Advanced front-end for dpkg
 This is Debian's next generation front-end for the dpkg package manager.
 It provides the apt-get utility and APT dselect method that provides a
 simpler, safer way to install and upgrade packages.
 .
 APT features complete installation ordering, multiple source capability
 and several other unique features, see the Users Guide in
 /usr/share/doc/apt/guide.text.gz


-- 
int main(void){int j=2003;/*(c)2003 cishikawa. */
char t[] ="<CI> @abcdefghijklmnopqrstuvwxyz.,\n\"";
char *i ="g>qtCIuqivb,gCwe\np@.ietCIuqi\"tqkvv is>dnamz";
while(*i)((j+=strchr(t,*i++)-(int)t),(j%=sizeof t-1),
(putchar(t[j])));return 0;}/* under GPL */




Reply to: