Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 15/11/2023, à 16:34

net_thibault

Problème Python après réinstall Ubuntu 20.04

Bonjour,

J'ai un nouveau problème avec python.
Maintenant que j'ai reinstallé ubuntu 20.04 sans écraser mon répertoire /home, j'ai un souci qui semble difficile à régler proprement.

Avec ma fresh install d'ubuntu20-04 quand je fais

pip list
...
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping

J'ai essayé d'installer des package SSL :
sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev

puis de reinstaller python 3.8

le problème subsiste !

thibault@R2D2laptop:~$ which python3
/usr/local/bin/python3
thibault@R2D2laptop:~$ which pip
/home/thibault/.local/bin/pip
thibault@R2D2laptop:~$ which openssl
/usr/bin/openssl
thibault@R2D2laptop:~$ 

Toutes les solutions que j'ai vues dont les gens disent que ça corrige impliquent de telecharger un python en source sous /home/username et
un openssl sous /home/username cd compiler openssl puis python et de configurer python pour lui dire de ssl c'est openssl sous home/username.

Mais je trouve que c'est "crad" (j'avais installé python-3.8.0 sous mon home/username sous ubuntu 16-04 et j'ai eu du mal à la desisntaller.

Comment se fait il que python ne trouve pas ssl qui est installé ?
n'y-a-t-il pas de solution propre avec la version native d'ubuntu 20-04 soit python 3.8 pour qu'il trouve ssl ?

N.B. je pars en vacances jusqu'à la semaine prochaine je ne répondrai pas rapidement (et je n'aurai pas mon PC  avec moi)
je pose la question pour avoir vos avis à mon retour

P.S je précise que je n'ai pas eu ce souci avec ubuntu 20-04 installé sur mon SSD il y a 1 ou 2 mois  (https://forum.ubuntu-fr.org/viewtopic.php?id=2080319)

Dernière modification par net_thibault (Le 15/11/2023, à 16:37)

Hors ligne

#2 Le 15/11/2023, à 16:51

xubu1957

Re : Problème Python après réinstall Ubuntu 20.04

Bonjour,

Nota : notre Modération a scindé le fil > /viewtopic.php?id=2081903 

Montre :

dpkg -l | grep python
sudo apt-cache policy python

et d'éventuels paquets cassés :

dpkg -l | grep -v ^ii

Dernière modification par xubu1957 (Le 15/11/2023, à 17:54)


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

En ligne

#3 Le 15/11/2023, à 17:30

net_thibault

Re : Problème Python après réinstall Ubuntu 20.04

Voilà :

thibault@R2D2laptop:~$ dpkg -l | grep python
ii  libpython3-stdlib:amd64                    3.8.2-0ubuntu2                      amd64        interactive high-level object-oriented language (default python3 version)
ii  libpython3.8:amd64                         3.8.10-0ubuntu1~20.04.8             amd64        Shared Python runtime library (version 3.8)
ii  libpython3.8-minimal:amd64                 3.8.10-0ubuntu1~20.04.8             amd64        Minimal subset of the Python language (version 3.8)
ii  libpython3.8-stdlib:amd64                  3.8.10-0ubuntu1~20.04.8             amd64        Interactive high-level object-oriented language (standard library, version 3.8)
ii  python-apt-common                          2.0.1ubuntu0.20.04.1                all          Python interface to libapt-pkg (locales)
ii  python3                                    3.8.2-0ubuntu2                      amd64        interactive high-level object-oriented language (default python3 version)
ii  python3-apport                             2.20.11-0ubuntu27.26                all          Python 3 library for Apport crash report handling
ii  python3-apt                                2.0.1ubuntu0.20.04.1                amd64        Python 3 interface to libapt-pkg
ii  python3-aptdaemon                          1.1.1+bzr982-0ubuntu32.3            all          Python 3 module for the server and client of aptdaemon
ii  python3-aptdaemon.gtk3widgets              1.1.1+bzr982-0ubuntu32.3            all          Python 3 GTK+ 3 widgets to run an aptdaemon client
ii  python3-bcrypt                             3.1.7-2ubuntu1                      amd64        password hashing library for Python 3
ii  python3-blinker                            1.4+dfsg1-0.3ubuntu1                all          fast, simple object-to-object and broadcast signaling library
ii  python3-brlapi:amd64                       6.0+dfsg-4ubuntu6                   amd64        Braille display access via BRLTTY - Python3 bindings
ii  python3-cairo:amd64                        1.16.2-2ubuntu2                     amd64        Python3 bindings for the Cairo vector graphics library
ii  python3-certifi                            2019.11.28-1                        all          root certificates for validating SSL certs and verifying TLS hosts (python3)
ii  python3-cffi-backend                       1.14.0-1build1                      amd64        Foreign Function Interface for Python 3 calling C code - runtime
ii  python3-chardet                            3.0.4-4build1                       all          universal character encoding detector for Python3
ii  python3-click                              7.0-3                               all          Wrapper around optparse for command line utilities - Python 3.x
ii  python3-colorama                           0.4.3-1build1                       all          Cross-platform colored terminal text in Python - Python 3.x
ii  python3-commandnotfound                    20.04.6                             all          Python 3 bindings for command-not-found.
ii  python3-cryptography                       2.8-3ubuntu0.1                      amd64        Python library exposing cryptographic recipes and primitives (Python 3)
ii  python3-cups                               1.9.73-3build1                      amd64        Python3 bindings for CUPS
ii  python3-cupshelpers                        1.5.12-0ubuntu1.1                   all          Python utility modules around the CUPS printing system
ii  python3-dateutil                           2.7.3-3ubuntu1                      all          powerful extensions to the standard Python 3 datetime module
ii  python3-dbus                               1.2.16-1build1                      amd64        simple interprocess messaging system (Python 3 interface)
ii  python3-debconf                            1.5.73                              all          interact with debconf from Python 3
ii  python3-debian                             0.1.36ubuntu1                       all          Python 3 modules to work with Debian-related data formats
ii  python3-defer                              1.0.6-2.1                           all          Small framework for asynchronous programming (Python 3)
ii  python3-distro                             1.4.0-1                             all          Linux OS platform information API
ii  python3-distro-info                        0.23ubuntu1                         all          information about distributions' releases (Python 3 module)
ii  python3-distupgrade                        1:20.04.41                          all          manage release upgrades
ii  python3-entrypoints                        0.3-2ubuntu1                        all          Discover and load entry points from installed packages (Python 3)
ii  python3-fasteners                          0.14.1-2                            all          provides useful locks - Python 3.x
ii  python3-future                             0.18.2-2ubuntu0.1                   all          Clean single-source support for Python 3 and 2 - Python 3.x
ii  python3-gdbm:amd64                         3.8.10-0ubuntu1~20.04               amd64        GNU dbm database support for Python 3.x
ii  python3-gi                                 3.36.0-1                            amd64        Python 3 bindings for gobject-introspection libraries
ii  python3-gi-cairo                           3.36.0-1                            amd64        Python 3 Cairo bindings for the GObject library
ii  python3-httplib2                           0.14.0-1ubuntu1                     all          comprehensive HTTP client library written for Python3
ii  python3-ibus-1.0                           1.5.22-2ubuntu2.1                   all          Intelligent Input Bus - introspection overrides for Python (Python 3)
ii  python3-idna                               2.8-1                               all          Python IDNA2008 (RFC 5891) handling (Python 3)
ii  python3-jwt                                1.7.1-2ubuntu2.1                    all          Python 3 implementation of JSON Web Token
ii  python3-keyring                            18.0.1-2ubuntu1                     all          store and access your passwords safely - Python 3 version of the package
ii  python3-launchpadlib                       1.10.13-1                           all          Launchpad web services client library (Python 3)
ii  python3-lazr.restfulclient                 0.14.2-2build1                      all          client for lazr.restful-based web services (Python 3)
ii  python3-lazr.uri                           1.0.3-4build1                       all          library for parsing, manipulating, and generating URIs
ii  python3-ldb                                2:2.4.4-0ubuntu0.20.04.2            amd64        Python 3 bindings for LDB
ii  python3-lib2to3                            3.8.10-0ubuntu1~20.04               all          Interactive high-level object-oriented language (lib2to3)
ii  python3-lockfile                           1:0.12.2-2ubuntu2                   all          file locking library for Python — Python 3 library
ii  python3-louis                              3.12.0-3ubuntu0.2                   all          Python bindings for liblouis
ii  python3-macaroonbakery                     1.3.1-1                             all          Higher-level macaroon operations for Python 3
ii  python3-mako                               1.1.0+ds1-1ubuntu2.1                all          fast and lightweight templating for the Python 3 platform
ii  python3-markupsafe                         1.1.0-1build2                       amd64        HTML/XHTML/XML string library for Python 3
ii  python3-minimal                            3.8.2-0ubuntu2                      amd64        minimal subset of the Python language (default python3 version)
ii  python3-monotonic                          1.5-0ubuntu2                        all          implementation of time.monotonic() - Python 3.x
ii  python3-nacl                               1.3.0-5                             amd64        Python bindings to libsodium (Python 3)
ii  python3-netifaces                          0.10.4-1ubuntu4                     amd64        portable network interface information - Python 3.x
ii  python3-oauthlib                           3.1.0-1ubuntu2                      all          generic, spec-compliant implementation of OAuth for Python3
ii  python3-olefile                            0.46-2                              all          Python module to read/write MS OLE2 files
ii  python3-paramiko                           2.6.0-2ubuntu0.1                    all          Make ssh v2 connections (Python 3)
ii  python3-pexpect                            4.6.0-1build1                       all          Python 3 module for automating interactive applications
ii  python3-pil:amd64                          7.0.0-4ubuntu0.7                    amd64        Python Imaging Library (Python3)
ii  python3-pkg-resources                      45.2.0-1ubuntu0.1                   all          Package Discovery and Resource Access using pkg_resources
ii  python3-problem-report                     2.20.11-0ubuntu27.26                all          Python 3 library to handle problem reports
ii  python3-protobuf                           3.6.1.3-2ubuntu5.2                  amd64        Python 3 bindings for protocol buffers
ii  python3-ptyprocess                         0.6.0-1ubuntu1                      all          Run a subprocess in a pseudo terminal from Python 3
ii  python3-pyatspi                            2.36.0-1                            all          Assistive Technology Service Provider Interface - Python3 bindings
ii  python3-pymacaroons                        0.13.0-3                            all          Macaroon library for Python 3
ii  python3-renderpm:amd64                     3.5.34-1ubuntu1.1                   amd64        python low level render interface
ii  python3-reportlab                          3.5.34-1ubuntu1.1                   all          ReportLab library to create PDF documents using Python3
ii  python3-reportlab-accel:amd64              3.5.34-1ubuntu1.1                   amd64        C coded extension accelerator for the ReportLab Toolkit
ii  python3-requests                           2.22.0-2ubuntu1.1                   all          elegant and simple HTTP library for Python3, built for human beings
ii  python3-requests-unixsocket                0.2.0-2                             all          Use requests to talk HTTP via a UNIX domain socket - Python 3.x
ii  python3-rfc3339                            1.1-2                               all          parser and generator of RFC 3339-compliant timestamps (Python 3)
ii  python3-secretstorage                      2.3.1-2ubuntu1                      all          Python module for storing secrets - Python 3.x version
ii  python3-simplejson                         3.16.0-2ubuntu2                     amd64        simple, fast, extensible JSON encoder/decoder for Python 3.x
ii  python3-six                                1.14.0-2                            all          Python 2 and 3 compatibility library (Python 3 interface)
ii  python3-software-properties                0.99.9.11                           all          manage the repositories that you install software from
ii  python3-speechd                            0.9.1-4                             all          Python interface to Speech Dispatcher
ii  python3-systemd                            234-3build2                         amd64        Python 3 bindings for systemd
ii  python3-talloc:amd64                       2.3.3-0ubuntu0.20.04.1              amd64        hierarchical pool based memory allocator - Python3 bindings
ii  python3-tz                                 2019.3-1ubuntu0.20.04.0             all          Python3 version of the Olson timezone database
ii  python3-uno                                1:6.4.7-0ubuntu0.20.04.8            amd64        Python-UNO bridge
ii  python3-update-manager                     1:20.04.10.11                       all          python 3.x module for update-manager
ii  python3-urllib3                            1.25.8-2ubuntu0.3                   all          HTTP library with thread-safe connection pooling for Python3
ii  python3-wadllib                            1.3.3-3build1                       all          Python 3 library for navigating WADL files
ii  python3-xdg                                0.26-1ubuntu1                       all          Python 3 library to access freedesktop.org standards
ii  python3-xkit                               0.5.0ubuntu4                        all          library for the manipulation of xorg.conf files (Python 3)
ii  python3-yaml                               5.3.1-1ubuntu0.1                    amd64        YAML parser and emitter for Python3
ii  python3.8                                  3.8.10-0ubuntu1~20.04.8             amd64        Interactive high-level object-oriented language (version 3.8)
ii  python3.8-minimal                          3.8.10-0ubuntu1~20.04.8             amd64        Minimal subset of the Python language (version 3.8)
thibault@R2D2laptop:~$ sudo apt-cache policy python
python:
  Installed: (none)
  Candidate: (none)
  Version table:
thibault@R2D2laptop:~$ dpkg -l | grep -v ^ii
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                       Version                             Architecture Description
+++-==========================================-===================================-============-======================================================================================================
rc  language-pack-en-base                      1:20.04+20220818                    all          translations for language English
rc  language-pack-gnome-en-base                1:20.04+20220818                    all          GNOME translations for language English
thibault@R2D2laptop:~$ 

Dernière modification par net_thibault (Le 15/11/2023, à 17:31)

Hors ligne

#4 Le 15/11/2023, à 17:36

xubu1957

Re : Problème Python après réinstall Ubuntu 20.04

Donne les retours de :

sudo apt update

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

En ligne

#5 Le 15/11/2023, à 17:58

geole

Re : Problème Python après réinstall Ubuntu 20.04

Bonjour
Il manquerait les dépendances de python
https://devguide.python.org/getting-sta … pendencies
1) Tout d’abord, assurez-vous d’avoir activé les packages sources dans la liste des sources. Vous pouvez le faire en ajoutant l'emplacement des packages sources, y compris l'URL, le nom de la distribution et le nom du composant, à /etc/apt/sources.list. Prenez Ubuntu 22.04 LTS (Jammy Jellyfish) par exemple :
deb-src http://archive.ubuntu.com/ubuntu/ jammy main
2)

sudo apt-get build-dep python3
sudo apt-get install pkg-config

Dernière modification par geole (Le 15/11/2023, à 17:59)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#6 Le 20/11/2023, à 20:40

net_thibault

Re : Problème Python après réinstall Ubuntu 20.04

Bonsoir,

je suis rentré de vacances, j'ai pu passer les commandes :

thibault@R2D2laptop:~$ sudo apt update
Hit:1 http://fr.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://fr.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:3 http://fr.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu focal-security InRelease
Reading package lists... Done
Building dependency tree       
Reading state information... Done
64 packages can be upgraded. Run 'apt list --upgradable' to see them.
thibault@R2D2laptop:~$ apt list --upgradable
Listing... Done
apparmor/focal-updates 2.13.3-7ubuntu5.2 amd64 [upgradable from: 2.13.3-7ubuntu5.1]
apport-gtk/focal-updates,focal-updates 2.20.11-0ubuntu27.27 all [upgradable from: 2.20.11-0ubuntu27.26]
apport/focal-updates,focal-updates 2.20.11-0ubuntu27.27 all [upgradable from: 2.20.11-0ubuntu27.26]
apt-utils/focal-updates 2.0.10 amd64 [upgradable from: 2.0.9]
apt/focal-updates 2.0.10 amd64 [upgradable from: 2.0.9]
avahi-autoipd/focal-updates,focal-security 0.7-4ubuntu7.3 amd64 [upgradable from: 0.7-4ubuntu7.2]
avahi-daemon/focal-updates,focal-security 0.7-4ubuntu7.3 amd64 [upgradable from: 0.7-4ubuntu7.2]
avahi-utils/focal-updates,focal-security 0.7-4ubuntu7.3 amd64 [upgradable from: 0.7-4ubuntu7.2]
bolt/focal-updates 0.9.1-2~ubuntu20.04.2 amd64 [upgradable from: 0.9.1-2~ubuntu20.04.1]
bsdutils/focal-updates 1:2.34-0.1ubuntu9.4 amd64 [upgradable from: 1:2.34-0.1ubuntu9.3]
distro-info-data/focal-updates,focal-updates 0.43ubuntu1.14 all [upgradable from: 0.43ubuntu1.11]
distro-info/focal-updates 0.23ubuntu1.1 amd64 [upgradable from: 0.23ubuntu1]
fdisk/focal-updates 2.34-0.1ubuntu9.4 amd64 [upgradable from: 2.34-0.1ubuntu9.3]
fwupd-signed/focal-updates 1.51.1~20.04.1+1.4-0ubuntu0.1 amd64 [upgradable from: 1.51~20.04.1+1.2-3ubuntu0.2]
fwupd/focal-updates 1.7.9-1~20.04.3 amd64 [upgradable from: 1.7.9-1~20.04.1]
intel-microcode/focal-updates,focal-security 3.20231114.0ubuntu0.20.04.1 amd64 [upgradable from: 3.20230808.0ubuntu0.20.04.1]
iptables/focal-updates 1.8.4-3ubuntu2.1 amd64 [upgradable from: 1.8.4-3ubuntu2]
libapparmor1/focal-updates 2.13.3-7ubuntu5.2 amd64 [upgradable from: 2.13.3-7ubuntu5.1]
libapt-pkg6.0/focal-updates 2.0.10 amd64 [upgradable from: 2.0.9]
libavahi-client3/focal-updates,focal-security 0.7-4ubuntu7.3 amd64 [upgradable from: 0.7-4ubuntu7.2]
libavahi-common-data/focal-updates,focal-security 0.7-4ubuntu7.3 amd64 [upgradable from: 0.7-4ubuntu7.2]
libavahi-common3/focal-updates,focal-security 0.7-4ubuntu7.3 amd64 [upgradable from: 0.7-4ubuntu7.2]
libavahi-core7/focal-updates,focal-security 0.7-4ubuntu7.3 amd64 [upgradable from: 0.7-4ubuntu7.2]
libavahi-glib1/focal-updates,focal-security 0.7-4ubuntu7.3 amd64 [upgradable from: 0.7-4ubuntu7.2]
libavahi-ui-gtk3-0/focal-updates,focal-security 0.7-4ubuntu7.3 amd64 [upgradable from: 0.7-4ubuntu7.2]
libblkid1/focal-updates 2.34-0.1ubuntu9.4 amd64 [upgradable from: 2.34-0.1ubuntu9.3]
libc-bin/focal-updates 2.31-0ubuntu9.12 amd64 [upgradable from: 2.31-0ubuntu9.9]
libfdisk1/focal-updates 2.34-0.1ubuntu9.4 amd64 [upgradable from: 2.34-0.1ubuntu9.3]
libfwupd2/focal-updates 1.7.9-1~20.04.3 amd64 [upgradable from: 1.7.9-1~20.04.1]
libfwupdplugin5/focal-updates 1.7.9-1~20.04.3 amd64 [upgradable from: 1.7.9-1~20.04.1]
libgpgme11/focal-updates 1.13.1-7ubuntu2.1 amd64 [upgradable from: 1.13.1-7ubuntu2]
libgpgmepp6/focal-updates 1.13.1-7ubuntu2.1 amd64 [upgradable from: 1.13.1-7ubuntu2]
libip4tc2/focal-updates 1.8.4-3ubuntu2.1 amd64 [upgradable from: 1.8.4-3ubuntu2]
libip6tc2/focal-updates 1.8.4-3ubuntu2.1 amd64 [upgradable from: 1.8.4-3ubuntu2]
libmount1/focal-updates 2.34-0.1ubuntu9.4 amd64 [upgradable from: 2.34-0.1ubuntu9.3]
libnss-systemd/focal-updates 245.4-4ubuntu3.22 amd64 [upgradable from: 245.4-4ubuntu3.20]
libpam-systemd/focal-updates 245.4-4ubuntu3.22 amd64 [upgradable from: 245.4-4ubuntu3.20]
libsmartcols1/focal-updates 2.34-0.1ubuntu9.4 amd64 [upgradable from: 2.34-0.1ubuntu9.3]
libsnmp-base/focal-updates,focal-updates 5.8+dfsg-2ubuntu2.9 all [upgradable from: 5.8+dfsg-2ubuntu2.6]
libsnmp35/focal-updates 5.8+dfsg-2ubuntu2.9 amd64 [upgradable from: 5.8+dfsg-2ubuntu2.6]
libsystemd0/focal-updates 245.4-4ubuntu3.22 amd64 [upgradable from: 245.4-4ubuntu3.20]
libunwind8/focal-updates 1.2.1-9ubuntu0.1 amd64 [upgradable from: 1.2.1-9build1]
libxtables12/focal-updates 1.8.4-3ubuntu2.1 amd64 [upgradable from: 1.8.4-3ubuntu2]
linux-firmware/focal-updates,focal-updates 1.187.39 all [upgradable from: 1.187.36]
mount/focal-updates 2.34-0.1ubuntu9.4 amd64 [upgradable from: 2.34-0.1ubuntu9.3]
python3-apport/focal-updates,focal-updates 2.20.11-0ubuntu27.27 all [upgradable from: 2.20.11-0ubuntu27.26]
python3-debian/focal-updates,focal-updates 0.1.36ubuntu1.1 all [upgradable from: 0.1.36ubuntu1]
python3-distro-info/focal-updates,focal-updates 0.23ubuntu1.1 all [upgradable from: 0.23ubuntu1]
python3-problem-report/focal-updates,focal-updates 2.20.11-0ubuntu27.27 all [upgradable from: 2.20.11-0ubuntu27.26]
python3-software-properties/focal-updates,focal-updates 0.99.9.12 all [upgradable from: 0.99.9.11]
rfkill/focal-updates 2.34-0.1ubuntu9.4 amd64 [upgradable from: 2.34-0.1ubuntu9.3]
rsync/focal-updates 3.1.3-8ubuntu0.7 amd64 [upgradable from: 3.1.3-8ubuntu0.5]
software-properties-common/focal-updates,focal-updates 0.99.9.12 all [upgradable from: 0.99.9.11]
software-properties-gtk/focal-updates,focal-updates 0.99.9.12 all [upgradable from: 0.99.9.11]
systemd-sysv/focal-updates 245.4-4ubuntu3.22 amd64 [upgradable from: 245.4-4ubuntu3.20]
systemd-timesyncd/focal-updates 245.4-4ubuntu3.22 amd64 [upgradable from: 245.4-4ubuntu3.20]
systemd/focal-updates 245.4-4ubuntu3.22 amd64 [upgradable from: 245.4-4ubuntu3.20]
tzdata/focal-updates,focal-updates 2023c-0ubuntu0.20.04.2 all [upgradable from: 2023c-0ubuntu0.20.04.0]
ubuntu-advantage-tools/focal-updates 30~20.04 amd64 [upgradable from: 27.13.6~20.04.1]
ufw/focal-updates,focal-updates 0.36-6ubuntu1.1 all [upgradable from: 0.36-6ubuntu1]
update-notifier-common/focal-updates,focal-updates 3.192.30.17 all [upgradable from: 3.192.30.16]
update-notifier/focal-updates 3.192.30.17 amd64 [upgradable from: 3.192.30.16]
util-linux/focal-updates 2.34-0.1ubuntu9.4 amd64 [upgradable from: 2.34-0.1ubuntu9.3]
uuid-runtime/focal-updates 2.34-0.1ubuntu9.4 amd64 [upgradable from: 2.34-0.1ubuntu9.3]
thibault@R2D2laptop:~$ sudo apt-get build-dep python3
Reading package lists... Done
E: You must put some 'deb-src' URIs in your sources.list
thibault@R2D2laptop:~$ sudo apt-get install pkg-config
Reading package lists... Done
Building dependency tree       
Reading state information... Done
pkg-config is already the newest version (0.29.1-0ubuntu4).
pkg-config set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 64 not upgraded.

pour "pomper" les sources à ajouter je peux peut-être aller voir dans le SSD qui tourne ubuntu 20-04 mais quelle commande utiliser pour les voir sur l'ubuntu de ce SSD ?

Dernière modification par net_thibault (Le 20/11/2023, à 20:41)

Hors ligne

#7 Le 21/11/2023, à 10:52

net_thibault

