Bug#152734: marked as done (apt: check whether there's enough space for the downloaded packages seems to check the wrong partition)
Your message dated Sat, 13 Jul 2002 00:16:04 +0200 (CEST)
with message-id <Pine.NEB.4.44.0207130013110.24665-100000@mimas.fachschaften.tu-muenchen.de>
and subject line Bug#152734: apt: check whether there's enough space for thedownloaded packages seems to check the wrong partition
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 12 Jul 2002 11:22:55 +0000
>From bunk@fs.tum.de Fri Jul 12 06:22:55 2002
Return-path: <bunk@fs.tum.de>
Received: from emailhub.stusta.mhn.de (mailhub.stusta.mhn.de) [141.84.69.5]
by master.debian.org with smtp (Exim 3.12 1 (Debian))
id 17SyVj-0005Ej-00; Fri, 12 Jul 2002 06:22:55 -0500
Received: (qmail 18344 invoked from network); 12 Jul 2002 11:22:54 -0000
Received: from r063144.stusta.swh.mhn.de (10.150.63.144)
by mailhub.stusta.mhn.de with SMTP; 12 Jul 2002 11:22:54 -0000
Received: from bunk by r063144.stusta.swh.mhn.de with local (Exim 3.35 #1 (Debian))
id 17SyVE-0000jc-00; Fri, 12 Jul 2002 13:22:24 +0200
Subject: apt: check whether there's enough space for the downloaded packages seems to check the wrong partition
From: "Adrian Bunk" <bunk@fs.tum.de>
To: "Debian Bug Tracking System" <submit@bugs.debian.org>
X-Mailer: reportbug 1.99.47
Date: Fri, 12 Jul 2002 13:22:23 +0200
Message-Id: <[🔎] E17SyVE-0000jc-00@r063144.stusta.swh.mhn.de>
Delivered-To: submit@bugs.debian.org
Package: apt
Version: 0.5.4
Severity: normal
<-- snip -->
# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda5 3027366 2147008 726538 75% /
/dev/hda1 1011692 47 960239 1% /tmp
/dev/hda6 2821784 2561738 116668 96% /home
/dev/hda7 1928598 1792016 38588 98% /var
# apt-get --purge dist-upgrade
...
268 packages upgraded, 18 newly installed, 1 to remove and 0 not upgraded.
Need to get 92.5MB/94.0MB of archives. After unpacking 7234kB will be used.
Do you want to continue? [Y/n]
<-- snip -->
I would have expected to get the error message that there's not enough
free space on /var.
-- System Information:
Debian Release: 3.0
Architecture: i386
Kernel: Linux r063144.stusta.swh.mhn.de 2.4.19-rc1-ac2 #1 Thu Jul 11 22:58:50 CEST 2002 i586
Locale: LANG=C, LC_CTYPE=C
Versions of packages apt depends on:
ii libc6 2.2.5-6 GNU C Library: Shared libraries an
ii libstdc++2.10-glibc2 1:2.95.4-9 The GNU stdc++ library
-- no debconf information
---------------------------------------
Received: (at 152734-done) by bugs.debian.org; 12 Jul 2002 22:16:15 +0000
>From bunk@fs.tum.de Fri Jul 12 17:16:15 2002
Return-path: <bunk@fs.tum.de>
Received: from hermes.fachschaften.tu-muenchen.de [129.187.176.19]
by master.debian.org with smtp (Exim 3.12 1 (Debian))
id 17T8hz-0005Qb-00; Fri, 12 Jul 2002 17:16:15 -0500
Received: (qmail 9493 invoked from network); 12 Jul 2002 22:16:06 -0000
Received: from mimas.fachschaften.tu-muenchen.de (HELO mimas) (129.187.176.26)
by hermes.fachschaften.tu-muenchen.de with SMTP; 12 Jul 2002 22:16:06 -0000
Date: Sat, 13 Jul 2002 00:16:04 +0200 (CEST)
From: Adrian Bunk <bunk@fs.tum.de>
X-X-Sender: bunk@mimas.fachschaften.tu-muenchen.de
To: Jason Gunthorpe <jgg@debian.org>
cc: 152734-done@bugs.debian.org
Subject: Re: Bug#152734: apt: check whether there's enough space for
thedownloaded packages seems to check the wrong partition
In-Reply-To: <[🔎] Pine.LNX.3.96.1020712102102.24245A-100000@wakko.debian.net>
Message-ID: <Pine.NEB.4.44.0207130013110.24665-100000@mimas.fachschaften.tu-muenchen.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Delivered-To: 152734-done@bugs.debian.org
On Fri, 12 Jul 2002, Jason Gunthorpe wrote:
> > # df -k
> > Filesystem 1K-blocks Used Available Use% Mounted on
> > /dev/hda5 3027366 2147008 726538 75% /
> > /dev/hda1 1011692 47 960239 1% /tmp
> > /dev/hda6 2821784 2561738 116668 96% /home
> > /dev/hda7 1928598 1792016 38588 98% /var
> > # apt-get --purge dist-upgrade
> > ...
> > 268 packages upgraded, 18 newly installed, 1 to remove and 0 not upgraded.
> > Need to get 92.5MB/94.0MB of archives. After unpacking 7234kB will be used.
> > Do you want to continue? [Y/n]
> >
> > I would have expected to get the error message that there's not enough
> > free space on /var.
>
> It does statfs in /var/cache/apt/archives/. maybe you have a symlink. It
> certainly works for everone else.
Sorry, this was my thinko:
"df" returns the space available for normal users but root can use the
reserved 5% percent of the partition which means that there would be
enough space for all packages.
> Jason
cu
Adrian
--
You only think this is a free country. Like the US the UK spends a lot of
time explaining its a free country because its a police state.
Alan Cox
--
To UNSUBSCRIBE, email to deity-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: