[PATCH] Remove problem packages before attempting a re-download (#501887).

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 yuminstall.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/yuminstall.py b/yuminstall.py
index 82ba256..7063595 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -675,6 +675,9 @@ class AnacondaYum(YumSorter):
         if rc == 0:
             sys.exit(0)
         else:
+            if os.path.exists(package.localPkg()):
+                os.unlink(package.localPkg())
+
             if not self.isodir and self.currentMedia:
                 self._switchCD(self.currentMedia)
             else:
-- 
1.6.1.3

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux