projects
/
tools
/
mic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70353c9
)
remove rpmdb files before install packages
author
Gui Chen
<gui.chen@intel.com>
Tue, 11 Dec 2012 07:50:32 +0000
(15:50 +0800)
committer
Gui Chen
<gui.chen@intel.com>
Wed, 12 Dec 2012 11:33:45 +0000
(19:33 +0800)
this rpmdb files will avoid the installing
Signed-off-by: Gui Chen <gui.chen@intel.com>
plugins/backend/zypppkgmgr.py
patch
|
blob
|
history
diff --git
a/plugins/backend/zypppkgmgr.py
b/plugins/backend/zypppkgmgr.py
index
7e76089
..
9c6126a
100755
(executable)
--- a/
plugins/backend/zypppkgmgr.py
+++ b/
plugins/backend/zypppkgmgr.py
@@
-678,6
+678,8
@@
class Zypp(BackendPlugin):
if not self.ts:
self.__initialize_transaction()
+ # clean rpm lock
+ self._cleanupRpmdbLocks(self.instroot)
# Set filters
probfilter = 0
for flag in self.probFilterFlags: