Project

General

Profile

Tâche #29225

Scénario #29069: Traitement express MEN (42-44)

Le scribe postrm du paquet eole-common-pkg signale une erreur

Added by Joël Cuissinat 11 months ago. Updated 11 months ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
10/30/2019
Due date:
% Done:

100%

Remaining (hours):
0.0

Description

Préparation du dépaquetage de .../eole-common-pkg_2.7.1-51_all.deb ...
Dépaquetage de eole-common-pkg (2.7.1-51) sur (2.7.1-50) ...
dpkg: avertissement: old eole-common-pkg package post-removal script subprocess returned error exit status 1
dpkg: tentative d'exécution du script du nouveau paquet à la place...
dpkg: ... on dirait que tout a fonctionné correctement.

Notamment visible dans http://jenkins.eole.lan/jenkins/job/2.7.1/job/test-upgradeauto-eolebase-262-2.7.1-amd64/20/consoleFull

root@eolebase:/var/lib/dpkg/info# bash -x  eole-common-pkg.postrm upgrade
+ set -e
+ SSL_CERT_DIR=/etc/ssl/certs
+ CA_CERT_DIR=/usr/local/share/ca-certificates
+ CERT_LINK_DIR=/usr/local/share/ca-certificates/menesr
+ CHAIN_LINK=ACInfraEducation.crt
+ INFRA_LINK=infrastructures.crt
+ ENS_LINK=enseignement_scolaire.crt
+ EN_LINK=education_nationale.crt
+ CERT_LINKS='/usr/local/share/ca-certificates/menesr/infrastructures.crt /usr/local/share/ca-certificates/menesr/enseignement_scolaire.crt /usr/local/share/ca-certificates/menesr/education_nationale.crt /usr/local/share/ca-certificates/menesr/ACInfraEducation.crt'
+ case "$1" in
+ for CERT_LINK in $CERT_LINKS
+ unlink_ca_cert /usr/local/share/ca-certificates/menesr/infrastructures.crt
+ '[' -L /usr/local/share/ca-certificates/menesr/infrastructures.crt ']'
root@eolebase:/var/lib/dpkg/info# echo $?
1

La correction devrait visiblement être rétro-portée jusqu'en 2.6.2.

Associated revisions

Revision 9509171a (diff)
Added by Joël Cuissinat 11 months ago

Fix error in postrm script when a link is not present

Ref: #29225 [2.7.1]

Revision b2e3cf32 (diff)
Added by Joël Cuissinat 11 months ago

Fix error in postrm script when a link is not present

Ref: #29225 [2.7.0]

Cherry-picked from eole-common:9509171a

Revision 1910a03f (diff)
Added by Joël Cuissinat 11 months ago

Fix error in postrm script when a link is not present

Ref: #29225 [2.6.2]

Cherry-picked from eole-common:9509171a

Revision 0e1877ec (diff)
Added by Joël Cuissinat 11 months ago

Fix error in postrm script when a link is not present

Ref: #29225 [master]

Cherry-picked from eole-common:9509171a

History

#1 Updated by Joël Cuissinat 11 months ago

  • Description updated (diff)

#2 Updated by Joël Cuissinat 11 months ago

  • Status changed from En cours to Résolu
  • % Done changed from 0 to 100

NB : paquet refait uniquement en 2.7.1, autant attendre l'occasion pour les autres versions.

#3 Updated by Joël Cuissinat 11 months ago

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

Also available in: Atom PDF