summaryrefslogtreecommitdiffstats
path: root/packages.py
diff options
context:
space:
mode:
Diffstat (limited to 'packages.py')
-rw-r--r--packages.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/packages.py b/packages.py
index c32713025..8c3dfce78 100644
--- a/packages.py
+++ b/packages.py
@@ -680,7 +680,7 @@ def doInstall(method, id, intf, instPath):
ts = rpm.TransactionSet(instPath)
ts.setVSFlags(~(rpm.RPMVSF_NORSA|rpm.RPMVSF_NODSA))
- ts.setFlags(rpm.RPMTRANS_FLAG_CHAINSAW)
+ ts.setFlags(rpm.RPMTRANS_FLAG_ANACONDA)
total = 0
totalSize = 0
@@ -720,7 +720,7 @@ def doInstall(method, id, intf, instPath):
del ts
ts = rpm.TransactionSet(instPath)
ts.setVSFlags(~(rpm.RPMVSF_NORSA|rpm.RPMVSF_NODSA))
- ts.setFlags(rpm.RPMTRANS_FLAG_CHAINSAW)
+ ts.setFlags(rpm.RPMTRANS_FLAG_ANACONDA)
i = 0
for p in l:
@@ -818,6 +818,7 @@ def doInstall(method, id, intf, instPath):
nodeprob = rpm.RPMPROB_DISKNODES
for (descr, (type, mount, need)) in problems:
+ log("(%s, (%s, %s, %s))" %(descr, type, mount, need))
if mount and mount.startswith(instPath):
mount = mount[len(instPath):]
if not mount:
@@ -850,6 +851,7 @@ def doInstall(method, id, intf, instPath):
_("Space Needed"))
for (mount, need) in spaceneeded.items ():
+ log("(%s, %s)" %(mount, need))
if need > (1024*1024):
need = (need + 1024 * 1024 - 1) / (1024 * 1024)
suffix = "M"