Changeset 6208 for lliurex-remote-installer/trunk/fuentes
- Timestamp:
- Nov 9, 2017, 2:08:05 PM (3 years ago)
- Location:
- lliurex-remote-installer/trunk/fuentes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
lliurex-remote-installer/trunk/fuentes/debian/changelog
r6083 r6208 1 lliurex-remote-installer (0.4.2) xenial; urgency=high 2 3 * Fix new bug adding new apt packages because none is not defined 4 5 -- Daniel Duran Vecino <daduve@gmail.com> Thu, 09 Nov 2017 14:06:43 +0100 6 1 7 lliurex-remote-installer (0.4.1) xenial; urgency=high 2 8 -
lliurex-remote-installer/trunk/fuentes/lliurex-remote-installer-server.install/usr/share/n4d/python-plugins/LliureXRemoteInstaller.py
r6082 r6208 98 98 99 99 except Exception as e: 100 print ("[LLXRemoteInstaller] (test_var) %s" %(str(e))) 100 101 return [False,str(e)] 101 102 … … 115 116 116 117 except Exception as e: 118 print ("[LLXRemoteInstaller] (reset_var) %s" %(str(e))) 117 119 return [False,str(e)] 118 120 … … 132 134 return [True,version] 133 135 except Exception as e: 136 print ("[LLXRemoteInstaller] (mirror_version) %s" %(str(e))) 134 137 return [False,str(e)] 135 138 #def_mirror_version … … 148 151 return [True,version] 149 152 except Exception as e: 153 print ("[LLXRemoteInstaller] (net_mirror_version) %s" %(str(e))) 150 154 return [False,str(e)] 151 155 #def_mirror_version … … 181 185 return [True] 182 186 except Exception as e: 183 print e187 print ("[LLXRemoteInstaller] (write_log) %s" %(str(e))) 184 188 return [False,str(e)] 185 189 … … 213 217 214 218 except Exception as e: 219 print ("[LLXRemoteInstaller] (update_var_list) %s" %(str(e))) 215 220 return [False,str(e)] 216 221 … … 232 237 233 238 except Exception as e: 239 print ("[LLXRemoteInstaller] (update2version) %s" %(str(e))) 234 240 return [False,str(e)] 235 241 … … 243 249 exist=subprocess.Popen(["LANGUAGE=en_EN; apt-cache policy %s | grep -i candidate" %app],shell=True,stdout=subprocess.PIPE,stderr=subprocess.PIPE).communicate()[0] 244 250 print ("[LLXRemoteInstaller] (app_repo_exist) APP candidate in your repo is: %s"%exist) 245 if exist in [ None, "None",none,"none",""]:251 if exist in [None,"None","none",""]: 246 252 COMMENT="[LLXRemoteInstaller] (app_repo_exist) APP: %s doesn't exist in your repository, you can't add it to install list" %app 247 253 print ("%s" %COMMENT) … … 253 259 254 260 except Exception as e: 261 print ("[LLXRemoteInstaller] (app_repo_exist) %s" %(str(e))) 255 262 return [False,str(e)] 256 263 … … 274 281 275 282 except Exception as e: 283 print ("[LLXRemoteInstaller] (app_deb_exist) %s" %(str(e))) 276 284 return [False,str(e)] 277 285 … … 307 315 308 316 except Exception as e: 309 print e317 print ("[LLXRemoteInstaller] (repo_add) %s" %(str(e))) 310 318 return [False,str(e)] 311 319 … … 330 338 331 339 except Exception as e: 340 print ("[LLXRemoteInstaller] (remove_file) %s" %(str(e))) 332 341 return [False,str(e)] 333 342 … … 350 359 351 360 except Exception as e: 361 print ("[LLXRemoteInstaller] (repo_restore) %s" %(str(e))) 352 362 return [False,str(e)] 353 363 … … 366 376 367 377 except Exception as e: 378 print ("[LLXRemoteInstaller] (repo_update) %s" %(str(e))) 368 379 return [False,str(e)] 369 380 … … 453 464 454 465 except Exception as e: 466 print ("[LLXRemoteInstaller] (test_apt_list) %s" %(str(e))) 455 467 return [False,str(e)] 456 468 … … 481 493 return [True,dict,list_debs_ok,list_debs_fail] 482 494 except Exception as e: 495 print ("[LLXRemoteInstaller] (test_deb_list) %s" %(str(e))) 483 496 return [False,str(e)] 484 497 … … 513 526 return [True,dict,list_debs_ok,list_debs_fail] 514 527 except Exception as e: 528 print ("[LLXRemoteInstaller] (test_list) %s" %(str(e))) 515 529 return [False,str(e)] 516 530 … … 616 630 617 631 except Exception as e: 632 print ("[LLXRemoteInstaller] (dict_ok) %s" %(str(e))) 618 633 return [False,str(e)] 619 634
Note: See TracChangeset
for help on using the changeset viewer.