Tâche #28793
Upgrade-Auto ne fonctionne pas derrière l'Amon
Début:
31/07/2019
Echéance:
% réalisé:
100%
Restant à faire (heures):
0.0
Demandes liées
Révisions associées
Do not check repositories urls without proxy configuration.
Ref #28793
Wrong variable scope
Ref #28793
Historique
#1 Mis à jour par Emmanuel GARETTE il y a plus de 6 ans
Si je fais un Upgrade-Auto sur un ScribeAD 2.6.2 derrière l'Amon j'ai l'erreur suivante :
--------------------------------------------------------------------------------
Migration du serveur
--------------------------------------------------------------------------------
Prendre :1 Upgrade tool signature [819 B]
Prendre :2 Upgrade tool [1 240 kB]
1 241 k o réceptionnés en 0s (0 o/s)
authenticate 'bionic.tar.gz' against 'bionic.tar.gz.gpg'
extracting 'bionic.tar.gz'
none
Une erreur est survenue : Impossible d'évaluer la mise à niveau An unresolvable problem occurred while calculating the upgrade.
This was likely caused by:
* Unofficial software packages not provided by Ubuntu
Please use the tool 'ppa-purge' from the ppa-purge
package to remove software from a Launchpad PPA and
try the upgrade again.
Si rien de tout cela ne s'applique, veuillez signaler ce bogue en utilisant la commande « ubuntu-bug ubuntu-release-upgrader-core » dans un terminal.If you want to investigate this yourself the log files in '/var/log/dist-upgrade' will contain details about the upgrade. Specifically, look at 'main.log' and 'apt.log'. (None)
Une erreur fatale est survenue. Vous trouverez plus d'informations dans les journaux : /var/log/dist-upgrade/
Si je fais sur l'Amon :
ouvre.firewall iptables -t nat -A POSTROUTING -s 10.1.1.0/24 -o ens4 -j SNAT --to-source 192.168.0.31 iptables -t nat -A POSTROUTING -s 10.1.2.0/24 -o ens4 -j SNAT --to-source 192.168.0.31 iptables -t nat -A POSTROUTING -s 10.1.3.5/32 -o ens4 -j SNAT --to-source 192.168.0.31
Je n'ai plus d'erreur :
--------------------------------------------------------------------------------
Migration du serveur
--------------------------------------------------------------------------------
Prendre :1 Upgrade tool signature [819 B]
Prendre :2 Upgrade tool [1 240 kB]
1 241 k o réceptionnés en 0s (0 o/s)
authenticate 'bionic.tar.gz' against 'bionic.tar.gz.gpg'
extracting 'bionic.tar.gz'
MarkInstall libc6 [ amd64 ] < 2.23-0ubuntu11 -> 2.27-3ubuntu1 > ( libs ) FU=1
MarkInstall locales [ amd64 ] < 2.23-0ubuntu11 -> 2.27-3ubuntu1 > ( libs ) FU=0
Installing libc-bin as Dépend of locales
MarkInstall libc-bin [ amd64 ] < 2.23-0ubuntu11 -> 2.27-3ubuntu1 > ( libs ) FU=0
MarkInstall nscd [ amd64 ] < 2.23-0ubuntu11 -> 2.27-3ubuntu1 > ( universe/admin ) FU=0
Prconfiguration des paquets...
Prconfiguration des paquets...
Prconfiguration des paquets...
Prconfiguration des paquets...
(Lecture de la base de donnes... 167156 fichiers et rpertoires dj installs.)
Prparation du dpaquetage de .../nscd_2.27-3ubuntu1_amd64.deb ...
Dpaquetage de nscd (2.27-3ubuntu1) sur (2.23-0ubuntu11) ...
Prparation du dpaquetage de .../locales_2.27-3ubuntu1_all.deb ...
Dpaquetage de locales (2.27-3ubuntu1) sur (2.23-0ubuntu11) ...
Prparation du dpaquetage de .../libc6_2.27-3ubuntu1_amd64.deb ...
Checking for services that may need to be restarted...
Checking init scripts...
Nothing to restart.
Dpaquetage de libc6:amd64 (2.27-3ubuntu1) sur (2.23-0ubuntu11) ...
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (fr_FR.UTF-8)
Setting up libc6:amd64 (2.27-3ubuntu1) ...
Installing new version of config file /etc/ld.so.conf.d/x86_64-linux-gnu.conf ...
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (fr_FR.UTF-8)
Checking for services that may need to be restarted...
Checking init scripts...
Nothing to restart.
[..]
#2 Mis à jour par Benjamin Bohard il y a plus de 6 ans
En passant outre la vérification de l’accès aux dépôts déclarés dans les sourcelist, l’upgrade semble se poursuivre sans problème. En cause, un urlopen qui n’utilise pas le proxy ?
#3 Mis à jour par Benjamin Bohard il y a plus de 6 ans
- Statut changé de Nouveau à Résolu
- Début mis à 31/07/2019
#4 Mis à jour par Joël Cuissinat il y a plus de 6 ans
- Statut changé de Résolu à Fermé
- Assigné à mis à Benjamin Bohard
- % réalisé changé de 0 à 100
- Restant à faire (heures) mis à 0.0
Testé OK