Debian Bug report logs - #15865
dpkg: please try not to use up all disk space

version graph

Package: dpkg; Maintainer for dpkg is Dpkg Developers <debian-dpkg@lists.debian.org>; Source for dpkg is src:dpkg (PTS, buildd, popcon).

Reported by: adrian.bridgett@poboxes.com

Date: Fri, 12 Dec 1997 00:18:05 UTC

Severity: wishlist

Found in version 1.4.0.19

Done: Guillem Jover <guillem@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Klee Dienes and Ian Jackson <dpkg-maint@chiark.greenend.org.uk>:
Bug#15865; Package dpkg. (full text, mbox, link).


Acknowledgement sent to adrian.bridgett@poboxes.com:
New bug report received and forwarded. Copy sent to Klee Dienes and Ian Jackson <dpkg-maint@chiark.greenend.org.uk>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Adrian Bridgett <adrian.bridgett@poboxes.com>
To: submit@bugs.debian.org
Subject: dpkg: low diskspace
Date: Thu, 11 Dec 1997 22:38:48 +0000
Package: dpkg
Version: 1.4.0.19
Priority: wishlist

It would be nice if dpkg checked that it leaves say 5-10MB free on the disk
unless it is overridden with --force-nospace. As it runs as root it uses up
any reserved space. I recently hit this - it it had stopped then I could
easily have cleared some more space. I was lucky that this didn't happen
whilst installing an essential package.

Thanks

Adrian

email: adrian.bridgett@poboxes.com       | Debian Linux - www.debian.org
http://www.poboxes.com/adrian.bridgett   | Because bloated, unstable 
PGP key available on public key servers  | operating systems are from MS


Severity set to `wishlist'. Request was from Josip Rodin <joy@cibalia.gkvk.hr> to control@bugs.debian.org. (full text, mbox, link).


Merged 15865 24950. Request was from Josip Rodin <joy@cibalia.gkvk.hr> to control@bugs.debian.org. (full text, mbox, link).


Merged 15865 24950 44950. Request was from Josip Rodin <joy@cibalia.gkvk.hr> to control@bugs.debian.org. (full text, mbox, link).


Disconnected #24950 from all other report(s). Request was from Josip Rodin <joy@gkvk.hr> to control@bugs.debian.org. (full text, mbox, link).


Disconnected #44950 from all other report(s). Request was from Josip Rodin <joy@gkvk.hr> to control@bugs.debian.org. (full text, mbox, link).


Changed Bug title. Request was from Thomas Hood <jdthood@yahoo.co.uk> to control@bugs.debian.org. (full text, mbox, link).


Severity set to `normal'. Request was from Thomas Hood <jdthood@yahoo.co.uk> to control@bugs.debian.org. (full text, mbox, link).


Merged 15865 65690 82407 89771 96391 106224. Request was from Thomas Hood <jdthood@yahoo.co.uk> to control@bugs.debian.org. (full text, mbox, link).


Merged 15695 15865 65690 82407 89771 96391 106224 121173. Request was from Thomas Hood <jdthood@yahoo.co.uk> to control@bugs.debian.org. (full text, mbox, link).


Merged 15695 15865 65690 82407 89771 96391 106224 121173 178735. Request was from Martin Quinson <mquinson@ens-lyon.fr> to control@bugs.debian.org. (full text, mbox, link).


Merged 15162 15695 15865 65690 82407 89771 95570 96391 106224 121173 178735. Request was from Thomas Hood <jdthood@yahoo.co.uk> to control@bugs.debian.org. (full text, mbox, link).


Disconnected #15865 from all other report(s). Request was from Thomas Hood <jdthood@yahoo.co.uk> to control@bugs.debian.org. (full text, mbox, link).


Severity set to `wishlist'. Request was from Thomas Hood <jdthood@yahoo.co.uk> to control@bugs.debian.org. (full text, mbox, link).


Message sent on to adrian.bridgett@poboxes.com:
Bug#15865. (full text, mbox, link).


Message #34 received at 15865-submitter@bugs.debian.org (full text, mbox, reply):

From: Justin Pryzby <justinpryzby@users.sourceforge.net>
To: 15865-submitter@bugs.debian.org
Subject: this bug/15865: dpkg: please try not to use up all disk space
Date: Sat, 14 Apr 2007 00:21:49 -0400
dpkg: please try not to use up all disk space
http://bugs.debian.org/15865

Actually dpkg should already handle this pretty gracefully.  It uses
atomic rename()s after linking each file in a package for backup then
writing to a new filename.  So if you run out of disk space, the
maintscript rollbacks should get it back in the "configured" state for
the previous version.



Reply sent to Guillem Jover <guillem@debian.org>:
You have taken responsibility. (Sat, 02 Mar 2019 19:51:03 GMT) (full text, mbox, link).


Notification sent to adrian.bridgett@poboxes.com:
Bug acknowledged by developer. (Sat, 02 Mar 2019 19:51:03 GMT) (full text, mbox, link).


Message #39 received at 15865-done@bugs.debian.org (full text, mbox, reply):

From: Guillem Jover <guillem@debian.org>
To: adrian.bridgett@poboxes.com, 15865-done@bugs.debian.org
Subject: Re: Bug#15865: dpkg: low diskspace
Date: Sat, 2 Mar 2019 20:46:45 +0100
Control: tag -1 wontfix

Hi!

On Thu, 1997-12-11 at 22:38:48 +0000, Adrian Bridgett wrote:
> Package: dpkg
> Version: 1.4.0.19
> Priority: wishlist

> It would be nice if dpkg checked that it leaves say 5-10MB free on the disk
> unless it is overridden with --force-nospace. As it runs as root it uses up
> any reserved space. I recently hit this - it it had stopped then I could
> easily have cleared some more space. I was lucky that this didn't happen
> whilst installing an essential package.

I don't think this would be practical. dpkg would first need to check
every mount point in the system, discern which ones are relevant to
packages being installed (say /usr, but not /run), which might imply
carrying system-specific black/white-lists, and then check those after
every unpack. Even then the amount free might or might not be enough,
as that really depends on what's going to be installed.

I think the better way to handle this is to fail gracefully, because
even if we checked for free space, we'd still need to do that anyway.
This is what should be happening now already, as Justin Pryzby
mentioned on a followup. I'm thus closing this report.

Thanks,
Guillem



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 31 Mar 2019 07:27:24 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Apr 26 10:24:12 2024; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.