Re : Problème Python après réinstall Ubuntu 20.04

J'ai suivi le lien python et j'ai adapté à la version dans
/etc/apt/sources.list
comme indiqué dans le lien python j'ai ajouté la ligne :
deb-src http://fr.archive.ubuntu.com/ubuntu/ focal main

thibault@R2D2laptop:~$ sudo apt-get update
Hit:1 http://fr.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://security.ubuntu.com/ubuntu focal-security InRelease
Get:3 http://fr.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Hit:4 http://fr.archive.ubuntu.com/ubuntu focal-backports InRelease
Get:5 http://fr.archive.ubuntu.com/ubuntu focal/main Sources [847 kB]
Fetched 960 kB in 1s (699 kB/s)  
Reading package lists... Done
thibault@R2D2laptop:~$ sudo apt-get build-dep python3
Reading package lists... Done
Picking 'python3-defaults' as source package instead of 'python3'
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  autoconf automake autopoint autotools-dev debhelper dh-autoreconf dh-strip-nondeterminism docbook-xsl docutils-common dwz gettext intltool-debian
  libarchive-zip-perl libcroco3 libdebhelper-perl libfile-stripnondeterminism-perl libsigsegv2 libsub-override-perl libtool m4 po-debconf python3-docutils
  python3-roman w3m xsltproc
0 upgraded, 25 newly installed, 0 to remove and 58 not upgraded.
Need to get 6,629 kB of archives.
After this operation, 33.7 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 libsigsegv2 amd64 2.12-2 [13.9 kB]
Get:2 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 m4 amd64 1.4.18-4 [199 kB]
Get:3 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 autoconf all 2.69-11.1 [321 kB]
Get:4 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 autotools-dev all 20180224.1 [39.6 kB]
Get:5 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 automake all 1:1.16.1-4ubuntu6 [522 kB]
Get:6 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 autopoint all 0.19.8.1-10build1 [412 kB]
Get:7 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 libtool all 2.4.6-14 [161 kB]
Get:8 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 dh-autoreconf all 19 [16.1 kB]
Get:9 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 libdebhelper-perl all 12.10ubuntu1 [62.1 kB]
Get:10 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 libarchive-zip-perl all 1.67-2 [90.5 kB]
Get:11 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 libsub-override-perl all 0.09-2 [9,532 B]
Get:12 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 libfile-stripnondeterminism-perl all 1.7.0-1 [15.9 kB]
Get:13 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 dh-strip-nondeterminism all 1.7.0-1 [5,228 B]
Get:14 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 dwz amd64 0.13-5 [151 kB]
Get:15 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 libcroco3 amd64 0.6.13-1 [82.5 kB]
Get:16 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 gettext amd64 0.19.8.1-10build1 [895 kB]
Get:17 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 intltool-debian all 0.35.0+20060710.5 [24.9 kB]
Get:18 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 po-debconf all 1.0.21 [233 kB]
Get:19 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 debhelper all 12.10ubuntu1 [877 kB]
Get:20 http://fr.archive.ubuntu.com/ubuntu focal/universe amd64 docbook-xsl all 1.79.1+dfsg-2 [1,075 kB]
Get:21 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 docutils-common all 0.16+dfsg-2 [116 kB]
Get:22 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 python3-roman all 2.0.0-3build1 [8,728 B]
Get:23 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 python3-docutils all 0.16+dfsg-2 [368 kB]
Get:24 http://fr.archive.ubuntu.com/ubuntu focal-updates/main amd64 w3m amd64 0.5.3-37ubuntu0.1 [915 kB]
Get:25 http://fr.archive.ubuntu.com/ubuntu focal-updates/main amd64 xsltproc amd64 1.1.34-4ubuntu0.20.04.1 [14.3 kB]
Fetched 6,629 kB in 5s (1,315 kB/s)  
Selecting previously unselected package libsigsegv2:amd64.
(Reading database ... 189722 files and directories currently installed.)
Preparing to unpack .../00-libsigsegv2_2.12-2_amd64.deb ...
Unpacking libsigsegv2:amd64 (2.12-2) ...
Selecting previously unselected package m4.
Preparing to unpack .../01-m4_1.4.18-4_amd64.deb ...
Unpacking m4 (1.4.18-4) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../02-autoconf_2.69-11.1_all.deb ...
Unpacking autoconf (2.69-11.1) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../03-autotools-dev_20180224.1_all.deb ...
Unpacking autotools-dev (20180224.1) ...
Selecting previously unselected package automake.
Preparing to unpack .../04-automake_1%3a1.16.1-4ubuntu6_all.deb ...
Unpacking automake (1:1.16.1-4ubuntu6) ...
Selecting previously unselected package autopoint.
Preparing to unpack .../05-autopoint_0.19.8.1-10build1_all.deb ...
Unpacking autopoint (0.19.8.1-10build1) ...
Selecting previously unselected package libtool.
Preparing to unpack .../06-libtool_2.4.6-14_all.deb ...
Unpacking libtool (2.4.6-14) ...
Selecting previously unselected package dh-autoreconf.
Preparing to unpack .../07-dh-autoreconf_19_all.deb ...
Unpacking dh-autoreconf (19) ...
Selecting previously unselected package libdebhelper-perl.
Preparing to unpack .../08-libdebhelper-perl_12.10ubuntu1_all.deb ...
Unpacking libdebhelper-perl (12.10ubuntu1) ...
Selecting previously unselected package libarchive-zip-perl.
Preparing to unpack .../09-libarchive-zip-perl_1.67-2_all.deb ...
Unpacking libarchive-zip-perl (1.67-2) ...
Selecting previously unselected package libsub-override-perl.
Preparing to unpack .../10-libsub-override-perl_0.09-2_all.deb ...
Unpacking libsub-override-perl (0.09-2) ...
Selecting previously unselected package libfile-stripnondeterminism-perl.
Preparing to unpack .../11-libfile-stripnondeterminism-perl_1.7.0-1_all.deb ...
Unpacking libfile-stripnondeterminism-perl (1.7.0-1) ...
Selecting previously unselected package dh-strip-nondeterminism.
Preparing to unpack .../12-dh-strip-nondeterminism_1.7.0-1_all.deb ...
Unpacking dh-strip-nondeterminism (1.7.0-1) ...
Selecting previously unselected package dwz.
Preparing to unpack .../13-dwz_0.13-5_amd64.deb ...
Unpacking dwz (0.13-5) ...
Selecting previously unselected package libcroco3:amd64.
Preparing to unpack .../14-libcroco3_0.6.13-1_amd64.deb ...
Unpacking libcroco3:amd64 (0.6.13-1) ...
Selecting previously unselected package gettext.
Preparing to unpack .../15-gettext_0.19.8.1-10build1_amd64.deb ...
Unpacking gettext (0.19.8.1-10build1) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../16-intltool-debian_0.35.0+20060710.5_all.deb ...
Unpacking intltool-debian (0.35.0+20060710.5) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../17-po-debconf_1.0.21_all.deb ...
Unpacking po-debconf (1.0.21) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../18-debhelper_12.10ubuntu1_all.deb ...
Unpacking debhelper (12.10ubuntu1) ...
Selecting previously unselected package docbook-xsl.
Preparing to unpack .../19-docbook-xsl_1.79.1+dfsg-2_all.deb ...
Unpacking docbook-xsl (1.79.1+dfsg-2) ...
Selecting previously unselected package docutils-common.
Preparing to unpack .../20-docutils-common_0.16+dfsg-2_all.deb ...
Unpacking docutils-common (0.16+dfsg-2) ...
Selecting previously unselected package python3-roman.
Preparing to unpack .../21-python3-roman_2.0.0-3build1_all.deb ...
Unpacking python3-roman (2.0.0-3build1) ...
Selecting previously unselected package python3-docutils.
Preparing to unpack .../22-python3-docutils_0.16+dfsg-2_all.deb ...
Unpacking python3-docutils (0.16+dfsg-2) ...
Selecting previously unselected package w3m.
Preparing to unpack .../23-w3m_0.5.3-37ubuntu0.1_amd64.deb ...
Unpacking w3m (0.5.3-37ubuntu0.1) ...
Selecting previously unselected package xsltproc.
Preparing to unpack .../24-xsltproc_1.1.34-4ubuntu0.20.04.1_amd64.deb ...
Unpacking xsltproc (1.1.34-4ubuntu0.20.04.1) ...
Setting up libarchive-zip-perl (1.67-2) ...
Setting up libdebhelper-perl (12.10ubuntu1) ...
Setting up xsltproc (1.1.34-4ubuntu0.20.04.1) ...
Setting up python3-roman (2.0.0-3build1) ...
Setting up autotools-dev (20180224.1) ...
Setting up w3m (0.5.3-37ubuntu0.1) ...
Setting up libsigsegv2:amd64 (2.12-2) ...
Setting up docbook-xsl (1.79.1+dfsg-2) ...
Setting up autopoint (0.19.8.1-10build1) ...
Setting up libcroco3:amd64 (0.6.13-1) ...
Setting up dwz (0.13-5) ...
Setting up docutils-common (0.16+dfsg-2) ...
Setting up libsub-override-perl (0.09-2) ...
Setting up libfile-stripnondeterminism-perl (1.7.0-1) ...
Setting up gettext (0.19.8.1-10build1) ...
Setting up libtool (2.4.6-14) ...
Setting up m4 (1.4.18-4) ...
Setting up intltool-debian (0.35.0+20060710.5) ...
Setting up autoconf (2.69-11.1) ...
Setting up dh-strip-nondeterminism (1.7.0-1) ...
Setting up automake (1:1.16.1-4ubuntu6) ...
update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode
Setting up po-debconf (1.0.21) ...
Setting up dh-autoreconf (19) ...
Setting up debhelper (12.10ubuntu1) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for shared-mime-info (1.15-1) ...
Processing triggers for sgml-base (1.29.1) ...
Setting up python3-docutils (0.16+dfsg-2) ...
update-alternatives: using /usr/share/docutils/scripts/python3/rst-buildhtml to provide /usr/bin/rst-buildhtml (rst-buildhtml) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python3/rst2html to provide /usr/bin/rst2html (rst2html) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python3/rst2html4 to provide /usr/bin/rst2html4 (rst2html4) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python3/rst2html5 to provide /usr/bin/rst2html5 (rst2html5) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python3/rst2latex to provide /usr/bin/rst2latex (rst2latex) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python3/rst2man to provide /usr/bin/rst2man (rst2man) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python3/rst2odt to provide /usr/bin/rst2odt (rst2odt) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python3/rst2odt_prepstyles to provide /usr/bin/rst2odt_prepstyles (rst2odt_prepstyles) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python3/rst2pseudoxml to provide /usr/bin/rst2pseudoxml (rst2pseudoxml) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python3/rst2s5 to provide /usr/bin/rst2s5 (rst2s5) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python3/rst2xetex to provide /usr/bin/rst2xetex (rst2xetex) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python3/rst2xml to provide /usr/bin/rst2xml (rst2xml) in auto mode
update-alternatives: using /usr/share/docutils/scripts/python3/rstpep2html to provide /usr/bin/rstpep2html (rstpep2html) in auto mode
Processing triggers for install-info (6.7.0.dfsg.2-5) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.9) ...
thibault@R2D2laptop:~$ sudo apt-get install pkg-config
Reading package lists... Done
Building dependency tree       
Reading state information... Done
pkg-config is already the newest version (0.29.1-0ubuntu4).
0 upgraded, 0 newly installed, 0 to remove and 58 not upgraded.

