Project

General

Profile

Tâche #14472

Scénario #14063: Upgrade-Auto/Maj-Release vers 2.5.1

Upgrade-Auto --download : traceback en fin de téléchargement

Added by Fabrice Barconnière over 7 years ago. Updated over 7 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
-
Start date:
12/18/2015
Due date:
% Done:

100%

Estimated time:
1.00 h
Spent time:
Remaining (hours):
0.0

Description

root@amon:/var/lib/eole# Upgrade-Auto --download --limit-rate 10M
Ce script va effectuer la migration vers une nouvelle version de la distribution
Les modifications ne sont pas réversibles
Choisir la version vers laquelle migrer
Choix disponibles :
[1] 2.5.1

Vers quelle version choisissez-vous de migrer (ou 'q' pour quitter) ?
[1] : 
Voulez-vous vraiment migrer vers la version 2.5.1 ? [oui/non]
[non] : o
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
                                                                                                                                         Téléchargement de l'image ISO pour 2.5.1                                                                                                                                          
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--2015-12-18 15:28:51--  http://eole.ac-dijon.fr/pub/iso/EOLE-2.5/2.5.1/eole-2.5.1-alternate-amd64.iso
Resolving eole.ac-dijon.fr (eole.ac-dijon.fr)... 194.167.18.18
Connecting to eole.ac-dijon.fr (eole.ac-dijon.fr)|194.167.18.18|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 826277888 (788M) [application/x-iso9660-image]
Saving to: `/var/lib/eole/iso/eole-2.5.1-alternate-amd64.iso'

100%[=================================================================================================================================================================================================================================================================================>] 826,277,888 9.40M/s   in 85s

...................
...................

2015-12-18 15:30:17 (73.7 MB/s) - `/var/lib/eole/iso/SHA256SUMS.gpg' saved [966/966]

Vérification de la signature du fichier SHA256SUMS
gpgv: Signature faite le mar. 10 nov. 2015 17:08:30 CET avec la clef RSA d'identifiant 4E78A3F5
gpgv: Bonne signature de « EOLE 2.4 Repository <repository@listeseole.ac-dijon.fr> »
Vérification de l'empreinte SHA256 de l'iso OK
Traceback (most recent call last):
  File "/usr/share/eole/sbin/Upgrade-Auto", line 474, in <module>
    download_iso(args)
  File "/usr/share/eole/sbin/Upgrade-Auto", line 411, in download_iso
    if err_msg:
UnboundLocalError: local variable 'err_msg' referenced before assignment

Associated revisions

Revision 5c403acd (diff)
Added by Fabrice Barconnière over 7 years ago

Upgrade-Auto : variable err_msg assignée avant son utilisation

ref #14472 @1h

History

#1 Updated by Fabrice Barconnière over 7 years ago

  • Tracker changed from Demande to Tâche
  • Status changed from Nouveau to Résolu
  • % Done changed from 0 to 100
  • Estimated time set to 1.00 h
  • Parent task set to #14063
  • Remaining (hours) set to 1.0

#2 Updated by Fabrice Barconnière over 7 years ago

  • Description updated (diff)

#3 Updated by Fabrice Barconnière over 7 years ago

  • Remaining (hours) changed from 1.0 to 0.1

#4 Updated by Gérald Schwartzmann over 7 years ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) changed from 0.1 to 0.0

Sur un module Horus aca 2.4.2 :

# Maj-Auto -D
# reconfigure
# Upgrade-Auto --download --limit-rate 10M
Ce script va effectuer la migration vers une nouvelle version de la distribution
Les modifications ne sont pas réversibles
Pour cette opération, vous devez impérativement être sur le dernier noyau disponible pour cette version !
root@horus:~# reboot
root@horus:~# Upgrade-Auto --download --limit-rate 10M
--2015-12-21 17:52:40--  http://eole.ac-dijon.fr/pub/iso/EOLE-2.5/2.5.1/eole-2.5.1-alternate-amd64.iso
Resolving eole.ac-dijon.fr (eole.ac-dijon.fr)... 194.167.18.18
Connecting to eole.ac-dijon.fr (eole.ac-dijon.fr)|194.167.18.18|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 826277888 (788M) [application/x-iso9660-image]
Saving to: `/var/lib/eole/iso/eole-2.5.1-alternate-amd64.iso'
2015-12-21 17:54:27 (7.43 MB/s) - `/var/lib/eole/iso/eole-2.5.1-alternate-amd64.iso' saved [826277888/826277888]
Vérification de la signature du fichier SHA256SUMS
gpgv: Signature faite le mar. 10 nov. 2015 17:08:30 CET avec la clef RSA d'identifiant 4E78A3F5
gpgv: Bonne signature de « EOLE 2.4 Repository <repository@listeseole.ac-dijon.fr> »
Vérification de l'empreinte SHA256 de l'iso OK
Arrêt : téléchargement demandé uniquement
root@horus:~#

Au passage c'est dommage le EOLE 2.4 Repository

Also available in: Atom PDF