#1 Le 24/03/2023, à 10:21
- Cookiez
do-release-upgrade et update-manager cassés à cause de Python
Bonjour à tous,
Voilà depuis mon passage sur Ubuntu 22.04.02.lts, il m'est impossible de passer à Ubuntu 22.10, ou de faire fonctionner le gestionnaire de mise à jour (il freeze à la fin de Vérification des mises à jour).
L'erreur vient de Python. Les commandes update-manager et do-release-update (update ou upgrade, en sudo ou non) me donnent toutes le même résultat (ci-bas).
J-ai déjà essayé de réinstaller python3, python3-minimal, avec des --fix-broken et des force.
J'ai aussi procédé à des sudo apt upgrade -f, Mais rien n'y fait.
Est ce que quelqu'un aurait une idée ?
En vous remerciant !!!
Voici l'erreur rencontrée:
Recherche d'une nouvelle version d'Ubuntu
Exception in thread Thread-1 (download):
Traceback (most recent call last):
File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/usr/lib/python3.10/threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python3/dist-packages/UpdateManager/Core/MetaRelease.py", line 351, in download
uri = urlopen(req, timeout=20)
File "/usr/lib/python3.10/urllib/request.py", line 216, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.10/urllib/request.py", line 519, in open
response = self._open(req, data)
File "/usr/lib/python3.10/urllib/request.py", line 536, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/usr/lib/python3.10/urllib/request.py", line 496, in _call_chain
result = func(*args)
File "/usr/lib/python3.10/urllib/request.py", line 1391, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File "/usr/lib/python3.10/urllib/request.py", line 1317, in do_open
h = http_class(host, timeout=req.timeout, **http_conn_args)
File "/usr/lib/python3.10/http/client.py", line 1421, in __init__
context = ssl._create_default_https_context()
File "/usr/lib/python3.10/ssl.py", line 757, in create_default_context
context = SSLContext(PROTOCOL_TLS_CLIENT)
File "/usr/lib/python3.10/ssl.py", line 496, in __new__
self = _SSLContext.__new__(cls, protocol)
ssl.SSLError: unknown error (_ssl.c:3063)
Dernière modification par Cookiez (Le 24/03/2023, à 11:27)
Hors ligne
#2 Le 24/03/2023, à 12:14
- xubu1957
Re : do-release-upgrade et update-manager cassés à cause de Python
Bonjour,
Donne les retours de :
sudo apt update
et d'éventuels paquets cassés :
dpkg -l | grep -v ^ii
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
Hors ligne
#3 Le 24/03/2023, à 13:16
- Cookiez
Re : do-release-upgrade et update-manager cassés à cause de Python
Bonjour,
Merci pour votre retour.
Voici les retours demandés:
sudo apt update
[sudo] Mot de passe de alexis :
Atteint :1 https://dl.google.com/linux/chrome/deb stable InRelease
Atteint :2 http://archive.ubuntu.com/ubuntu jammy InRelease
Réception de :3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
Réception de :4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [107 kB]
Réception de :5 http://archive.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Ign :6 https://download.konghq.com/insomnia-ubuntu default InRelease
Atteint :7 https://download.konghq.com/insomnia-ubuntu default Release
Ign :8 https://download.konghq.com/insomnia-ubuntu default Release.gpg
336 ko réceptionnés en 2s (142 ko/s)
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait
Tous les paquets sont à jour.
dpkg -l | grep -v ^ii
Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder
| État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=attend-traitement-déclenchements
|/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais)
||/ Nom Version Architecture Description
+++-==========================================-=======================================-============-================================================================================
rc command-not-found 22.04.0 all Suggest installation of packages in interactive bash sessions
rc fuse 2.9.9-5ubuntu3 amd64 Filesystem in Userspace
ri gnome-shell 42.5-0ubuntu1 amd64 graphical shell for the GNOME desktop
rc linux-image-5.15.0-25-generic 5.15.0-25.25 amd64 Signed kernel image generic
rc linux-image-5.15.0-40-generic 5.15.0-40.43 amd64 Signed kernel image generic
rc linux-image-5.15.0-41-generic 5.15.0-41.44 amd64 Signed kernel image generic
rc linux-image-5.15.0-43-generic 5.15.0-43.46 amd64 Signed kernel image generic
rc linux-image-5.15.0-46-generic 5.15.0-46.49 amd64 Signed kernel image generic
rc linux-image-5.15.0-47-generic 5.15.0-47.51 amd64 Signed kernel image generic
rc linux-image-5.15.0-48-generic 5.15.0-48.54 amd64 Signed kernel image generic
rc linux-image-5.15.0-50-generic 5.15.0-50.56 amd64 Signed kernel image generic
rc linux-image-5.15.0-52-generic 5.15.0-52.58 amd64 Signed kernel image generic
rc linux-image-5.15.0-56-generic 5.15.0-56.62 amd64 Signed kernel image generic
rc linux-image-5.15.0-57-generic 5.15.0-57.63 amd64 Signed kernel image generic
rc linux-image-5.15.0-58-generic 5.15.0-58.64 amd64 Signed kernel image generic
rc linux-image-5.15.0-60-generic 5.15.0-60.66 amd64 Signed kernel image generic
rc linux-modules-5.15.0-25-generic 5.15.0-25.25 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-5.15.0-40-generic 5.15.0-40.43 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-5.15.0-41-generic 5.15.0-41.44 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-5.15.0-43-generic 5.15.0-43.46 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-5.15.0-46-generic 5.15.0-46.49 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-5.15.0-47-generic 5.15.0-47.51 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-5.15.0-48-generic 5.15.0-48.54 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-5.15.0-50-generic 5.15.0-50.56 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-5.15.0-52-generic 5.15.0-52.58 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-5.15.0-56-generic 5.15.0-56.62 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-5.15.0-57-generic 5.15.0-57.63 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-5.15.0-58-generic 5.15.0-58.64 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-5.15.0-60-generic 5.15.0-60.66 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-extra-5.15.0-25-generic 5.15.0-25.25 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-extra-5.15.0-40-generic 5.15.0-40.43 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-extra-5.15.0-41-generic 5.15.0-41.44 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-extra-5.15.0-43-generic 5.15.0-43.46 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-extra-5.15.0-46-generic 5.15.0-46.49 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-extra-5.15.0-47-generic 5.15.0-47.51 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-extra-5.15.0-48-generic 5.15.0-48.54 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-extra-5.15.0-50-generic 5.15.0-50.56 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-extra-5.15.0-52-generic 5.15.0-52.58 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-extra-5.15.0-56-generic 5.15.0-56.62 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-extra-5.15.0-57-generic 5.15.0-57.63 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-extra-5.15.0-58-generic 5.15.0-58.64 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
rc linux-modules-extra-5.15.0-60-generic 5.15.0-60.66 amd64 Linux kernel extra modules for version 5.15.0 on 64 bit x86 SMP
ri lsb-release 11.1.0ubuntu4 all Linux Standard Base version reporting utility
rc networkd-dispatcher 2.1-2ubuntu0.22.04.2 all Dispatcher service for systemd-networkd connection status changes
rc ntfs-3g 1:2021.8.22-3ubuntu1.1 amd64 read/write NTFS driver for FUSE
rc plymouth-theme-ubuntu-text 0.9.5+git20211018-1ubuntu3 amd64 boot animation, logger and I/O multiplexer - ubuntu text theme
rc policykit-1-gnome 0.105-7ubuntu3 amd64 authentication agent for PolicyKit
ri printer-driver-ptouch 1.6-2build1 amd64 printer driver Brother P-touch label printers
ri printer-driver-pxljr 1.4+repack0-6build1 amd64 printer driver for HP Color LaserJet 35xx/36xx
ri printer-driver-sag-gdi 0.1-8 all printer driver for Ricoh Aficio SP 1000s/SP 1100s
ri python3-apt 2.4.0ubuntu1 amd64 Python 3 interface to libapt-pkg
ri python3-bcrypt 3.2.0-1build1 amd64 password hashing library for Python 3
ri python3-blinker 1.4+dfsg1-0.4 all fast, simple object-to-object and broadcast signaling library
ri python3-brlapi:amd64 6.4-4ubuntu3 amd64 Braille display access via BRLTTY - Python3 bindings
ri python3-cairo:amd64 1.20.1-3build1 amd64 Python3 bindings for the Cairo vector graphics library
ri python3-certifi 2020.6.20-1 all root certificates for validating SSL certs and verifying TLS hosts (python3)
ri python3-cffi-backend:amd64 1.15.0-1build2 amd64 Foreign Function Interface for Python 3 calling C code - runtime
ri python3-chardet 4.0.0-1 all universal character encoding detector for Python3
ri python3-click 8.0.3-1 all Wrapper around optparse for command line utilities - Python 3.x
ri python3-colorama 0.4.4-1 all Cross-platform colored terminal text in Python - Python 3.x
ri python3-commandnotfound 22.04.0 all Python 3 bindings for command-not-found.
ri python3-configobj 5.0.6-5 all simple but powerful config file reader and writer for Python 3
ri python3-cryptography 3.4.8-1ubuntu2 amd64 Python library exposing cryptographic recipes and primitives (Python 3)
ri python3-cups:amd64 2.0.1-5build1 amd64 Python3 bindings for CUPS
ri python3-cupshelpers 1.5.16-0ubuntu3 all Python utility modules around the CUPS printing system
ri python3-dateutil 2.8.1-6 all powerful extensions to the standard Python 3 datetime module
ri python3-dbus 1.2.18-3build1 amd64 simple interprocess messaging system (Python 3 interface)
ri python3-debconf 1.5.79ubuntu1 all interact with debconf from Python 3
ri python3-debian 0.1.43ubuntu1 all Python 3 modules to work with Debian-related data formats
ri python3-defer 1.0.6-2.1ubuntu1 all Small framework for asynchronous programming (Python 3)
ri python3-dev 3.10.6-1~22.04 amd64 header files and a static library for Python (default)
ri python3-distro 1.7.0-1 all Linux OS platform information API
ri python3-distro-info 1.1build1 all information about distributions' releases (Python 3 module)
ri python3-distupgrade 1:22.04.16 all manage release upgrades
ri python3-distutils 3.10.6-1~22.04 all distutils package for Python 3.x
ri python3-fasteners 0.14.1-2 all provides useful locks - Python 3.x
ri python3-future 0.18.2-5ubuntu0.1 all Clean single-source support for Python 3 and 2 - Python 3.x
ri python3-gdbm:amd64 3.10.6-1~22.04 amd64 GNU dbm database support for Python 3.x
ri python3-gi 3.42.1-0ubuntu1 amd64 Python 3 bindings for gobject-introspection libraries
ri python3-gi-cairo 3.42.1-0ubuntu1 amd64 Python 3 Cairo bindings for the GObject library
ri python3-httplib2 0.20.2-2 all comprehensive HTTP client library written for Python3
ri python3-ibus-1.0 1.5.26-4 all Intelligent Input Bus - introspection overrides for Python (Python 3)
ri python3-idna 3.3-1 all Python IDNA2008 (RFC 5891) handling (Python 3)
ri python3-importlib-metadata 4.6.4-1 all library to access the metadata for a Python package - Python 3.x
ri python3-jeepney 0.7.1-3 all pure Python D-Bus interface
ri python3-jwt 2.3.0-1ubuntu0.2 all Python 3 implementation of JSON Web Token
ri python3-keyring 23.5.0-1 all store and access your passwords safely
ri python3-launchpadlib 1.10.16-1 all Launchpad web services client library (Python 3)
ri python3-lazr.restfulclient 0.14.4-1 all client for lazr.restful-based web services (Python 3)
ri python3-lazr.uri 1.0.6-2 all library for parsing, manipulating, and generating URIs
ri python3-ldb 2:2.4.4-0ubuntu0.22.04.1 amd64 Python 3 bindings for LDB
ri python3-lib2to3 3.10.6-1~22.04 all Interactive high-level object-oriented language (lib2to3)
ri python3-lockfile 1:0.12.2-2.2 all file locking library for Python — Python 3 library
ri python3-louis 3.20.0-2ubuntu0.1 all Python bindings for liblouis
ri python3-macaroonbakery 1.3.1-2ubuntu0.1 all Higher-level macaroon operations for Python 3
ri python3-mako 1.1.3+ds1-2ubuntu0.1 all fast and lightweight templating for the Python 3 platform
ri python3-markupsafe 2.0.1-2build1 amd64 HTML/XHTML/XML string library
ri python3-monotonic 1.6-2 all implementation of time.monotonic() - Python 3.x
ri python3-more-itertools 8.10.0-2 all library with routines for operating on iterables, beyond itertools (Python 3)
ri python3-nacl 1.5.0-2 amd64 Python bindings to libsodium (Python 3)
ri python3-netifaces:amd64 0.11.0-1build2 amd64 portable network interface information - Python 3.x
ri python3-oauthlib 3.2.0-1ubuntu0.1 all generic, spec-compliant implementation of OAuth for Python3
ri python3-olefile 0.46-3 all Python module to read/write MS OLE2 files
ri python3-paramiko 2.9.3-0ubuntu1 all Make ssh v2 connections (Python 3)
ri python3-pexpect 4.8.0-2ubuntu1 all Python 3 module for automating interactive applications
ri python3-pil:amd64 9.0.1-1ubuntu0.1 amd64 Python Imaging Library (Python3)
ri python3-pkg-resources 59.6.0-1.2ubuntu0.22.04.1 all Package Discovery and Resource Access using pkg_resources
ri python3-problem-report 2.20.11-0ubuntu82.3 all Python 3 library to handle problem reports
ri python3-protobuf 3.12.4-1ubuntu7.22.04.1 amd64 Python 3 bindings for protocol buffers
ri python3-psutil 5.9.0-1build1 amd64 module providing convenience functions for managing processes (Python3)
ri python3-ptyprocess 0.7.0-3 all Run a subprocess in a pseudo terminal from Python 3
ri python3-pyatspi 2.38.2-1 all Assistive Technology Service Provider Interface - Python3 bindings
ri python3-pymacaroons 0.13.0-4 all Macaroon library for Python 3
ri python3-pyparsing 2.4.7-1 all alternative to creating and executing simple grammars - Python 3.x
ri python3-renderpm:amd64 3.6.8-1 amd64 python low level render interface
ri python3-reportlab 3.6.8-1 all ReportLab library to create PDF documents using Python3
ri python3-reportlab-accel:amd64 3.6.8-1 amd64 C coded extension accelerator for the ReportLab Toolkit
ri python3-requests 2.25.1+dfsg-2 all elegant and simple HTTP library for Python3, built for human beings
ri python3-rfc3339 1.1-3 all parser and generator of RFC 3339-compliant timestamps (Python 3)
ri python3-secretstorage 3.3.1-1 all Python module for storing secrets - Python 3.x version
ri python3-six 1.16.0-3ubuntu1 all Python 2 and 3 compatibility library (Python 3 interface)
ri python3-software-properties 0.99.22.6 all manage the repositories that you install software from
ri python3-speechd 0.11.1-1ubuntu2 all Python interface to Speech Dispatcher
ri python3-systemd 234-3ubuntu2 amd64 Python 3 bindings for systemd
ri python3-talloc:amd64 2.3.3-2build1 amd64 hierarchical pool based memory allocator - Python3 bindings
ri python3-tz 2022.1-1ubuntu0.22.04.0 all Python3 version of the Olson timezone database
ri python3-uno 1:7.3.7-0ubuntu0.22.04.2 amd64 Python-UNO bridge
ri python3-update-manager 1:22.04.10 all python 3.x module for update-manager
ri python3-urllib3 1.26.5-1~exp1 all HTTP library with thread-safe connection pooling for Python3
ri python3-wadllib 1.3.6-1 all Python 3 library for navigating WADL files
ri python3-xdg 0.27-2 all Python 3 library to access freedesktop.org standards
ri python3-xkit 0.5.0ubuntu5 all library for the manipulation of xorg.conf files (Python 3)
ri python3-yaml 5.4.1-1ubuntu1 amd64 YAML parser and emitter for Python3
ri python3-zipp 1.0.0-3 all pathlib-compatible Zipfile object wrapper - Python 3.x
ri python3.10 3.10.6-1~22.04.2ubuntu1 amd64 Interactive high-level object-oriented language (version 3.10)
ri python3.10-dev 3.10.6-1~22.04.2ubuntu1 amd64 Header files and a static library for Python (v3.10)
ri python3.10-minimal 3.10.6-1~22.04.2ubuntu1 amd64 Minimal subset of the Python language (version 3.10)
ri rhythmbox-plugin-alternative-toolbar 0.20.2-1 all Enhanced play controls and interface for Rhythmbox
ri rhythmbox-plugins 3.4.4-5ubuntu1 amd64 plugins for rhythmbox music player
ri samba-libs:amd64 2:4.15.13+dfsg-0ubuntu1 amd64 Samba core libraries
ri software-properties-common 0.99.22.6 all manage the repositories that you install software from (common)
ri software-properties-gtk 0.99.22.6 all manage the repositories that you install software from (gtk)
ri system-config-printer 1.5.16-0ubuntu3 all graphical interface to configure the printing system
ri system-config-printer-common 1.5.16-0ubuntu3 all backend and the translation files for system-config-printer
ri system-config-printer-udev 1.5.16-0ubuntu3 amd64 Utilities to detect and configure printers automatically
ri terminator 2.1.1-1 all multiple GNOME terminals in one window
ri totem-plugins 42.0-1ubuntu1 amd64 Plugins for the Totem media player
ri ubuntu-advantage-desktop-daemon 1.10~22.04.1 amd64 Daemon to allow access to ubuntu-advantage via D-Bus
ri ubuntu-advantage-tools 27.13.6~22.04.1 amd64 management tools for Ubuntu Pro
ri ubuntu-docs 22.04.5 all Ubuntu Desktop Guide
ri ubuntu-drivers-common 1:0.9.6.1 amd64 Detect and install additional Ubuntu driver packages
ri ubuntu-release-upgrader-core 1:22.04.16 all manage release upgrades
ri ubuntu-session 42.0-1ubuntu2 all Ubuntu session with GNOME Shell
ri ufw 0.36.1-4build1 all program for managing a Netfilter firewall
ri unattended-upgrades 2.8ubuntu1 all automatic installation of security upgrades
rc update-notifier 3.192.54.6 amd64 Daemon which notifies about package updates
rc update-notifier-common 3.192.54.6 all Files shared between update-notifier and other packages
ri usb-creator-common 0.3.13 all create a startup disk using a CD or disc image (common files)
ri usb-creator-gtk 0.3.13 all create a startup disk using a CD or disc image (for GNOME)
ri yelp 42.1-1 amd64 Help browser for GNOME
rc zoom 5.12.9.367 amd64 Zoom Cloud Meetings
Hors ligne
#4 Le 24/03/2023, à 13:41
- xubu1957
Re : do-release-upgrade et update-manager cassés à cause de Python
N'étant pas compétent pour python, et vu le stock de paquets notés en "ri", je laisse répondre des aidants connaisseurs.
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
Hors ligne
#5 Le 24/03/2023, à 16:29
- xubu1957
Re : do-release-upgrade et update-manager cassés à cause de Python
Vu bugs.launchpad.net/ubuntu/+source/software-properties/+bug/2003996
Montre :
apt-cache policy software-properties
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
Hors ligne
#6 Le 24/03/2023, à 16:37
- Cookiez
Re : do-release-upgrade et update-manager cassés à cause de Python
Merci pour votre retour.
Que voici (même résultat en sudo):
apt-cache policy software-properties
software-properties:
Installé : (aucun)
Candidat : (aucun)
Table de version :
Hors ligne
#7 Le 24/03/2023, à 16:42
- Cookiez
Re : do-release-upgrade et update-manager cassés à cause de Python
En complément, voici le retour de cat -n /etc/os-release:
cat -n /etc/os-release
1 PRETTY_NAME="Ubuntu 22.04.2 LTS"
2 NAME="Ubuntu"
3 VERSION_ID="22.04"
4 VERSION="22.04.2 LTS (Jammy Jellyfish)"
5 VERSION_CODENAME=jammy
6 ID=ubuntu
7 ID_LIKE=debian
8 HOME_URL="https://www.ubuntu.com/"
9 SUPPORT_URL="https://help.ubuntu.com/"
10 BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
11 PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
12 UBUNTU_CODENAME=jammy
Hors ligne
#8 Le 24/03/2023, à 16:43
- xubu1957
Re : do-release-upgrade et update-manager cassés à cause de Python
Essaye pour voir, cette commande (l'option -c permet de vérifier l'existence d'une mise à niveau possible sans la lancer réellement) :
sudo do-release-upgrade -c
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
Hors ligne
#9 Le 24/03/2023, à 16:46
- Cookiez
Re : do-release-upgrade et update-manager cassés à cause de Python
Le voici même erreur:
sudo do-release-upgrade -c
Recherche d'une nouvelle version d'Ubuntu
Exception in thread Thread-1 (download):
Traceback (most recent call last):
File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/usr/lib/python3.10/threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python3/dist-packages/UpdateManager/Core/MetaRelease.py", line 351, in download
uri = urlopen(req, timeout=20)
File "/usr/lib/python3.10/urllib/request.py", line 216, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.10/urllib/request.py", line 519, in open
response = self._open(req, data)
File "/usr/lib/python3.10/urllib/request.py", line 536, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/usr/lib/python3.10/urllib/request.py", line 496, in _call_chain
result = func(*args)
File "/usr/lib/python3.10/urllib/request.py", line 1391, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File "/usr/lib/python3.10/urllib/request.py", line 1317, in do_open
h = http_class(host, timeout=req.timeout, **http_conn_args)
File "/usr/lib/python3.10/http/client.py", line 1421, in __init__
context = ssl._create_default_https_context()
File "/usr/lib/python3.10/ssl.py", line 757, in create_default_context
context = SSLContext(PROTOCOL_TLS_CLIENT)
File "/usr/lib/python3.10/ssl.py", line 496, in __new__
self = _SSLContext.__new__(cls, protocol)
ssl.SSLError: unknown error (_ssl.c:3063)
Hors ligne
#10 Le 24/03/2023, à 17:04
- xubu1957
Re : do-release-upgrade et update-manager cassés à cause de Python
Je ne sais pas aider plus ! ¯∖_(ツ)_/¯
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
Hors ligne
#11 Le 24/03/2023, à 17:09
- Cookiez
Re : do-release-upgrade et update-manager cassés à cause de Python
Pas de soucis, merci déjà pour ton aide et le suivi de mon post !
Une petite question, est-ce normal que le retour de apt-cache policy software-properties soit vide ?
Hors ligne
#12 Le 24/03/2023, à 17:12
- xubu1957
Re : do-release-upgrade et update-manager cassés à cause de Python
Pour voir, essaye :
apt-cache policy software-properties-common
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
Hors ligne
#13 Le 24/03/2023, à 17:13
- Cookiez
Re : do-release-upgrade et update-manager cassés à cause de Python
Le voici:
apt-cache policy software-properties-common
software-properties-common:
Installé : 0.99.22.6
Candidat : 0.99.22.6
Table de version :
*** 0.99.22.6 500
500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
500 http://archive.ubuntu.com/ubuntu jammy-updates/main i386 Packages
100 /var/lib/dpkg/status
0.99.22 500
500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
500 http://archive.ubuntu.com/ubuntu jammy/main i386 Packages
Hors ligne
#14 Le 24/03/2023, à 17:15
- xubu1957
Re : do-release-upgrade et update-manager cassés à cause de Python
Je ne connais pas bien ces commandes !
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci. Membre de Linux-Azur
Hors ligne
#15 Le 24/03/2023, à 19:10
- jplemoine
Re : do-release-upgrade et update-manager cassés à cause de Python
Déjà il faut rectifier les paquets en ri.
il faut nettoyer ton système. Tu ne devrais avoir que des paquets en ii
user@machine:~$ dpkg -l | grep -v ^ii
Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder
| État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=attend-traitement-déclenchements
|/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais)
||/ Nom Version Architecture Description
+++-=====================================-=======================================-============-================================================================================
user@machine:~$
une fois que ton système sera sain, il faudra réinstaller python3 (il y a des paquets python en ri)
Vérifie avec
df -h | grep -v tmpfs
df -i | grep -v tmpfs
que tu n'as un espace disque à 100%
Ce compte ne servira plus : vous pouvez le supprimer si le coeur vous en dit...
Laissé par l'auteur pour historique.
Hors ligne
#16 Le 27/03/2023, à 07:53
- Cookiez
Re : do-release-upgrade et update-manager cassés à cause de Python
Bonjour,
Merci pour vos retours !!
Désolé pour le temps de réponse.
Alors comment pensez-vous que je dois procéder ?
J'ai essayé de supprimer python3-minimal pour clean et réinstaller, mais gnome s'est également supprimé.
J'avoue être un peu frileux maintenant concernant ce qui touche à python.
Quel serait le meilleur moyen selon vous pour ne pas perdre de données sur mon ordinateur ?
Concernant l'espace, j'ai de la marge encore:
df -h | grep -v tmpfs
Sys. de fichiers Taille Utilisé Dispo Uti% Monté sur
/dev/nvme0n1p3 234G 88G 135G 40% /
/dev/nvme0n1p1 511M 6,1M 505M 2% /boot/efi
df -i | grep -v tmpfs
Sys. de fichiers Inœuds IUtil. ILibre IUti% Monté sur
/dev/nvme0n1p3 15597568 1698752 13898816 11% /
/dev/nvme0n1p1 0 0 0 - /boot/efi
En vous remerciant !
Hors ligne