Red Hat Bugzilla – Bug 71250
Aborted installs leave directories in /var/lib
Last modified: 2007-04-18 12:45:25 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.0 (X11; Linux i686; U;) Gecko/20020408
Description of problem:
Aborting an installation leaves anaconda-* directories in /var/lib that take up
space and cause future installations to fail for lack of disk space.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Start upgrade
2. Go to step that autoselects packages and begins to install them
3. Abort installation
Actual Results: /var/lib/anaconda-* will be left behind in the currently
mounted /mnt/sysimage/var/lib, and future installs do not clean up these
directories. After enough aborted installs, /var will be full on the machine
being upgraded, and future installs will fail for lack of disk space, or will
fail mid-install complaining about installation media errors.
Expected Results: Anaconda should look for and delete directories left behind
by previously aborted installs
We've changed our upgrade algorithm so that in most cases, this won't be a
problem. Making further changes has the possibility of negatively blowing away
an rpmdb backup that was intentionally made.