Bugzilla – Bug 157011
Downloaded RPMs are kept on the target system
Last modified: 2006-03-13 22:24:12 UTC
While updating to beta7 (from FTP or HTTP) I got a warning that my hard disk is nearly full. It turned out that all downloaded RPMs were still stored somewhere under /mnt/var/tmp, and only deleted after all packages were installed. On installations with many packages this can temporarily take away several gigabytes and fill a root partition that would normally have been large enough for the installation or update. I think each RPM should be deleted as soon as it is installed. If that's not desired as the default behaviour the space taken by the RPM files should be taken into account when calculating the space needed for the installation, and if the partition is too small the user should be warned or asked when to delete the RPMs (immediately, at the end of installation, or not at all).
There's also an open feature request (bug 140129) to keep downloaded packages ;-) The perfect solution would be to have a checkbox [ ] keep downloaded packages after installation both for installation and in the installed system when installing additional packages.
Such a feature would indeed be nice, but as long as it is not there (and even when it is there and the user selects not to keep the packages) they should either get removed immediately when they are not needed anymore, or their size should get included in the disk space calculation, so that the user gets warned in advance that he might run out of disk space during the installation or update.
Yes that would be useful. I'll mark this report as duplicate of bug #140129 now because it deals with the same issue. This should be made an option with an apropriate warning. *** This bug has been marked as a duplicate of 140129 ***
Sorry, but this is not a duplicate of 140129, as it is a bug that can (and needs to) be fixed for 10.1, whereas 120129 might not be implemented any time soon.
OK then let's handle this one independently. Reassigning to Jiri.
Fix is in STABLE.