Changeset 5114
- Timestamp:
- Jun 7, 2017, 1:22:11 PM (4 years ago)
- Location:
- lliurex-up/trunk/fuentes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
lliurex-up/trunk/fuentes/debian/changelog
r4797 r5114 1 lliurex-up (16.04.23) xenial; urgency=medium 2 3 * Fix mode --sai of lliurex-upgrade to enable update server without net connection 4 5 -- Juan Ramon Pelegrina <juapesai@hotmail.com> Wed, 07 Jun 2017 13:09:33 +0200 6 1 7 lliurex-up (16.04.22) xenial; urgency=medium 2 8 -
lliurex-up/trunk/fuentes/lliurex-up-cli/usr/sbin/lliurex-upgrade
r4797 r5114 45 45 46 46 47 def checkInitialFlavour(self,extra_args ):47 def checkInitialFlavour(self,extra_args=None): 48 48 49 49 self.allRepos=False … … 75 75 76 76 if "lliurex-meta-server" == self.targetMetapackage or "server" in self.lliurexcore.previousFlavours: 77 self.cleanEnvironment() 78 ''' 79 self.lliurexcore.cleanEnvironment() 80 self.lliurexcore.cleanLliurexUpLock() 81 ''' 82 return False 83 else: 84 return True 77 if self.initActionsArg !="initActionsSai": 78 ''' 79 self.cleanEnvironment() 80 81 self.lliurexcore.cleanEnvironment() 82 self.lliurexcore.cleanLliurexUpLock() 83 ''' 84 return False 85 86 print(" [Lliurex-up]: Unable to connect to lliurex.net") 87 return True 85 88 86 89 #def canConnectToLliurexNet … … 95 98 else: 96 99 if is_mirror_running_inserver['ismirrorrunning']: 97 log_msg="Mirror is being u dpated in server. Unable to update the system"100 log_msg="Mirror is being updated in server. Unable to update the system" 98 101 self.log(log_msg) 99 102 … … 103 106 #def clientCheckingMirrorIsRunning 104 107 105 def initActionsScript(self,extra_args ):108 def initActionsScript(self,extra_args=None): 106 109 107 110 print(" [Lliurex-up]: Checking system") … … 555 558 if clientCheckingMirror!=False: 556 559 if clientCheckingMirror: 557 print(" [Lliurex-up]: Mirror is being u dpated in server. Unable to update the system")560 print(" [Lliurex-up]: Mirror is being updated in server. Unable to update the system") 558 561 else: 559 562 print(" [Lliurex-up]: Unable to connect with server") … … 655 658 with indent(4): 656 659 puts("-h --help: Show help") 657 puts("-s --sai: Update the system without pinning ")660 puts("-s --sai: Update the system without pinning and enable try to update without conection to lliurex.net") 658 661 puts("-u --unattended: Update the system in unattended mode. Does not require confirmation to update mirror and system") 659 662 puts("-n --no-mirror: Update the system without checking mirror")
Note: See TracChangeset
for help on using the changeset viewer.