j'ai refait un test sur pip list et je retombe sur le même problème :

thibault@R2D2laptop:~$ pip list
Package                   Version
------------------------- -----------
aiofiles                  0.7.0
aiohttp                   3.7.4.post0
aiohttp-cors              0.7.0
async-timeout             3.0.1
attrs                     23.1.0
certifi                   2023.7.22
chardet                   4.0.0
distro                    1.6.0
idna                      3.4
idna-ssl                  1.1.0
importlib-resources       6.0.1
Jinja2                    3.0.1
jsonschema                3.2.0
jsonschema-specifications 2023.7.1
MarkupSafe                2.1.3
multidict                 6.0.4
pip                       23.2.1
pkgutil_resolve_name      1.3.10
prompt-toolkit            3.0.39
psutil                    5.8.0
py-cpuinfo                8.0.0
pyrsistent                0.19.3
raven                     6.10.0
referencing               0.30.2
rpds-py                   0.9.2
sentry-sdk                1.3.1
setuptools                68.0.0
six                       1.16.0
typing                    3.7.4.3
typing_extensions         4.8.0
urllib3                   2.0.6
wcwidth                   0.2.6
yarl                      1.9.2
zipp                      3.16.2
zipstream                 1.1.4
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping

ensuite j'ai installé les packages optionels du lien et j'obitens le même résultat :

thibault@R2D2laptop:~$ sudo apt-get install build-essential gdb lcov pkg-config \
>       libbz2-dev libffi-dev libgdbm-dev libgdbm-compat-dev liblzma-dev \
>       libncurses5-dev libreadline6-dev libsqlite3-dev libssl-dev \
>       lzma lzma-dev tk-dev uuid-dev zlib1g-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'libreadline-dev' instead of 'libreadline6-dev'
libbz2-dev is already the newest version (1.0.8-2).
libgdbm-dev is already the newest version (1.18.1-5).
pkg-config is already the newest version (0.29.1-0ubuntu4).
tk-dev is already the newest version (8.6.9+1).
build-essential is already the newest version (12.8ubuntu1.1).
gdb is already the newest version (9.2-0ubuntu1~20.04.1).
gdb set to manually installed.
libsqlite3-dev is already the newest version (3.31.1-4ubuntu0.5).
libssl-dev is already the newest version (1.1.1f-1ubuntu2.20).
uuid-dev is already the newest version (2.34-0.1ubuntu9.4).
uuid-dev set to manually installed.
zlib1g-dev is already the newest version (1:1.2.11.dfsg-2ubuntu1.5).
zlib1g-dev set to manually installed.
The following package was automatically installed and is no longer required:
  libreadline5
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
  libcommon-sense-perl libgd-perl libjson-perl libjson-xs-perl libperlio-gzip-perl libtypes-serialiser-perl
Suggested packages:
  liblzma-doc readline-doc
The following packages will be REMOVED:
  libreadline-gplv2-dev
The following NEW packages will be installed:
  lcov libcommon-sense-perl libffi-dev libgd-perl libgdbm-compat-dev libjson-perl libjson-xs-perl liblzma-dev libncurses5-dev libperlio-gzip-perl libreadline-dev
  libtypes-serialiser-perl lzma lzma-dev
0 upgraded, 14 newly installed, 1 to remove and 58 not upgraded.
Need to get 876 kB of archives.
After this operation, 2,811 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 libjson-perl all 4.02000-2 [80.9 kB]
Get:2 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 libperlio-gzip-perl amd64 0.19-1build5 [14.6 kB]
Get:3 http://fr.archive.ubuntu.com/ubuntu focal/universe amd64 lcov all 1.14-2 [97.1 kB]
Get:4 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 libcommon-sense-perl amd64 3.74-2build6 [20.1 kB]
Get:5 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 libgdbm-compat-dev amd64 1.18.1-5 [3,388 B]
Get:6 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 libtypes-serialiser-perl all 1.0-1 [12.1 kB]
Get:7 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 libjson-xs-perl amd64 4.020-1build1 [83.7 kB]
Get:8 http://fr.archive.ubuntu.com/ubuntu focal-updates/main amd64 libncurses5-dev amd64 6.2-0ubuntu2.1 [984 B]
Get:9 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 libreadline-dev amd64 8.0-4 [141 kB]
Get:10 http://fr.archive.ubuntu.com/ubuntu focal/universe amd64 lzma amd64 9.22-2.1build1 [46.3 kB]
Get:11 http://fr.archive.ubuntu.com/ubuntu focal/universe amd64 lzma-dev all 9.22-2.1build1 [41.6 kB]
Get:12 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 libffi-dev amd64 3.3-4 [57.0 kB]
Get:13 http://fr.archive.ubuntu.com/ubuntu focal/main amd64 libgd-perl amd64 2.71-2build1 [130 kB]
Get:14 http://fr.archive.ubuntu.com/ubuntu focal-updates/main amd64 liblzma-dev amd64 5.2.4-1ubuntu1.1 [147 kB]
Fetched 876 kB in 1s (927 kB/s)       
(Reading database ... 192182 files and directories currently installed.)
Removing libreadline-gplv2-dev:amd64 (5.2+dfsg-3build3) ...
Selecting previously unselected package libjson-perl.
(Reading database ... 192157 files and directories currently installed.)
Preparing to unpack .../00-libjson-perl_4.02000-2_all.deb ...
Unpacking libjson-perl (4.02000-2) ...
Selecting previously unselected package libperlio-gzip-perl.
Preparing to unpack .../01-libperlio-gzip-perl_0.19-1build5_amd64.deb ...
Unpacking libperlio-gzip-perl (0.19-1build5) ...
Selecting previously unselected package lcov.
Preparing to unpack .../02-lcov_1.14-2_all.deb ...
Unpacking lcov (1.14-2) ...
Selecting previously unselected package libcommon-sense-perl.
Preparing to unpack .../03-libcommon-sense-perl_3.74-2build6_amd64.deb ...
Unpacking libcommon-sense-perl (3.74-2build6) ...
Selecting previously unselected package libgdbm-compat-dev.
Preparing to unpack .../04-libgdbm-compat-dev_1.18.1-5_amd64.deb ...
Unpacking libgdbm-compat-dev (1.18.1-5) ...
Selecting previously unselected package libtypes-serialiser-perl.
Preparing to unpack .../05-libtypes-serialiser-perl_1.0-1_all.deb ...
Unpacking libtypes-serialiser-perl (1.0-1) ...
Selecting previously unselected package libjson-xs-perl.
Preparing to unpack .../06-libjson-xs-perl_4.020-1build1_amd64.deb ...
Unpacking libjson-xs-perl (4.020-1build1) ...
Selecting previously unselected package libncurses5-dev:amd64.
Preparing to unpack .../07-libncurses5-dev_6.2-0ubuntu2.1_amd64.deb ...
Unpacking libncurses5-dev:amd64 (6.2-0ubuntu2.1) ...
Selecting previously unselected package libreadline-dev:amd64.
Preparing to unpack .../08-libreadline-dev_8.0-4_amd64.deb ...
Unpacking libreadline-dev:amd64 (8.0-4) ...
Selecting previously unselected package lzma.
Preparing to unpack .../09-lzma_9.22-2.1build1_amd64.deb ...
Unpacking lzma (9.22-2.1build1) ...
Selecting previously unselected package lzma-dev.
Preparing to unpack .../10-lzma-dev_9.22-2.1build1_all.deb ...
Unpacking lzma-dev (9.22-2.1build1) ...
Selecting previously unselected package libffi-dev:amd64.
Preparing to unpack .../11-libffi-dev_3.3-4_amd64.deb ...
Unpacking libffi-dev:amd64 (3.3-4) ...
Selecting previously unselected package libgd-perl.
Preparing to unpack .../12-libgd-perl_2.71-2build1_amd64.deb ...
Unpacking libgd-perl (2.71-2build1) ...
Selecting previously unselected package liblzma-dev:amd64.
Preparing to unpack .../13-liblzma-dev_5.2.4-1ubuntu1.1_amd64.deb ...
Unpacking liblzma-dev:amd64 (5.2.4-1ubuntu1.1) ...
Setting up libcommon-sense-perl (3.74-2build6) ...
Setting up libgdbm-compat-dev (1.18.1-5) ...
Setting up libreadline-dev:amd64 (8.0-4) ...
Setting up libffi-dev:amd64 (3.3-4) ...
Setting up libgd-perl (2.71-2build1) ...
Setting up lzma (9.22-2.1build1) ...
update-alternatives: using /usr/bin/lzmp to provide /usr/bin/lzma (lzma) in auto mode
Setting up lzma-dev (9.22-2.1build1) ...
Setting up liblzma-dev:amd64 (5.2.4-1ubuntu1.1) ...
Setting up libtypes-serialiser-perl (1.0-1) ...
Setting up libjson-perl (4.02000-2) ...
Setting up libncurses5-dev:amd64 (6.2-0ubuntu2.1) ...
Setting up libperlio-gzip-perl (0.19-1build5) ...
Setting up libjson-xs-perl (4.020-1build1) ...
Setting up lcov (1.14-2) ...
Processing triggers for install-info (6.7.0.dfsg.2-5) ...
Processing triggers for man-db (2.9.1-1) ...
thibault@R2D2laptop:~$ pip list
Package                   Version
------------------------- -----------
aiofiles                  0.7.0
aiohttp                   3.7.4.post0
aiohttp-cors              0.7.0
async-timeout             3.0.1
attrs                     23.1.0
certifi                   2023.7.22
chardet                   4.0.0
distro                    1.6.0
idna                      3.4
idna-ssl                  1.1.0
importlib-resources       6.0.1
Jinja2                    3.0.1
jsonschema                3.2.0
jsonschema-specifications 2023.7.1
MarkupSafe                2.1.3
multidict                 6.0.4
pip                       23.2.1
pkgutil_resolve_name      1.3.10
prompt-toolkit            3.0.39
psutil                    5.8.0
py-cpuinfo                8.0.0
pyrsistent                0.19.3
raven                     6.10.0
referencing               0.30.2
rpds-py                   0.9.2
sentry-sdk                1.3.1
setuptools                68.0.0
six                       1.16.0
typing                    3.7.4.3
typing_extensions         4.8.0
urllib3                   2.0.6
wcwidth                   0.2.6
yarl                      1.9.2
zipp                      3.16.2
zipstream                 1.1.4
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping

Dernière modification par net_thibault (Le 21/11/2023, à 10:58)

Hors ligne

#8 Le 22/11/2023, à 17:37

net_thibault

Re : Problème Python après réinstall Ubuntu 20.04

J'ai passé toutes les commandes suggérées et leur résultat, mais ça n'a pas l'air d'inspirer le forum,
c'est trop dans une niche ?

je ne sais pas comment investiguer cela, comment peut-on voir qui demande le SSL ce sont les dépots pip ?
c'est une modification récentes qu'ils ont faite ? la même version sur le SSD (certes installée à partir de zéro)
fonctionne, qu'est-ce qui a changé en 3 semaines pour ubuntu 20.04 ?

une piste ?

Hors ligne

#9 Le 22/11/2023, à 18:55

Nuliel

Re : Problème Python après réinstall Ubuntu 20.04

Bonjour,
Déjà on voit dès le premier message que python3 est installé dans /usr/local/, donc que tu l'as installé manuellement, sans passer par apt (d'ailleurs ça sert à rien puisque python est normalement installé de base, car c'est un élément du système). J'ai bon?
Si oui, mon avis: ne pas s'embêter, virer la version installée manuellement et réinstaller python avec apt si besoin (enfin faut faire gaffe parce qu'il faut pas trop jouer avec python, sinon tu vas péter ton système)

Dernière modification par Nuliel (Le 22/11/2023, à 18:56)

Hors ligne

#10 Le 23/11/2023, à 10:49

net_thibault

Re : Problème Python après réinstall Ubuntu 20.04

Effectivement bonne remarque, sur mon SSD qui fonctionne et est en ubuntu 20.04 également python3 est en
/usr/bin/python3

Mais je n'ai pas reinstallé manuellement python3, même si comme rien ne marche j'ai tenté des choses.
mais installer à la main python3, non.

En fait je suis partie d'une installation en ubuntu 20.04 suite à un upgrade de ubuntu 18.04 en ubuntu 20.04 qui fonctionnait mal,
et j'ai appliqué cette procédure :

https://doc.ubuntu-fr.org/reinstallation_ubuntu
en suivant le paragraphe § 2.2

Elle garde tout ce qui est en /home mais pas le reste à ce que j'ai compris

et depuis j'ai ce genre de problème avec SSL et python

Hors ligne

#11 Le 26/11/2023, à 21:21

net_thibault

Re : Problème Python après réinstall Ubuntu 20.04

Bonsoir,

Je viens juste de reinstaller ubuntu 20.04 à partir du DVD démarré en live session en suivant la procédure :

https://doc.ubuntu-fr.org/reinstallation_ubuntu
en suivant le paragraphe § 2.2

Immédiatement après réinstallation j'ai passé les commandes suivantes et en voilà le résultat :
(i.e sans avoir passé aucune autre commande, ni installation de quoi que ce soit, je suis formel)

