Bonjour à tous,
Afin d'affiner la post-configuration de paquet proposé sur le dépôt des fourmis, j'ai mis en place un paquet associé à celui d'origine. L'objectif étant de ne pas devoir modifier chaque mise à jour du paquet d'origine.
J'ai donc créé un paquet de configuration ayant comme dépendance un paquet fourni en ligne :
- hugo-config-firefox |--hugo-firefox
Lors d'une mise à jour du paquet hugo-firefox, j'en profite pour incrémenter d'une version le paquet hugo-config-firefox afin de faire une nouvelle post-configuration.
Problème : Selon les postes les paquets se mettent à jour dans un ordre aléatoire. Parfois la post-configuration à lieu avant l'installation de la mise à jour du logiciel, ce qui la rend inefficiente à moins d'attendre que la mise à jour du logiciel soit faite sur l'ensemble du parc avant d'incrémenter d'une version le paquet hugo-config-firefox
Est-il possible de fixer des priorités d'installation sur certains paquet ?
Effectivement, dans le cas de la mise à jour de paquets, il n'y a pas de précédence déterminée. c'est un problème. Dans le cas de l'installation initiale, l'arbre des dépendance est parcouru en installant les dépendances avant les méta paquets. Dans le cas des mises à jour, la création de la liste est faite à plat.
Le 27/03/2018 à 08:52, Latieule Joel a écrit :
Bonjour à tous,
Afin d'affiner la post-configuration de paquet proposé sur le dépôt des fourmis, j'ai mis en place un paquet associé à celui d'origine. L'objectif étant de ne pas devoir modifier chaque mise à jour du paquet d'origine.
J'ai donc créé un paquet de configuration ayant comme dépendance un paquet fourni en ligne :
- hugo-config-firefox
|--hugo-firefox
Lors d'une mise à jour du paquet hugo-firefox, j'en profite pour incrémenter d'une version le paquet hugo-config-firefox afin de faire une nouvelle post-configuration.
Problème : Selon les postes les paquets se mettent à jour dans un ordre aléatoire. Parfois la post-configuration à lieu avant l'installation de la mise à jour du logiciel, ce qui la rend inefficiente à moins d'attendre que la mise à jour du logiciel soit faite sur l'ensemble du parc avant d'incrémenter d'une version le paquet hugo-config-firefox
Est-il possible de fixer des priorités d'installation sur certains paquet ?
Merci Hubert pour ces informations,
Est-il envisageable d'intégrer ce type de demande pour les prochaines évolutions ?
Quand tu indique "la liste est faite à plat", est bien dans l'ordre alphabétique des paquets ? C'est globalement ce que j'ai constaté. Si c'est bien le cas, une solution de contournement serait de donner un nom commençant par la lettre Z aux paquets devant s'installer en dernier ?
Joël LATIEULE - 06.38.02.33.27 / TICE
Collège Victor Hugo - 0110021n 5 boulevard Marcel Sembat, 11100 Narbonne 04.68.90.24.00
Le 27/03/2018 à 09:04, Hubert TOUVET a écrit :
Effectivement, dans le cas de la mise à jour de paquets, il n'y a pas de précédence déterminée. c'est un problème. Dans le cas de l'installation initiale, l'arbre des dépendance est parcouru en installant les dépendances avant les méta paquets. Dans le cas des mises à jour, la création de la liste est faite à plat.
Le 27/03/2018 à 08:52, Latieule Joel a écrit :
Bonjour à tous,
Afin d'affiner la post-configuration de paquet proposé sur le dépôt des fourmis, j'ai mis en place un paquet associé à celui d'origine. L'objectif étant de ne pas devoir modifier chaque mise à jour du paquet d'origine.
J'ai donc créé un paquet de configuration ayant comme dépendance un paquet fourni en ligne :
- hugo-config-firefox
|--hugo-firefox
Lors d'une mise à jour du paquet hugo-firefox, j'en profite pour incrémenter d'une version le paquet hugo-config-firefox afin de faire une nouvelle post-configuration.
Problème : Selon les postes les paquets se mettent à jour dans un ordre aléatoire. Parfois la post-configuration à lieu avant l'installation de la mise à jour du logiciel, ce qui la rend inefficiente à moins d'attendre que la mise à jour du logiciel soit faite sur l'ensemble du parc avant d'incrémenter d'une version le paquet hugo-config-firefox
Est-il possible de fixer des priorités d'installation sur certains paquet ?
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
Bonjour Joël,
Afin d'affiner la post-configuration de paquet proposé sur le dépôt des fourmis, j'ai mis en place un paquet associé à celui d'origine. L'objectif étant de ne pas devoir modifier chaque mise à jour du paquet d'origine.
J'ai donc créé un paquet de configuration ayant comme dépendance un paquet fourni en ligne :
- hugo-config-firefox
|--hugo-firefox
Lors d'une mise à jour du paquet hugo-firefox, j'en profite pour incrémenter d'une version le paquet hugo-config-firefox afin de faire une nouvelle post-configuration.
Problème : Selon les postes les paquets se mettent à jour dans un ordre aléatoire. Parfois la post-configuration à lieu avant l'installation de la mise à jour du logiciel, ce qui la rend inefficiente à moins d'attendre que la mise à jour du logiciel soit faite sur l'ensemble du parc avant d'incrémenter d'une version le paquet hugo-config-firefox
Est-il possible de fixer des priorités d'installation sur certains paquet ?
en effet, après analyse, il y a un soucis lors de l'upgrade. Lors de l'installation, les paquets en dépendances sont toujours installés avant le paquet dépendant, par contre dans la cas de la mise à jour, l'algorithme de calcul des mises à jour résout les mises à jour à faire et les installent dans l'ordre où elles ont été résolu vu que la dépendance est d'une certaine manière déjà résolue, donc l'algo ne prend pas en compte l'ordre qui découle de la contrainte de dépendance à ce moment là.
Simon me dit qu'il a déjà aussi remarqué ce soucis. J'ai créé un cas roundup [1] et on rajoute ça dans la pile des choses à faire avec Hubert. Le correctif ne sera pas inclus dans la prochaine version de maintenance 1.5.1.22 mais on espère quand même le dépiler rapidement.
Cordialement,
Denis
[1] https://roundup.tranquil.it/wapt/issue940