- if tarfile module is not available, unse old tar.bz2 uncompress function
- do not use os.system() to spawn fixpackages but use portage library directly


git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@1924 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
lxnay
2008-05-06 18:08:05 +00:00
parent ce538451f3
commit bbafc20b24
3 changed files with 55 additions and 6 deletions
+6 -3
View File
@@ -486,10 +486,13 @@ class etpDatabase:
header = darkred(" * ")
)
if self.clientDatabase:
myroot = etpConst['systemroot']+"/"
os.system("fixpackages &> /dev/null")
try:
Spm = self.ServiceInterface.Spm()
Spm.run_fixpackages()
except:
pass
else:
os.system("fixpackages")
self.ServiceInterface.SpmService.run_fixpackages()
quickpkg_atoms = set()
for action in actions: