Merci Daniel, j'ai fait la modif comme indiquée, on va un peu plus loin mais encore quelque chose qui bloque

1er écran (tout à l'air de bien se passer)...

lionel@lionel-W253EU-SSD:~$ sudo do-release-upgrade
Recherche d'une nouvelle version d'Ubuntu
Prendre :1 Signature de l'outil de mise à niveau [819 B]
Prendre :2 Outil de mise à niveau [1'246 kB]
1'247 k o réceptionnés en 0s (0  o/s)
authentification de « bionic.tar.gz » avec « bionic.tar.gz.gpg »
extraction de 'bionic.tar.gz'

puis 2eme écran:

Lecture du cache
Vérification du gestionnaire de paquets
Lecture des listes de paquets… Terminé
Construction de l'arbre des dépendances
Lecture des informations d'état… Terminé
Att http://ch.archive.ubuntu.com/ubuntu xenial InRelease
Prendre :1 http://ch.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB] Att http://ppa.launchpad.net/freecad-maintainers/freecad-daily/ubuntu xenial InRelease
Att http://ppa.launchpad.net/js-reynaud/kicad-4/ubuntu xenial InRelease
Prendre :2 http://ch.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Att http://ppa.launchpad.net/rednotebook/stable/ubuntu xenial InRelease
Att http://archive.canonical.com/ubuntu xenial InRelease
Prendre :3 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB] Prendre :4 http://ch.archive.ubuntu.com/ubuntu xenial-updates/universe Sources [245 kB] Prendre :5 http://ch.archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [318 kB] Prendre :6 http://ch.archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons [227 kB] Prendre :7 http://ch.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [727 kB] Prendre :8 http://ch.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [666 kB] Prendre :9 http://security.ubuntu.com/ubuntu xenial-security/universe Sources [100 kB] Prendre :10 http://ch.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 DEP-11 Metadata [252 kB] Prendre :11 http://ch.archive.ubuntu.com/ubuntu xenial-updates/universe DEP-11 64x64 Icons [350 kB] Prendre :12 http://security.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [67.9 kB] Prendre :13 http://security.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons [67.1 kB] Prendre :14 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [424 kB] Prendre :15 http://ch.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 DEP-11 Metadata [5'960 B] Prendre :16 http://ch.archive.ubuntu.com/ubuntu xenial-updates/multiverse DEP-11 64x64 Icons [14.3 kB] Prendre :17 http://ch.archive.ubuntu.com/ubuntu xenial-backports/main amd64 DEP-11 Metadata [3'324 B] Prendre :18 http://ch.archive.ubuntu.com/ubuntu xenial-backports/universe amd64 DEP-11 Metadata [5'100 B] Prendre :19 http://security.ubuntu.com/ubuntu xenial-security/universe i386 Packages [369 kB] Prendre :20 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 DEP-11 Metadata [116 kB] Prendre :21 http://security.ubuntu.com/ubuntu xenial-security/universe DEP-11 64x64 Icons [173 kB] Prendre :22 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 DEP-11 Metadata [2'464 B]
4'459 k o réceptionnés en 0s (0  o/s)
Lecture des listes de paquets… Terminé
Construction de l'arbre des dépendances
Lecture des informations d'état… Terminé

Restauration du système dans son état d'origine

Annulation
Lecture des listes de paquets… Terminé
Construction de l'arbre des dépendances
Lecture des informations d'état… Terminé
=== Command detached from window (Thu Feb 14 15:42:13 2019) ===
=== Command terminated with exit status 1 (Thu Feb 14 15:42:23 2019) ===

Si je relance l'upgrade, il y a moins de paquets, mais toujours une sortie après restauration...

Lecture du cache

Vérification du gestionnaire de paquets
Lecture des listes de paquets… Terminé
Construction de l'arbre des dépendances
Lecture des informations d'état… Terminé
Att http://ch.archive.ubuntu.com/ubuntu xenial InRelease
Att http://ppa.launchpad.net/freecad-maintainers/freecad-daily/ubuntu xenial InRelease
Att http://ch.archive.ubuntu.com/ubuntu xenial-updates InRelease
Att http://ch.archive.ubuntu.com/ubuntu xenial-backports InRelease
Att http://ppa.launchpad.net/js-reynaud/kicad-4/ubuntu xenial InRelease
Att http://ppa.launchpad.net/rednotebook/stable/ubuntu xenial InRelease
Att http://archive.canonical.com/ubuntu xenial InRelease
Att http://security.ubuntu.com/ubuntu xenial-security InRelease
0  o réceptionnés en 0s (0  o/s)
Lecture des listes de paquets… Terminé
Construction de l'arbre des dépendances
Lecture des informations d'état… Terminé

Restauration du système dans son état d'origine

Annulation
Lecture des listes de paquets… Terminé
Construction de l'arbre des dépendances
Lecture des informations d'état… Terminé
=== Command detached from window (Thu Feb 14 15:46:14 2019) ===
=== Command terminated with exit status 1 (Thu Feb 14 15:46:24 2019) ===

Note bien que le message "Annulation" est généré tout seul, je ne touche ni au clavier ni à la souris...

Merci encore, donc pour résumé modif faite comme décris, ça ne suffit pas (au passage J'ai du modifier également de la même façon: /home/lionel/.local/lib/python3.5/site-packages/pkg_resources/__init__.py)


Le 14.02.19 à 11:56, Daniel Cordey a écrit :


On 14.02.19 11:45, Lionel.g wrote:
Effectivement, à l'édition du main.log de ce répertoire j'ai récupé ceci:

Je ne sais si quelqu'un peut m'aider à y voir un peu plus clair, il y a effectivement un problème...
...

  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2066, in _rebuild_mod_path
    orig_path.sort(key=position_in_sys_path)

AttributeError: '_NamespacePath' object has no attribute 'sort'

Extraordinaire... il y a bien un problème dans le code de l'initialiseur du package 'pkg_resources'. Je dirais même qu'il y a un bug ! 'orig_path' est un objet de type '_NamespacePath', mais n'a pas d'attribut 'sort'. On pourrait s'attendre à ce que 'orig_path' soit de type 'None', mais là c'est pire. On dirait un problème d'incompatibiliter de version...

Essaie :

pip3 install --upgrade setuptools


Sinon il semble que ce soit ce problème :

https://github.com/pypa/setuptools/issues/885#issuecomment-307696027

Tu peux donc éditer le fichier __init__.py et faire les modifications comme indiquées à la ligne 2066

dc




_______________________________________________
gull mailing list
[email protected]
https://forum.linux-gull.ch/mailman/listinfo/gull
_______________________________________________
gull mailing list
[email protected]
https://forum.linux-gull.ch/mailman/listinfo/gull

Répondre à