Description of problem: yum don't removes temporary files if transaction canceled Version-Release number of selected component (if applicable): yum-3.2.29-4.fc15 How reproducible: Every time. Steps to Reproduce: 1. Run as root 'yum install mc' 2. 'Is this ok [y/N]' answer "N". Actual results: /tmp/yum_save_tx*yumtx file not deleted after yum terminated. Expected results: Temporary files should deleted after yum terminated. Additional info: If answer "Y" and transaction complete temporary files deleted.
that is a saved transaction file. It is intentionally left there following a transaction so that if you want to run the same thing again you won't have to depsolve it.
Why transaction saved as temporary file in /tmp instead of /var/lib/yum or /var/cache/yum? Why in Fedora 14 no such problems with temporary files?
1. b/c /tmp is find-able by the user 2. f14 doesn't have this feature. why is a tmp file a problem? it's a tmpfile.
I noticed problem when I saw many *.yumtx files in /tmp. Those files should be removed manually after every canceled transaction. Maybe this feature should be added to 'yum history' and then use storage where yum saves history instead of /tmp. Then will be no need to search this files.
Is there option to disable this feature? I didn't find such option in man yum.conf.
Just a thought about /tmp is find-able by the user: yum can print message about where transaction file saved.