Project

General

Profile

Tâche #22545

Scénario #22820: Upgrade-Auto vers 2.6 : modifier la génération du sources.list pour Envole et la gestion des architectures

L'Upgrade devrait utiliser les dépôts Envole6 si la cible est 2.6.1 ou 2.6.2

Added by Joël Cuissinat over 5 years ago. Updated about 5 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
12/20/2017
Due date:
% Done:

100%

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

Description

En "pre_download", on voit que ce sont les dépôts envole-5 qui sont utilisés.

run-parts: executing /tmp/Upgrade-Auto/pre_download/90-fill-apt-cache
Réception de : 1 http://test-eole.ac-dijon.fr xenial InRelease [247 kB]
Réception de : 2 http://test-eole.ac-dijon.fr xenial-security InRelease [102 kB]
Réception de : 3 http://test-eole.ac-dijon.fr xenial-updates InRelease [102 kB]
Réception de : 4 http://test-eole.ac-dijon.fr eole-2.6.2 InRelease [6 760 B]
Réception de : 5 http://test-eole.ac-dijon.fr eole-2.6.2-security InRelease [5 851 B]
Réception de : 6 http://test-eole.ac-dijon.fr eole-2.6.2-updates InRelease [5 850 B]
Atteint http://test-eole.ac-dijon.fr envole-5 InRelease
Atteint http://test-eole.ac-dijon.fr trusty-proposed InRelease

La fonction pyeole.pkg._configure_sources_mirror permet de surcharger la "release" (EOLE) mais pas celle d'Envole, un petit développement serait nécessaire...

Associated revisions

Revision 88b7d805 (diff)
Added by Daniel Dehennin about 5 years ago

Upgrade-Auto: we need a specialized sources.list

Upgrading to 2.6.2 requires to force the AMD64 architecture.

We define the target Envole release to avoid the need to execute
Maj-Auto after Upgrade-Auto.

  • upgrade/Upgrade-Auto: define Envole release based on EOLE one.
    (main): pass Ubuntu, EOLE and Envole releases to run-parts scripts.
    Display some more informations to follow the upgrade of containers.
    Do not configure the sources.list with “pyeole.pkg”.
    (upgrade_container_source): copy the “sources.list” from the master
    to each containers.
  • upgrade/pre_download/01-configure-sources-list: generate a
    sources.list with “arch=amd64” and Envole repository.

Ref: #22545
Ref: #22500

Revision ec58d7f0 (diff)
Added by Daniel Dehennin about 5 years ago

Upgrade-Auto: translate new messages

Ref: #22545
Ref: #22500

Revision 09eab87e (diff)
Added by Daniel Dehennin about 5 years ago

Upgrade-Auto: do not confuse user with “apt-get update” warnings

Just before the “apt-cacher” cache is populated, “apt-get update”
display warnings and the script looks like it hangs.

  • upgrade/pre_download/90-fill-apt-cache (populate_apt_cacher_cache):
    display a message before filling the cache and after.
  • upgrade/pre_download/90-fill-apt-cache (populate_apt_cache): ditoo.

Ref: #22545
Ref: #22500

History

#1 Updated by Joël Cuissinat over 5 years ago

  • Parent task changed from #22222 to #22577

#2 Updated by Joël Cuissinat about 5 years ago

  • Estimated time changed from 4.00 h to 8.00 h
  • Parent task changed from #22577 to #22820
  • Remaining (hours) changed from 4.0 to 8.0

#3 Updated by Scrum Master about 5 years ago

  • Status changed from Nouveau to En cours

#4 Updated by Joël Cuissinat about 5 years ago

  • Assigned To set to Joël Cuissinat

#5 Updated by Daniel Dehennin about 5 years ago

  • Remaining (hours) changed from 8.0 to 0.25

#6 Updated by Daniel Dehennin about 5 years ago

  • % Done changed from 0 to 100

#7 Updated by Scrum Master about 5 years ago

  • Status changed from En cours to Résolu

#8 Updated by Scrum Master about 5 years ago

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

Also available in: Atom PDF