Skip to content

Commit 38bb64e

Browse files
committed
fixed: conflicts not cleared when they have been resolved
1 parent 04753b4 commit 38bb64e

File tree

6 files changed

+9
-10
lines changed

6 files changed

+9
-10
lines changed

PackageManager.py

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2125,8 +2125,10 @@ def UpdateVersionsAndFlags (self):
21252125
else:
21262126
self.Conflicts = []
21272127

2128-
# run setup script to check for errors that can't be checked here
21292128
if compatible:
2129+
self.SetIncompatible ( "" )
2130+
2131+
# run setup script to check for errors that can't be checked here
21302132
doChecks = False
21312133
packageCheckFile = "/data/" + packageName + "/packageCheckVersion"
21322134
# no checks have been done recently so do them now
@@ -2147,6 +2149,7 @@ def UpdateVersionsAndFlags (self):
21472149
# avoid starting a new check if there is something pending
21482150
if not self.InstallPending and not self.DownloadPending:
21492151
PushAction ( command='check' + ':' + packageName, source='AUTO' )
2152+
self.lastSetupCheckTime = time.time ()
21502153
compatible = False
21512154

21522155
self.SetInstallOk (compatible)
@@ -2828,22 +2831,16 @@ def InstallPackage ( self, packageName=None, source=None , action='install' ):
28282831

28292832
package = PackageClass.LocatePackage (packageName)
28302833
package.InstallPending = False
2831-
# either install or check will have checked for file set or patch errors
2832-
# so reset the time so next check can be delayed for a while
2833-
if action == 'install' or action == 'check':
2834-
package.lastSetupCheckTime = time.time ()
28352834

28362835
errorMessage = ""
28372836
if setupRunFail:
28382837
errorMessage = "could not run setup"
28392838
elif returnCode == EXIT_SUCCESS:
2840-
package.SetIncompatible ("") # this marks the package as compatible
28412839
DbusIf.UpdateStatus ( message="", where=sendStatusTo )
28422840
if source == 'GUI':
28432841
DbusIf.AcknowledgeGuiEditAction ( '' )
28442842
elif returnCode == EXIT_REBOOT:
28452843
package.ActionNeeded = REBOOT_NEEDED
2846-
package.SetIncompatible ("") # this marks the package as compatible
28472844
if source == 'GUI':
28482845
logging.warning ( packageName + " " + action + " REBOOT needed but handled by GUI")
28492846
DbusIf.UpdateStatus ( message="", where=sendStatusTo )
@@ -2854,7 +2851,6 @@ def InstallPackage ( self, packageName=None, source=None , action='install' ):
28542851
global SystemReboot
28552852
SystemReboot = True
28562853
elif returnCode == EXIT_RESTART_GUI:
2857-
package.SetIncompatible ("") # this marks the package as compatible
28582854
package.ActionNeeded = GUI_RESTART_NEEDED
28592855
if source == 'GUI':
28602856
logging.warning ( packageName + " " + action + " GUI restart needed but handled by GUI")

blindInstall/SetupHelperVersion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v7.10
1+
v7.11

changes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
v7.11:
2+
fixed: conflicts not cleared when they have been resolved
3+
14
v7.10:
25
fixed: services with dash in the name do not install/uninstall
36

venus-data-UninstallPackages.tgz

-1 Bytes
Binary file not shown.

venus-data.tgz

-2.22 KB
Binary file not shown.

version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v7.10
1+
v7.11

0 commit comments

Comments
 (0)