thibault@R2D2laptop:~$ which python3
/usr/local/bin/python3
thibault@R2D2laptop:~$ 
thibault@R2D2laptop:~$ which pip
/home/thibault/.local/bin/pip
thibault@R2D2laptop:~$ which openssl
/usr/bin/openssl
thibault@R2D2laptop:~$ pip list
Package                   Version
------------------------- -----------
aiofiles                  0.7.0
aiohttp                   3.7.4.post0
aiohttp-cors              0.7.0
async-timeout             3.0.1
attrs                     23.1.0
certifi                   2023.7.22
chardet                   4.0.0
distro                    1.6.0
idna                      3.4
idna-ssl                  1.1.0
importlib-resources       6.0.1
Jinja2                    3.0.1
jsonschema                3.2.0
jsonschema-specifications 2023.7.1
MarkupSafe                2.1.3
multidict                 6.0.4
pip                       23.2.1
pkgutil_resolve_name      1.3.10
prompt-toolkit            3.0.39
psutil                    5.8.0
py-cpuinfo                8.0.0
pyrsistent                0.19.3
raven                     6.10.0
referencing               0.30.2
rpds-py                   0.9.2
sentry-sdk                1.3.1
setuptools                68.0.0
six                       1.16.0
typing                    3.7.4.3
typing_extensions         4.8.0
urllib3                   2.0.6
wcwidth                   0.2.6
yarl                      1.9.2
zipp                      3.16.2
zipstream                 1.1.4
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
thibault@R2D2laptop:~$ 

à noter qu'à chaque fois à l'install j'ai une erreur, cette foisi j'ai dit OK pour l'envoyer à ubuntu, mais je ne sais pas ce que c'est.

Question 1) y-a-il une solution pour récupérer les logs de l'installation pour voir ce qui s'est bien passé et ce qui s'est moins bien passé ?

Question 2) Y-a-til une solution pour retrouver les logs de l'erreur dont j'ai autorisé la remontée à ubuntu pour en connaitre la teneur ?

Question 3) est-ce que ça vous inspire quelque chose ?

question 4) sans nouveau retour de votre part j'aurais volontiers tenté la même réinstallation mais en cochant "formatage de la partition de reinstallation"
mais alors la partie grub de la partition sda7 où il y a ubuntu serait à réécrire avec peut-être un risque de souci (je précise que la méthode au § 2.2 stipule expressément de ne pas cocher le formatage de la partition).
Je pensais tenter ça en me disant que peut-être comme à l'install il voit python 3 en /usr/local/bin/python3
il le remet au même endroit.
Mais c'est peut-être idiot, car il est sensé effacer tout de la précédente install, non ? sauf la partie /home slon la doc.

Que pensez vous de tout ça ?

Dernière modification par net_thibault (Le 26/11/2023, à 21:23)

Hors ligne

#12 Le 27/11/2023, à 11:43

net_thibault

Re : Problème Python après réinstall Ubuntu 20.04

Ce qui est incroyable c'est qu'avec le même DVD ubuntu 20.04, en faisant une install sur un SSD externe raccordé en USB (cf. https://forum.ubuntu-fr.org/viewtopic.php?id=2080319),
j'obtiens un Python3 à l'emplacement nominal :

thibault@R2D2laptop:~$ which python3
/usr/bin/python3
thibault@R2D2laptop:~$ which openssl
/usr/bin/openssl
thibault@R2D2laptop:~$ which pip
/usr/bin/pip
thibault@R2D2laptop:~$ which pip3
/usr/bin/pip3

j'ajoute qu'avec cette install sur SSD je n'ai aucun problème de SSL avec pip list

alors qu'avec le même DVD  ubuntu 20.04, en faisant une install de zéro guidée par :
https://doc.ubuntu-fr.org/reinstallation_ubuntu
en suivant le paragraphe § 2.2

j'obtiens :

thibault@R2D2laptop:~$ which python3
/usr/local/bin/python3
thibault@R2D2laptop:~$ 
thibault@R2D2laptop:~$ which pip
/home/thibault/.local/bin/pip
thibault@R2D2laptop:~$ which openssl
/usr/bin/openssl

et les problèmes de SSL avec pip list (cf ci-dessus)

Comme j'ai vérifié immédiatement après l'installation on peut dire que la différence est la méthode d'installation.

j'ai suivi la méthode d'installation :
https://doc.ubuntu-fr.org/reinstallation_ubuntu
en suivant le paragraphe § 2.2 à la lettre la preuve c'est que ubuntu20.04 fonctionne bien, que les logiciels que j'avais installé ont disparu
et que j'ai conservé intact le répertoire /home

Je ne comprends pas du tout, comment c'est possible qu'ubuntu intalle python3 en
/usr/local/bin/python3 à la différence de l'autre installation.

J'aimerai beaucoup que les experts de l'installation d'ubuntu me donnent leur avis sur la marche à suivre,
car j'ai pensé à refaire la même réinstallation cette fois ci en cochant la case formatter la partition
mais je me demande :
- si la méthode est erronée et si ça ne va pas faire que la partie grub de la partition sda7 soit endommagée et ne plus booter
- si pour une raison x ou y ça ne va pas continuer à mettre python3 là où il ne faut pas
en tout cas je ne voudrais pas en faisant cette tentative aggraver la situation

Dernière modification par net_thibault (Le 27/11/2023, à 15:19)

Hors ligne

#13 Le 27/11/2023, à 19:43

Nuliel

Re : Problème Python après réinstall Ubuntu 20.04

Je comprends pas cette histoire de ne pas formater / . Je me demande si c'est possible que l'ancienne installation soit mélangée à la nouvelle installation. En d'autres termes je comprends pas ce qu'il y a dans la doc

Dernière modification par Nuliel (Le 27/11/2023, à 19:44)

Hors ligne

#14 Le 27/11/2023, à 20:03

geole

Re : Problème Python après réinstall Ubuntu 20.04

Bonjour

C est assez clair, Le paragraphe de la doc dit

Le système de fichier sur /dev/sd/XNN assigné à / n'a pas été marqué pour être formaté.
Les dossiers contenant les fichiers systèmes (/etc, /lib, /usr, /var, ...) qui existent déjà sous tous les points de montages
seront supprimés durant l'installation.
Veuillez vous assurer que vos données importantes ont été sauvegardées avant l'installation.

Cependant le répertoire /home est bien conservé. Cliquez sur «Continuer».

Cela aurait été été mieux    qu il donne la liste exhaustive plutôt qu il mette  des points de suspension
ou qu il donne la liste des répertoires conservés car il n y a probablement pas que /home

Je sais qu'il y a aussi /boot. Il semblerait qu'il y ait aussi /usr et ....

Rien  ne dit que c'est encore vrai avec le nouvel installateur. Subiquity si je ne me trompe pas de nom.

Dernière modification par geole (Le 27/11/2023, à 21:14)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#15 Le 27/11/2023, à 20:55

net_thibault

Re : Problème Python après réinstall Ubuntu 20.04

Donc on est bien d'accord que selon la Doc  /usr est effacé et que ça ne devrait rien changer de cocher la partie formatage de la partition.

Maintenant à votre avis si je coche est-ce que ça pourrait être pire sachant que j'ai cette erreur à l'installation et je ne sais pas laquelle
(ni si je pourrais avoir des logs dessus sur le PC) ?

Je ne sais pas ce qu'est ce nouvel installateur ni où on peut voir quel est son nom dans le PC

Le truc qui serait aussi intéressant c'est d'essayer de comprendre pourquoi quand je fais l'install sur un SSD en USB, Python est mis à un endroit et je n'ai pas de souci de pip list
et pourquoi avec le même DVD il met Python dans un autre répertoire en suivant la méthode et le paragraphe 2.2. et j'ai un souci de pip list

Dernière modification par net_thibault (Le 27/11/2023, à 20:59)

Hors ligne

#16 Le 27/11/2023, à 20:57

net_thibault

Re : Problème Python après réinstall Ubuntu 20.04

Nuliel a écrit :

Je comprends pas cette histoire de ne pas formater / . Je me demande si c'est possible que l'ancienne installation soit mélangée à la nouvelle installation. En d'autres termes je comprends pas ce qu'il y a dans la doc

On est bien d'accord que c'est bien écrit de ne pas formatter dans la doc.

Cela dit on peut comprendre pourquoi parce que là l'idée est de conserver le /home donc si on formatte on le perd.

Hors ligne

#17 Le 27/11/2023, à 21:22

geole

Re : Problème Python après réinstall Ubuntu 20.04

En clair, Il y a des utilisateurs qui ont leurs données personnelles dans /home. C'est pour cela que cette possibilité existe..
A mon avis, ces possibilités ne devraitent pas exister: Si les données n'étaient pas dans home, tout pourrait être reformaté.

Le nouvel installateur est arrivé avec la version 23.04. A mon avis il n'est pas encore totalement au point donc l'ancien n'est pas encore supprimé.

Dernière modification par geole (Le 27/11/2023, à 21:23)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#18 Le 27/11/2023, à 23:05

net_thibault

Re : Problème Python après réinstall Ubuntu 20.04

Je viens de vérifier mais pour pouvez verifier aussi dans le boot-info présenté page 1 à cette url :
https://forum.ubuntu-fr.org/viewtopic.php?id=2081903

je n'ai pas de partition dédiée pour /home c'est bien la même que la partition ubuntu.

Cela dit si ça a une chance de régler le problème je peux retenter en cochant formatter la partition sda7, car j'ai une sauvegarde de mes données,
je voudrais juste éviter que ça n'empire...

Hors ligne

#19 Le 27/11/2023, à 23:11

geole

Re : Problème Python après réinstall Ubuntu 20.04

Si tes données sont sauvées, tu peux tout détruire pour créer du neuf.


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#20 Le 28/11/2023, à 10:31

net_thibault

Re : Problème Python après réinstall Ubuntu 20.04

geole a écrit :

Si tes données sont sauvées, tu peux tout détruire pour créer du neuf.

Ok je ferai l'essai.

Pour info dans la procédure je suis bien :
"
...
Double-cliquez sur la partition système Ubuntu que vous voulez remplacer.
Une fenêtre s'ouvre, qui s'appelle «modifier une partition». Dans cette fenêtre, vous avez plusieurs zones:
«taille de la nouvelle partition»: conservez la taille actuelle.
«Utiliser comme»: choisir le format actuel de la partition1).
«Formater la partition»: ne cochez pas la case.
«Point de montage»: ouvrir la liste déroulante et choisir «/» (réinstallation sur la racine de la partition).
Validez. Un message d'erreur indique que vous n'avez pas demandé de formatage: Pour Ubuntu 18.04 et versions suivantes, le message est :
..."

Mais une fois que j'ai double-cliqué sur la partition, que j'ai choisi qu'elle soit en ext4, de ne pas formatter (jusqu'ici), etc., à un moment l'afficheur passe de la partition (sda7 cf boot-info https://forum.ubuntu-fr.org/viewtopic.php?id=2081903 page 1) au disque complet.

alors par peur de risque d'erreur d'installation je clique sur la partition sda7 avant de cliquer sur continuer.

ça ne pourrait pas être la cause de mon souci d'installation qu'il m'affiche à chaque fois ?

Dernière modification par net_thibault (Le 28/11/2023, à 10:32)

Hors ligne

#21 Le 28/11/2023, à 11:12

geole

Re : Problème Python après réinstall Ubuntu 20.04

Bonjour
«Formater la partition»:   Il faut  cochez  la case si tu veux que les vieilles choses disparaissent.


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#22 Le 28/11/2023, à 22:07

net_thibault

Re : Problème Python après réinstall Ubuntu 20.04

Bonsoir, je préfère reposer une question pour être sûr, parce que comme je ne connais pas pour réparer ça sera long, donc voilà :

je fais :
Procédure
Démarrez votre Live CD ou votre Live USB, et lancez l'installation.
Lors de l'installation de Ubuntu, à l'étape "Type d'installation" (Etape 3), il faut choisir "Autre chose"
Puis cliquer sur «Suivant», ce qui affiche la table (la liste) des partitions existantes.
Double-cliquez sur la partition système Ubuntu que vous voulez remplacer.
Une fenêtre s'ouvre, qui s'appelle «modifier une partition». Dans cette fenêtre, vous avez plusieurs zones:
«taille de la nouvelle partition»: conservez la taille actuelle.
«Utiliser comme»: choisir le format actuel de la partition => je choisis ext4
«Formater la partition» => je coche
=> J'ajoute mettre le point de montage '/' dans la partition

Tout ça c'est OK.

Mais après il m'écrit :

Périphérique ou sera installé le programme de démarage :
/dev/sda ATA TOSHIBA THNSNJ25 (256.1 GB)

C'est donc là où sera mis le grub.

Mais j'ai déjà un grub là puisque j'ai un dual boot, est-ce qu'il ne faudrait pas plutot que je mette :
Périphérique ou sera installé le programme de démarage :
/dev/sda7

soit la partition que je fais effacer et qu'il faut recréer.

car GRUB soit être forcément aux 2 endroits :
- il doit être sur SDA (ce qu'il est déjà) pour que j'ai un dual boot
- mais il faut qu'il soit aussi sur /dev/sda7 pour que quand le grub de SDA l'envoie sur sda7 il y ait un bout de code qui démarre sur la partition sda7, non ?

Merci de me confirmer ou d'infirmer en me donnant un petite explication s'il vous plait

Dernière modification par net_thibault (Le 28/11/2023, à 22:08)

Hors ligne

#23 Le 28/11/2023, à 22:19

geole

Re : Problème Python après réinstall Ubuntu 20.04

Il faut que tu choisisses SDA ce qui t'est d'alleurs proposé. Sinon l'ancien boot ne sera pas détruit, Il continuera de pointer vers un secteur de SDA7 qui a toutes les chances de ne plus être le bon. Alors que si tu choisis SDA, il mettra à jour le pointeur vers SDA7.
Il n'y a pas lieu de choisir un autre disque que SDA puisque tu vas  installer le logiciel dans une partition du disque SDA.

Dernière modification par geole (Le 28/11/2023, à 22:20)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne

#24 Le 28/11/2023, à 22:29

net_thibault

Re : Problème Python après réinstall Ubuntu 20.04

OK merci
je disais ça car dans le boot-info du PC qu'on peut voir à l'url :
https://forum.ubuntu-fr.org/viewtopic.php?id=2081903 page 1

on peut voir le Grub dans le SDA et un morceau aussi dans le sda7
donc ça m'inquiétait que pour reinstaller une partition sda7 il n'aurait mis de grub que sur SDA...

C'est clair que je ne connais pas mais comme je ne sais pas réparer je préfère éviter de me tromper plutot que d'aggraver la situation.

Hors ligne

#25 Le 28/11/2023, à 23:06

geole

Re : Problème Python après réinstall Ubuntu 20.04

 => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    for (,msdos7)/boot/grub. It also embeds following components:

C'est la traduction de boot-info. Voici la réalité d'un boot en mode legacy.
1) Le bios lance l'exécution du logiciel stocké dans les 446 premiers octets du disque déclaré prioritaire par l'utilisateur,
2) Dans ces 446 octets, boot-info à vu que la suite se passerait dans le secteur 1 du disque.
3) Dans cette partie qui va du secteur 1 au secteur 2047'  boot-info a vu que la suite est dans le fichier /boot/grub stocké dans la partition 7. Sauf erreur de ma part' il y va par connaissance du N° de secteur oû est stocké ce fichier. Si pour une raison X ou Y, ce fichier change de place, cela plante.
4) Le contenu de ce fichier est affiché et tu peux choisir quel noyau lancer.

Donc si tu décides de ne pas mettre dans le début du disque, le bios ne sera pas  au courant et ne lancera pas le ubuntu que tu viens d'installer.  Le choix de ne pas mettre le grub dans SDA n'est à faire que quand on dispose d'un autre logiciel qu'on veut continuer à utiliser comme "dirigeant". Il faudra alors lui faire prendre en charge la présentation du choix de boot de ce nouvel O.S.

Dernière modification par geole (Le 28/11/2023, à 23:19)


Les grilles de l'installateur https://doc.ubuntu-fr.org/tutoriel/inst … _subiquity
"gedit admin:///etc/fstab" est proscrit,  utilisez "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY xdg-open /etc/fstab" Voir  https://doc.ubuntu-fr.org/gedit
Les partitions EXT4 des disques externes => https://forum.ubuntu-fr.org/viewtopic.p … #p22697248

Hors ligne