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

Bug#61259: marked as done (apt may make /var full)



Your message dated Thu, 11 May 2000 22:46:50 -0600 (MDT)
with message-id <Pine.LNX.3.96.1000511224628.2494J-100000@wakko.deltatee.com>
and subject line Not A Bug
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.)

Darren Benham
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 28 Mar 2000 15:56:10 +0000
Received: (qmail 20673 invoked from network); 28 Mar 2000 15:56:10 -0000
Received: from verso.st.jyu.fi (root@130.234.40.20)
  by master.debian.org with SMTP; 28 Mar 2000 15:56:09 -0000
Received: from localhost (juhtolv@localhost)
	by verso.st.jyu.fi (8.9.3/8.9.3) with ESMTP id SAA05280;
	Tue, 28 Mar 2000 18:56:06 +0300
Date: Tue, 28 Mar 2000 18:56:06 +0300 (EEST)
From: Juhapekka Tolvanen <juhtolv@st.jyu.fi>
To: submit@bugs.debian.org
cc: tetex-maint@verwaltung.uni-mainz.de
Subject: apt may make /var full
Message-ID: <Pine.LNX.4.10.10003281830090.4216-100000@verso.st.jyu.fi>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=ISO-8859-1
Content-Transfer-Encoding: 8BIT


Package: apt
Version: 0.3.18

In my machine /tmp is symlink to /var/tmp.

Today I run apt-get update and apt-get upgrade. It upgraded also many
tetex-packages and installation scripts of tetex created new fonts etc. Then
my Gnome and Enlightenment hanged. I was able to move mouse, but clicking it
did not help. 

I killed my X with Ctrl-Alt-Backspace. I tried to log in again, but my X
exited and I was back at the gdm again. I was able to log in from
text-console, though. I stopped my gdm and tried to start my X with
zsh-alias called myx:

juhtolv@heresy:/home/juhtolv % whence myx
startx -- -dpi 100 -bpp 16 & disown && exit
juhtolv@heresy:/home/juhtolv % 

It worked, but I saw no Gnome-things in my desktop. my TkDesk showed its
splash screen, but then it crashed. I logged out and started X with plain
startx without putting it to background. Then I saw, that TkDesk gave
error messages saying that it can't write to /tmp. 

Then I run df. My /var was full! Then I used this algorithm to find disk
hogs.

1. cd /var
2. du -k * | sort -n
3. cd to directory that was biggest in output of aforementioned command
4. If you are not deep enough in directory tree, go to 2.

I was in /var/cache/apt/archives. If I saw two versions of same package, I
removed the older one. After that everything was fine again.

So, what should we do? I have these suggestions:

1. When package is upgraded, older debian-package must deleted from
/var/cache/apt/archives. 

2. When package is deinstalled with dpkg, its package-file must be
deleted from /var/cache/apt/archives. 

3. When tetex is installed or upgraded, it should remove all tetex-packages
from /var/cache/apt/archives. 

Those features could be switched on and of with debconf and configuration
file. 

I also have these ideas:

1. It must be possible to configure, how much free space the partition
containing /var/cache/apt/archives must have before apt-get starts to
download anything. 

2. It must be possible to configure, if apt asks before deleting anything from
/var/cache/apt/archives.

-- 
-- Juhapekka "naula" Tolvanen * * * U of Jyväskylä * * juhtolv@st.jyu.fi --
-- http://www.cc.jyu.fi/~juhtolv/ * * * * " STRAIGHT BUT NOT NARROW !! " --
---------------------------------------------------------------------------
"I don't want to run a company. I'm not good at managing people. You have
a problem with the guy in the next cubicle? I don't care. Shoot him or
something." Marc Andreessen, founder of Netscape, in Rolling Stone, May '97

---------------------------------------
Received: (at 61259-done) by bugs.debian.org; 12 May 2000 04:46:41 +0000
>From jgg@ualberta.ca Thu May 11 23:46:41 2000
Received: from hawkmoth.tac.net (telusvelocity.net) [205.233.109.54] 
	by master.debian.org with smtp (Exim 3.12 #2 (Debian))
	id 12q7LV-00007A-00; Thu, 11 May 2000 23:46:41 -0500
Received: (qmail 2306 invoked from network); 12 May 2000 04:46:37 -0000
Received: from unknown (HELO wakko.deltatee.com) (209.115.196.25)
  by hawkmoth.tac.net with SMTP; 12 May 2000 04:46:37 -0000
Received: from localhost (wakko.deltatee.com) [127.0.0.1] (jgg)
	by wakko.deltatee.com with smtp (Exim 2.11 #1)
	id 12q7Le-00017O-00 (Debian); Thu, 11 May 2000 22:46:50 -0600
Date: Thu, 11 May 2000 22:46:50 -0600 (MDT)
From: Jason Gunthorpe <jgg@ualberta.ca>
X-Sender: jgg@wakko.deltatee.com
To: 61259-done@bugs.debian.org
Subject: Not A Bug
Message-ID: <Pine.LNX.3.96.1000511224628.2494J-100000@wakko.deltatee.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Delivered-To: 61259-done@bugs.debian.org


This is not really an APT bug.

Jason



Reply to: