On 7/13/06, Rahul <sundaram@xxxxxxxxxxxxxxxxx> wrote:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=189483 I have seen several complaints about the above issue but it seems Yum developers havent been able to reproduce it. My system that I had this issue on myself has been replaced with FC5 running a devel version of Yum where I havent been able to reproduce it.
I have had this happen to me several times. I don't see why the developers haven't been able to reproduce it, since it's clearly in the source code (__init__.py). Perhaps this problem does not exist in the devel version you are using. Code shown below is from yum-2.6.1-0.fc5. The bug reporter was using yum-2.6.0-1. def runTransaction(self, cb): """takes an rpm callback object, performs the transaction""" [...] if errors: raise Errors.YumBaseError, errors if not self.conf.keepcache: self.cleanHeaders() self.cleanPackages() [...] def cleanPackages(self): [...] for repo in self.repos.listEnabled(): repo.dirSetup() path = repo.pkgdir filelist = misc.getFileList(path, ext, filelist) for pkg in filelist: try: os.unlink(pkg) In other words, any successful transaction calls cleanPackages and cleanHeaders, which in turn unlink every file in the 'pkgdir's and 'hdrdir's respectively. I'll put this in a comment on the bug report. n0dalus. -- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list