Bug 157011 - Downloaded RPMs are kept on the target system
Summary: Downloaded RPMs are kept on the target system
Status: RESOLVED FIXED
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Installation (show other bugs)
Version: Beta 7
Hardware: Other Other
: P5 - None : Blocker (vote)
Target Milestone: ---
Assignee: Jiri Srain
QA Contact: Klaus Kämpf
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-10 12:12 UTC by Reinhard Max
Modified: 2006-03-13 22:24 UTC (History)
1 user (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Reinhard Max 2006-03-10 12:12:37 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).
Comment 1 Christian Boltz 2006-03-10 23:22:14 UTC
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.
Comment 2 Reinhard Max 2006-03-13 11:57:33 UTC
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.
Comment 3 Michael Gross 2006-03-13 14:21:13 UTC
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 ***
Comment 4 Reinhard Max 2006-03-13 14:45:57 UTC
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.
Comment 5 Michael Gross 2006-03-13 14:56:10 UTC
OK then let's handle this one independently. Reassigning to Jiri.
Comment 6 Jiri Srain 2006-03-13 22:24:12 UTC
Fix is in STABLE.