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 01/03/2021, à 09:32

Hilderik

Ubuntu cleaner

Bonjour,

ce logiciel efficient ?

Impossible de l'installer et je ne comprends pas pourquoi ?

sudo apt install ubuntu-cleaner
E: dpkg a été interrompu. Il est nécessaire d'utiliser « sudo dpkg --configure -a » pour corriger le problème.

Hors ligne

#2 Le 01/03/2021, à 10:12

xubu1957

Re : Ubuntu cleaner


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] 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 01/03/2021, à 13:20

Hilderik

Re : Ubuntu cleaner

Merci pour la réponse.

Impossible de télécharger les paquets (d'après ce que je comprends le proxy bloque):

sudo add-apt-repository ppa:ubuntu-cleaner

réponses:

ssl.CertificateError: hostname 'launchpad.net' doesn't match either of.....

puis

During handling of the above exception, another exception occurred:
.....
.....
.....
ssl.CertificateError: hostname 'launchpad.net' doesn't match either of...

Un autre moyen de l'installer ? via la logithèque ? mais plus de moteur de recherche...:/

Hors ligne

#4 Le 01/03/2021, à 13:30

xubu1957

Re : Ubuntu cleaner

sudo dpkg --configure -a

donnait un retour ?


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] 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 01/03/2021, à 13:31

lool_lauris

Re : Ubuntu cleaner

Salut,

T'es-tu rendu ici ? => https://launchpad.net/~gerardpuig/+archive/ubuntu/ppa

Également ici où tout y indiqué => https://github.com/gerardpuig/ubuntu-cleaner

https://github.com/gerardpuig/ubuntu-cleaner a écrit :

Installation

Installation via PPA:

$ sudo apt install software-properties-common
$ sudo add-apt-repository ppa:gerardpuig/ppa
$ sudo apt update
$ sudo apt install ubuntu-cleaner

Installation via .DEB (for unsupported Ubuntu versions only):

$ wget https://launchpad.net/~gerardpuig/+arch … -1_all.deb
$ sudo apt install ./ubuntu-cleaner_1.0.4-1_all.deb
$ rm ubuntu-cleaner_1.0.4-1_all.deb


EDIT :
La commande que tu as indiquée pour installer le ppa n'existe pas :
sudo add-apt-repository ppa:ubuntu-cleaner

Dernière modification par lool_lauris (Le 01/03/2021, à 13:33)


Soutenez le Libre => http://www.april.org/

Hors ligne

#6 Le 01/03/2021, à 14:06

Hilderik

Re : Ubuntu cleaner

xubu1957 a écrit :
sudo dpkg --configure -a

donnait un retour ?

Aucun retour pour la commande proposée

Hors ligne

#7 Le 01/03/2021, à 14:14

lool_lauris

Re : Ubuntu cleaner

Ce serait bien que tu lises les instructions :

https://github.com/gerardpuig/ubuntu-cleaner a écrit :

Installation

Installation via PPA:

$ sudo apt install software-properties-common
$ sudo add-apt-repository ppa:gerardpuig/ppa
$ sudo apt update
$ sudo apt install ubuntu-cleaner

Installation via .DEB (for unsupported Ubuntu versions only):

$ wget https://launchpad.net/~gerardpuig/+arch … -1_all.deb
$ sudo apt install ./ubuntu-cleaner_1.0.4-1_all.deb
$ rm ubuntu-cleaner_1.0.4-1_all.deb


Soutenez le Libre => http://www.april.org/

Hors ligne

#8 Le 02/03/2021, à 07:58

Hilderik

Re : Ubuntu cleaner

Voici le retour des lignes de commandes et même problème avec "launchpad", désolé mais pour moi tout cela est du langage extraterrestre, c'est pas faute d'essayer de comprendre.....

 sudo apt install ubuntu-cleaner
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
E: Impossible de trouver le paquet ubuntu-cleaner

via l'autre:

wget https://launchpad.net/~gerardpuig/+archive/ubuntu/ppa/+files/ubuntu-cleaner_1.0.4-1_all.deb
--2021-03-02 08:00:01--  https://launchpad.net/~gerardpuig/+archive/ubuntu/ppa/+files/ubuntu-cleaner_1.0.4-1_all.deb
Connexion à 172.16.0.1:3128… connecté.
requête Proxy transmise, en attente de la réponse… 303 See Other
Emplacement : https://launchpadlibrarian.net/299738481/ubuntu-cleaner_1.0.4-1_all.deb [suivant]
--2021-03-02 08:00:01--  https://launchpadlibrarian.net/299738481/ubuntu-cleaner_1.0.4-1_all.deb
Connexion à 172.16.0.1:3128… connecté.
Échec de tunnel du serveur mandataire (« proxy ») : Temporary RedirectIncapable d’établir une connexion SSL.
sudo apt install ./ubuntu-cleaner_1.0.4-1_all.deb
Lecture des listes de paquets... Fait
E: Le fichier donné ./ubuntu-cleaner_1.0.4-1_all.deb n'est pas compris sur la ligne de commande
rm ubuntu-cleaner_1.0.4-1_all.deb
rm: impossible de supprimer 'ubuntu-cleaner_1.0.4-1_all.deb': Aucun fichier ou dossier de ce type
Échec de tunnel du serveur mandataire (« proxy ») : Temporary RedirectIncapable d’établir une connexion SSL.

C'est bien le proxy qui bloque ? quoi ? on se demande....

Dernière modification par Hilderik (Le 02/03/2021, à 08:08)

Hors ligne

#9 Le 02/03/2021, à 08:17

xubu1957

Re : Ubuntu cleaner

Bonjour,

Montre les retours :

sudo apt install software-properties-common
sudo add-apt-repository ppa:gerardpuig/ppa
sudo apt update

Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] 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

#10 Le 02/03/2021, à 09:31

Hilderik

Re : Ubuntu cleaner

Bonjour,

merci pour l'aide.
De ce que je comprends, il ne veut pas installer launchpad pour cause de sécurité....:/

sudo apt install software-properties-common
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
software-properties-common est déjà la version la plus récente (0.96.24.32.14).
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
  linux-headers-5.4.0-62-generic linux-hwe-5.4-headers-5.4.0-54
  linux-hwe-5.4-headers-5.4.0-56 linux-hwe-5.4-headers-5.4.0-58
  linux-hwe-5.4-headers-5.4.0-59 linux-hwe-5.4-headers-5.4.0-60
  linux-hwe-5.4-headers-5.4.0-62 linux-image-5.4.0-62-generic
  linux-modules-5.4.0-62-generic linux-modules-extra-5.4.0-62-generic
Veuillez utiliser « sudo apt autoremove » pour les supprimer.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 14 non mis à jour.
sudo add-apt-repository ppa:gerardpuig/ppa
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 326, in get_ppa_info
    ret = get_ppa_info_from_lp(user, ppa)
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 101, in get_ppa_info_from_lp
    return get_info_from_lp(lp_url)
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 95, in get_info_from_lp
    return get_info_from_https(lp_url, True)
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 88, in get_info_from_https
    data = _get_https_content_py3(url, accept_json)
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 120, in _get_https_content_py3
    lp_page = urllib.request.urlopen(request, cafile=LAUNCHPAD_PPA_CERT)
  File "/usr/lib/python3.6/urllib/request.py", line 223, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python3.6/urllib/request.py", line 526, in open
    response = self._open(req, data)
  File "/usr/lib/python3.6/urllib/request.py", line 544, in _open
    '_open', req)
  File "/usr/lib/python3.6/urllib/request.py", line 504, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.6/urllib/request.py", line 1368, in https_open
    context=self._context, check_hostname=self._check_hostname)
  File "/usr/lib/python3.6/urllib/request.py", line 1325, in do_open
    encode_chunked=req.has_header('Transfer-encoding'))
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/usr/lib/python3.6/http/client.py", line 1442, in connect
    server_hostname=server_hostname)
  File "/usr/lib/python3.6/ssl.py", line 407, in wrap_socket
    _context=self, _session=session)
  File "/usr/lib/python3.6/ssl.py", line 817, in __init__
    self.do_handshake()
  File "/usr/lib/python3.6/ssl.py", line 1077, in do_handshake
    self._sslobj.do_handshake()
  File "/usr/lib/python3.6/ssl.py", line 694, in do_handshake
    match_hostname(self.getpeercert(), self.server_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'launchpad.net' doesn't match either of.....


During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 137, in <module>
    shortcut = shortcut_handler(line)
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 868, in shortcut_handler
    ret = factory(shortcut)
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 398, in shortcut_handler
    return PPAShortcutHandler(shortcut)
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 355, in __init__
    info = get_ppa_info(self.shortcut)
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 338, in get_ppa_info
    _get_suggested_ppa_message(user, ppa))
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 295, in _get_suggested_ppa_message
    lp_user = get_info_from_lp(LAUNCHPAD_USER_API % user)
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 95, in get_info_from_lp
    return get_info_from_https(lp_url, True)
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 88, in get_info_from_https
    data = _get_https_content_py3(url, accept_json)
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 120, in _get_https_content_py3
    lp_page = urllib.request.urlopen(request, cafile=LAUNCHPAD_PPA_CERT)
  File "/usr/lib/python3.6/urllib/request.py", line 223, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python3.6/urllib/request.py", line 526, in open
    response = self._open(req, data)
  File "/usr/lib/python3.6/urllib/request.py", line 544, in _open
    '_open', req)
  File "/usr/lib/python3.6/urllib/request.py", line 504, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.6/urllib/request.py", line 1368, in https_open
    context=self._context, check_hostname=self._check_hostname)
  File "/usr/lib/python3.6/urllib/request.py", line 1325, in do_open
    encode_chunked=req.has_header('Transfer-encoding'))
  File "/usr/lib/python3.6/http/client.py", line 1281, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 980, in send
    self.connect()
  File "/usr/lib/python3.6/http/client.py", line 1442, in connect
    server_hostname=server_hostname)
  File "/usr/lib/python3.6/ssl.py", line 407, in wrap_socket
    _context=self, _session=session)
  File "/usr/lib/python3.6/ssl.py", line 817, in __init__
    self.do_handshake()
  File "/usr/lib/python3.6/ssl.py", line 1077, in do_handshake
    self._sslobj.do_handshake()
  File "/usr/lib/python3.6/ssl.py", line 694, in do_handshake
    match_hostname(self.getpeercert(), self.server_hostname)
  File "/usr/lib/python3.6/ssl.py", line 327, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname 'launchpad.net' doesn't match either of......
sudo apt update
Atteint :1 http://fr.archive.ubuntu.com/ubuntu bionic InRelease
Atteint :2 http://fr.archive.ubuntu.com/ubuntu bionic-updates InRelease        
Atteint :3 http://fr.archive.ubuntu.com/ubuntu bionic-backports InRelease      
Ign :4 http://ppa.launchpad.net/linaro-maintainers/toolchain/ubuntu bionic InRelease
Err :5 http://ppa.launchpad.net/linaro-maintainers/toolchain/ubuntu bionic Release
  404  Not Found [IP : 91.189.95.85 80]
Atteint :6 http://archive.canonical.com/ubuntu bionic InRelease                
Réception de :7 http://security.ubuntu.com/ubuntu bionic-security InRelease [88,7 kB]
Réception de :8 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 Metadata [60,4 kB]
Réception de :9 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [48,9 kB]
Réception de :10 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 DEP-11 Metadata [2464 B]
Lecture des listes de paquets... Fait              
E: Le dépôt http://ppa.launchpad.net/linaro-maintainers/toolchain/ubuntu bionic Release n'a pas de fichier Release.
N: Les mises à jour depuis un tel dépôt ne peuvent s'effectuer de manière sécurisée, et sont donc désactivées par défaut.
N: Voir les pages de manuel d'apt-secure(8) pour la création des dépôts et les détails de configuration d'un utilisateur.

Un autre moyen d'installer ce logiciel, ce paquet ? smile

Hors ligne

#11 Le 02/03/2021, à 09:35

xubu1957

Re : Ubuntu cleaner

Je vois :

E: Le dépôt http://ppa.launchpad.net/linaro-maintainers/toolchain/ubuntu bionic Release n'a pas de fichier Release.

un ppa non maintenu depuis 449 semaines > linaro-maintainers, pour des versions périmées

_ _ _

Et pour les messages d'erreurs concernant python, je ne pourrais pas t'aider.

Le seul python que j'ai vu, c'était il y a plus de cinquante ans, au vivarium de l'ancien jardin zoologique de Marseille.

Je ne suis qu'un lambda, non connaisseur des techniques de codage.

Dernière modification par xubu1957 (Le 02/03/2021, à 09:41)


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] 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

#12 Le 02/03/2021, à 11:19

Hilderik

Re : Ubuntu cleaner

xubu1957 a écrit :

Et pour les messages d'erreurs concernant python, je ne pourrais pas t'aider.

Le seul python que j'ai vu, c'était il y a plus de cinquante ans, au vivarium de l'ancien jardin zoologique de Marseille.

Je ne suis qu'un lambda, non connaisseur des techniques de codage.

lol:lol:!
Merci pour l'aide mais les tentatives pour installer les autres paquets que tu proposes, sont des échecs également, le proxy bloque....:/ et/ou je ne sais pas installer.

Hors ligne

#13 Le 02/03/2021, à 12:40

xubu1957

Re : Ubuntu cleaner

Vu > launchpad.net/variety/+bug/1509621

et > askubuntu.com/questions/156348/how-can-i-get-add-apt-repository-to-work

L'heure de l'ordinateur est-elle correcte ?

_ _ _

Montre aussi :

dpkg -l | grep python

Dernière modification par xubu1957 (Le 02/03/2021, à 12:43)


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] 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

#14 Le 02/03/2021, à 14:37

Hilderik

Re : Ubuntu cleaner

Voici le retour de la commande et "oui" le pc est à l'heure; les certificats ont été réinstallés

dpkg -l | grep python
ii  libpython-stdlib:amd64                        2.7.15~rc1-1                                     amd64        interactive high-level object-oriented language (default python version)
ii  libpython2.7:amd64                            2.7.17-1~18.04ubuntu1.5                          amd64        Shared Python runtime library (version 2.7)
ii  libpython2.7-minimal:amd64                    2.7.17-1~18.04ubuntu1.5                          amd64        Minimal subset of the Python language (version 2.7)
ii  libpython2.7-stdlib:amd64                     2.7.17-1~18.04ubuntu1.5                          amd64        Interactive high-level object-oriented language (standard library, version 2.7)
ii  libpython3-stdlib:amd64                       3.6.7-1~18.04                                    amd64        interactive high-level object-oriented language (default python3 version)
ii  libpython3.6:amd64                            3.6.9-1~18.04ubuntu1.4                           amd64        Shared Python runtime library (version 3.6)
ii  libpython3.6-minimal:amd64                    3.6.9-1~18.04ubuntu1.4                           amd64        Minimal subset of the Python language (version 3.6)
ii  libpython3.6-stdlib:amd64                     3.6.9-1~18.04ubuntu1.4                           amd64        Interactive high-level object-oriented language (standard library, version 3.6)
ii  python                                        2.7.15~rc1-1                                     amd64        interactive high-level object-oriented language (default version)
ii  python-apt-common                             1.6.5ubuntu0.5                                   all          Python interface to libapt-pkg (locales)
ii  python-asn1crypto                             0.24.0-1                                         all          Fast ASN.1 parser and serializer (Python 2)
ii  python-attr                                   17.4.0-2                                         all          Attributes without boilerplate (Python 2)
ii  python-automat                                0.6.0-1                                          all          Self-service finite-state machines for the programmer on the go
ii  python-cairo:amd64                            1.16.2-1                                         amd64        Python bindings for the Cairo vector graphics library
ii  python-cffi-backend                           1.11.5-1                                         amd64        Foreign Function Interface for Python calling C code - backend
ii  python-click                                  6.7-3                                            all          Simple wrapper around optparse for powerful command line utilities - Python 2.7
ii  python-colorama                               0.3.7-1                                          all          Cross-platform colored terminal text in Python - Python 2.x
ii  python-constantly                             15.1.0-1                                         all          Symbolic constants in Python
ii  python-cryptography                           2.1.4-1ubuntu1.4                                 amd64        Python library exposing cryptographic recipes and primitives (Python 2)
ii  python-enum34                                 1.1.6-2                                          all          backport of Python 3.4's enum package
ii  python-gobject-2                              2.28.6-12ubuntu3                                 amd64        deprecated static Python bindings for the GObject library
ii  python-gtk2                                   2.24.0-5.1ubuntu2                                amd64        Python bindings for the GTK+ widget set
ii  python-hyperlink                              17.3.1-2                                         all          Immutable, Pythonic, correct URLs.
ii  python-idna                                   2.6-1                                            all          Python IDNA2008 (RFC 5891) handling (Python 2)
ii  python-incremental                            16.10.1-3                                        all          Library for versioning Python projects.
ii  python-ipaddress                              1.0.17-1                                         all          Backport of Python 3 ipaddress module (Python 2)
ii  python-lzma                                   0.5.3-3                                          amd64        Python bindings for liblzma
ii  python-minimal                                2.7.15~rc1-1                                     amd64        minimal subset of the Python language (default version)
ii  python-openssl                                17.5.0-1ubuntu1                                  all          Python 2 wrapper around the OpenSSL library
ii  python-pam                                    0.4.2-13.2ubuntu4                                amd64        Python interface to the PAM library
ii  python-parsley                                1.2-1                                            all          pattern-matching language based on OMeta and Python
ii  python-pkg-resources                          39.0.1-2                                         all          Package Discovery and Resource Access using pkg_resources
ii  python-psutil                                 5.4.2-1ubuntu0.1                                 amd64        module providing convenience functions for managing processes
ii  python-pyasn1                                 0.4.2-3                                          all          ASN.1 library for Python (Python 2 module)
ii  python-pyasn1-modules                         0.2.1-0.2                                        all          Collection of protocols modules written in ASN.1 language
ii  python-serial                                 3.4-2                                            all          pyserial - module encapsulating access for the serial port
ii  python-service-identity                       16.0.0-2                                         all          Service identity verification for pyOpenSSL (Python 2 module)
ii  python-six                                    1.11.0-2                                         all          Python 2 and 3 compatibility library (Python 2 interface)
ii  python-talloc                                 2.1.10-2ubuntu1                                  amd64        hierarchical pool based memory allocator - Python bindings
ii  python-twisted                                17.9.0-2ubuntu0.1                                all          Event-based framework for internet applications (dependency package)
ii  python-twisted-bin:amd64                      17.9.0-2ubuntu0.1                                amd64        Event-based framework for internet applications
ii  python-twisted-core                           17.9.0-2ubuntu0.1                                all          Event-based framework for internet applications
ii  python-txsocksx                               1.15.0.2-1                                       all          SOCKS{4,4a,5} endpoints for Twisted
ii  python-zope.interface                         4.3.2-1build2                                    amd64        Interfaces for Python
ii  python2.7                                     2.7.17-1~18.04ubuntu1.5                          amd64        Interactive high-level object-oriented language (version 2.7)
ii  python2.7-minimal                             2.7.17-1~18.04ubuntu1.5                          amd64        Minimal subset of the Python language (version 2.7)
ii  python3                                       3.6.7-1~18.04                                    amd64        interactive high-level object-oriented language (default python3 version)
ii  python3-apport                                2.20.9-0ubuntu7.23                               all          Python 3 library for Apport crash report handling
ii  python3-apt                                   1.6.5ubuntu0.5                                   amd64        Python 3 interface to libapt-pkg
ii  python3-aptdaemon                             1.1.1+bzr982-0ubuntu19.5                         all          Python 3 module for the server and client of aptdaemon
ii  python3-aptdaemon.gtk3widgets                 1.1.1+bzr982-0ubuntu19.5                         all          Python 3 GTK+ 3 widgets to run an aptdaemon client
ii  python3-asn1crypto                            0.24.0-1                                         all          Fast ASN.1 parser and serializer (Python 3)
ii  python3-brlapi                                5.5-4ubuntu2.0.1                                 amd64        Braille display access via BRLTTY - Python3 bindings
ii  python3-cairo:amd64                           1.16.2-1                                         amd64        Python3 bindings for the Cairo vector graphics library
ii  python3-certifi                               2018.1.18-2                                      all          root certificates for validating SSL certs and verifying TLS hosts (python3)
ii  python3-cffi-backend                          1.11.5-1                                         amd64        Foreign Function Interface for Python 3 calling C code - runtime
ii  python3-chardet                               3.0.4-1                                          all          universal character encoding detector for Python3
ii  python3-commandnotfound                       18.04.5                                          all          Python 3 bindings for command-not-found.
ii  python3-crypto                                2.6.1-8ubuntu2                                   amd64        cryptographic algorithms and protocols for Python 3
ii  python3-cryptography                          2.1.4-1ubuntu1.4                                 amd64        Python library exposing cryptographic recipes and primitives (Python 3)
ii  python3-cups                                  1.9.73-2                                         amd64        Python3 bindings for CUPS
ii  python3-cupshelpers                           1.5.11-1ubuntu2                                  all          Python utility modules around the CUPS printing system
ii  python3-dateutil                              2.6.1-1                                          all          powerful extensions to the standard Python 3 datetime module
ii  python3-dbus                                  1.2.6-1                                          amd64        simple interprocess messaging system (Python 3 interface)
ii  python3-debconf                               1.5.66ubuntu1                                    all          interact with debconf from Python 3
ii  python3-debian                                0.1.32                                           all          Python 3 modules to work with Debian-related data formats
ii  python3-defer                                 1.0.6-2build1                                    all          Small framework for asynchronous programming (Python 3)
ii  python3-distro-info                           0.18ubuntu0.18.04.1                              all          information about distributions' releases (Python 3 module)
ii  python3-distupgrade                           1:18.04.42                                       all          manage release upgrades
ii  python3-gdbm:amd64                            3.6.9-1~18.04                                    amd64        GNU dbm database support for Python 3.x
ii  python3-gi                                    3.26.1-2ubuntu1                                  amd64        Python 3 bindings for gobject-introspection libraries
ii  python3-gi-cairo                              3.26.1-2ubuntu1                                  amd64        Python 3 Cairo bindings for the GObject library
ii  python3-httplib2                              0.9.2+dfsg-1ubuntu0.2                            all          comprehensive HTTP client library written for Python3
ii  python3-idna                                  2.6-1                                            all          Python IDNA2008 (RFC 5891) handling (Python 3)
ii  python3-keyring                               10.6.0-1                                         all          store and access your passwords safely - Python 3 version of the package
ii  python3-keyrings.alt                          3.0-1                                            all          alternate backend implementations for python3-keyring
ii  python3-launchpadlib                          1.10.6-1                                         all          Launchpad web services client library (Python 3)
ii  python3-lazr.restfulclient                    0.13.5-1                                         all          client for lazr.restful-based web services (Python 3)
ii  python3-lazr.uri                              1.0.3-2build1                                    all          library for parsing, manipulating, and generating URIs
ii  python3-louis                                 3.5.0-1ubuntu0.3                                 all          Python bindings for liblouis
ii  python3-macaroonbakery                        1.1.3-1                                          all          Higher-level macaroon operations for Python 3
ii  python3-mako                                  1.0.7+ds1-1                                      all          fast and lightweight templating for the Python 3 platform
ii  python3-markupsafe                            1.0-1build1                                      amd64        HTML/XHTML/XML string library for Python 3
ii  python3-minimal                               3.6.7-1~18.04                                    amd64        minimal subset of the Python language (default python3 version)
ii  python3-nacl                                  1.1.2-1build1                                    amd64        Python bindings to libsodium (Python 3)
ii  python3-netifaces                             0.10.4-0.1build4                                 amd64        portable network interface information - Python 3.x
ii  python3-oauth                                 1.0.1-5                                          all          Python 3 library implementing of the OAuth protocol
ii  python3-olefile                               0.45.1-1                                         all          Python module to read/write MS OLE2 files
ii  python3-pexpect                               4.2.1-1                                          all          Python 3 module for automating interactive applications
ii  python3-pil:amd64                             5.1.0-1ubuntu0.4                                 amd64        Python Imaging Library (Python3)
ii  python3-pkg-resources                         39.0.1-2                                         all          Package Discovery and Resource Access using pkg_resources
ii  python3-problem-report                        2.20.9-0ubuntu7.23                               all          Python 3 library to handle problem reports
ii  python3-protobuf                              3.0.0-9.1ubuntu1                                 amd64        Python 3 bindings for protocol buffers
ii  python3-ptyprocess                            0.5.2-1                                          all          Run a subprocess in a pseudo terminal from Python 3
ii  python3-pyatspi                               2.26.0+dfsg-1                                    all          Assistive Technology Service Provider Interface - Python3 bindings
ii  python3-pymacaroons                           0.13.0-1                                         all          Macaroon library for Python 3
ii  python3-renderpm:amd64                        3.4.0-3ubuntu0.1                                 amd64        python low level render interface
ii  python3-reportlab                             3.4.0-3ubuntu0.1                                 all          ReportLab library to create PDF documents using Python3
ii  python3-reportlab-accel:amd64                 3.4.0-3ubuntu0.1                                 amd64        C coded extension accelerator for the ReportLab Toolkit
ii  python3-requests                              2.18.4-2ubuntu0.1                                all          elegant and simple HTTP library for Python3, built for human beings
ii  python3-requests-unixsocket                   0.1.5-3                                          all          Use requests to talk HTTP via a UNIX domain socket - Python 3.x
ii  python3-rfc3339                               1.0-4                                            all          parser and generator of RFC 3339-compliant timestamps (Python 3)
ii  python3-secretstorage                         2.3.1-2                                          all          Python module for storing secrets - Python 3.x version
ii  python3-simplejson                            3.13.2-1                                         amd64        simple, fast, extensible JSON encoder/decoder for Python 3.x
ii  python3-six                                   1.11.0-2                                         all          Python 2 and 3 compatibility library (Python 3 interface)
ii  python3-software-properties                   0.96.24.32.14                                    all          manage the repositories that you install software from
ii  python3-speechd                               0.8.8-1ubuntu1                                   all          Python interface to Speech Dispatcher
ii  python3-systemd                               234-1build1                                      amd64        Python 3 bindings for systemd
ii  python3-tz                                    2018.3-2                                         all          Python3 version of the Olson timezone database
ii  python3-uno                                   1:6.0.7-0ubuntu0.18.04.10                        amd64        Python-UNO bridge
ii  python3-update-manager                        1:18.04.11.13                                    all          python 3.x module for update-manager
ii  python3-urllib3                               1.22-1ubuntu0.18.04.2                            all          HTTP library with thread-safe connection pooling for Python3
ii  python3-wadllib                               1.3.2-3ubuntu0.18.04.1                           all          Python 3 library for navigating WADL files
ii  python3-xdg                                   0.25-4ubuntu1.1                                  all          Python 3 library to access freedesktop.org standards
ii  python3-xkit                                  0.5.0ubuntu2                                     all          library for the manipulation of xorg.conf files (Python 3)
ii  python3-yaml                                  3.12-1build2                                     amd64        YAML parser and emitter for Python3
ii  python3-zope.interface                        4.3.2-1build2                                    amd64        Interfaces for Python3
ii  python3.6                                     3.6.9-1~18.04ubuntu1.4                           amd64        Interactive high-level object-oriented language (version 3.6)
ii  python3.6-minimal                             3.6.9-1~18.04ubuntu1.4                           amd64        Minimal subset of the Python language (version 3.6)

Hors ligne

#15 Le 02/03/2021, à 14:42

xubu1957

Re : Ubuntu cleaner

Teste cette simulation :

sudo apt install --simulate python3.7

comme dans ce fil récent > Le terminal ne s'ouvre plus

_ _ _

Montre aussi :

apt-cache policy python[0-9]

Dernière modification par xubu1957 (Le 02/03/2021, à 17:26)


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] 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

#16 Le 03/03/2021, à 08:15

Hilderik

Re : Ubuntu cleaner

Apparemment cela a été installé....

sudo apt install --simulate python3.7
[sudo] Mot de passe de salle : 
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
  linux-hwe-5.4-headers-5.4.0-54 linux-hwe-5.4-headers-5.4.0-56
  linux-hwe-5.4-headers-5.4.0-58 linux-hwe-5.4-headers-5.4.0-59
  linux-hwe-5.4-headers-5.4.0-60 linux-hwe-5.4-headers-5.4.0-62
Veuillez utiliser « sudo apt autoremove » pour les supprimer.
Les paquets supplémentaires suivants seront installés : 
  libpython3.7-minimal libpython3.7-stdlib python3.7-minimal
Paquets suggérés :
  python3.7-venv python3.7-doc binfmt-support
Les NOUVEAUX paquets suivants seront installés :
  libpython3.7-minimal libpython3.7-stdlib python3.7 python3.7-minimal
0 mis à jour, 4 nouvellement installés, 0 à enlever et 14 non mis à jour.
Inst libpython3.7-minimal (3.7.5-2~18.04 Ubuntu:18.04/bionic-updates [amd64])
Inst python3.7-minimal (3.7.5-2~18.04 Ubuntu:18.04/bionic-updates [amd64])
Inst libpython3.7-stdlib (3.7.5-2~18.04 Ubuntu:18.04/bionic-updates [amd64])
Inst python3.7 (3.7.5-2~18.04 Ubuntu:18.04/bionic-updates [amd64])
Conf libpython3.7-minimal (3.7.5-2~18.04 Ubuntu:18.04/bionic-updates [amd64])
Conf python3.7-minimal (3.7.5-2~18.04 Ubuntu:18.04/bionic-updates [amd64])
Conf libpython3.7-stdlib (3.7.5-2~18.04 Ubuntu:18.04/bionic-updates [amd64])
Conf python3.7 (3.7.5-2~18.04 Ubuntu:18.04/bionic-updates [amd64])
apt-cache policy python[0-9]
python3:
  Installé : 3.6.7-1~18.04
  Candidat : 3.6.7-1~18.04
 Table de version :
 *** 3.6.7-1~18.04 500
        500 http://fr.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     3.6.5-3 500
        500 http://fr.archive.ubuntu.com/ubuntu bionic/main amd64 Packages

Hors ligne

#17 Le 03/03/2021, à 08:20

xubu1957

Re : Ubuntu cleaner

Bonjour,

Montre 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ésolu] 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

#18 Le 03/03/2021, à 09:07

Hilderik

Re : Ubuntu cleaner

Oui bonjour pardon,

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  linux-image-5.3.0-28-generic                  5.3.0-28.30~18.04.1                              amd64        Signed kernel image generic
rc  linux-image-5.3.0-40-generic                  5.3.0-40.32~18.04.1                              amd64        Signed kernel image generic
rc  linux-image-5.3.0-59-generic                  5.3.0-59.53~18.04.1                              amd64        Signed kernel image generic
rc  linux-image-5.3.0-61-generic                  5.3.0-61.55~18.04.1                              amd64        Signed kernel image generic
rc  linux-image-5.4.0-45-generic                  5.4.0-45.49~18.04.2                              amd64        Signed kernel image generic
rc  linux-image-5.4.0-47-generic                  5.4.0-47.51~18.04.1                              amd64        Signed kernel image generic
rc  linux-image-5.4.0-48-generic                  5.4.0-48.52~18.04.1                              amd64        Signed kernel image generic
rc  linux-image-5.4.0-51-generic                  5.4.0-51.56~18.04.1                              amd64        Signed kernel image generic
rc  linux-image-5.4.0-52-generic                  5.4.0-52.57~18.04.1                              amd64        Signed kernel image generic
rc  linux-image-5.4.0-53-generic                  5.4.0-53.59~18.04.1                              amd64        Signed kernel image generic
rc  linux-image-5.4.0-54-generic                  5.4.0-54.60~18.04.1                              amd64        Signed kernel image generic
rc  linux-image-5.4.0-56-generic                  5.4.0-56.62~18.04.1                              amd64        Signed kernel image generic
rc  linux-image-5.4.0-58-generic                  5.4.0-58.64~18.04.1                              amd64        Signed kernel image generic
rc  linux-image-5.4.0-59-generic                  5.4.0-59.65~18.04.1                              amd64        Signed kernel image generic
rc  linux-image-5.4.0-60-generic                  5.4.0-60.67~18.04.1                              amd64        Signed kernel image generic
rc  linux-image-5.4.0-62-generic                  5.4.0-62.70~18.04.1                              amd64        Signed kernel image generic
rc  linux-modules-5.3.0-28-generic                5.3.0-28.30~18.04.1                              amd64        Linux kernel extra modules for version 5.3.0 on 64 bit x86 SMP
rc  linux-modules-5.3.0-40-generic                5.3.0-40.32~18.04.1                              amd64        Linux kernel extra modules for version 5.3.0 on 64 bit x86 SMP
rc  linux-modules-5.3.0-59-generic                5.3.0-59.53~18.04.1                              amd64        Linux kernel extra modules for version 5.3.0 on 64 bit x86 SMP
rc  linux-modules-5.3.0-61-generic                5.3.0-61.55~18.04.1                              amd64        Linux kernel extra modules for version 5.3.0 on 64 bit x86 SMP
rc  linux-modules-5.4.0-45-generic                5.4.0-45.49~18.04.2                              amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-5.4.0-47-generic                5.4.0-47.51~18.04.1                              amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-5.4.0-48-generic                5.4.0-48.52~18.04.1                              amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-5.4.0-51-generic                5.4.0-51.56~18.04.1                              amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-5.4.0-52-generic                5.4.0-52.57~18.04.1                              amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-5.4.0-53-generic                5.4.0-53.59~18.04.1                              amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-5.4.0-54-generic                5.4.0-54.60~18.04.1                              amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-5.4.0-56-generic                5.4.0-56.62~18.04.1                              amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-5.4.0-58-generic                5.4.0-58.64~18.04.1                              amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-5.4.0-59-generic                5.4.0-59.65~18.04.1                              amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-5.4.0-60-generic                5.4.0-60.67~18.04.1                              amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-5.4.0-62-generic                5.4.0-62.70~18.04.1                              amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.3.0-28-generic          5.3.0-28.30~18.04.1                              amd64        Linux kernel extra modules for version 5.3.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.3.0-40-generic          5.3.0-40.32~18.04.1                              amd64        Linux kernel extra modules for version 5.3.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.3.0-59-generic          5.3.0-59.53~18.04.1                              amd64        Linux kernel extra modules for version 5.3.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.3.0-61-generic          5.3.0-61.55~18.04.1                              amd64        Linux kernel extra modules for version 5.3.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.4.0-45-generic          5.4.0-45.49~18.04.2                              amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.4.0-47-generic          5.4.0-47.51~18.04.1                              amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.4.0-48-generic          5.4.0-48.52~18.04.1                              amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.4.0-51-generic          5.4.0-51.56~18.04.1                              amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.4.0-52-generic          5.4.0-52.57~18.04.1                              amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.4.0-53-generic          5.4.0-53.59~18.04.1                              amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.4.0-54-generic          5.4.0-54.60~18.04.1                              amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.4.0-56-generic          5.4.0-56.62~18.04.1                              amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.4.0-58-generic          5.4.0-58.64~18.04.1                              amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.4.0-59-generic          5.4.0-59.65~18.04.1                              amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.4.0-60-generic          5.4.0-60.67~18.04.1                              amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.4.0-62-generic          5.4.0-62.70~18.04.1                              amd64        Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP

Hors ligne

#19 Le 03/03/2021, à 09:14

xubu1957

Re : Ubuntu cleaner

Pour nettoyer :

Le 11/02/2017, moko138 a écrit :

Pour supprimer tous ces fichiers de configuration devenus sans objets et marqués "rc", et uniquement ces fichiers, exécute :

dpkg -l | awk '/^rc/{print $2}' | xargs -r sudo dpkg -P

Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] 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

#20 Le 03/03/2021, à 09:52

Hilderik

Re : Ubuntu cleaner

Ok merci apparemment il y avait un certain travail...
Mais reste la question de l'installation de ces paquets qui semble impossible... ?

Hors ligne

#21 Le 03/03/2021, à 10:34

xubu1957

Re : Ubuntu cleaner

Montre le sources.list :

find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; nl -ba "$1"' _ '{}' \;

Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] 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

#22 Le 03/03/2021, à 10:55

MicP

Re : Ubuntu cleaner

Bonjour

xubu1957 a écrit :

Montre le sources.list :

find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; nl -ba "$1"' _ '{}' \;

Juste pour info, il y a aussi celle là, qui n'utilise qu'une seule commande au lieu de trois
et qui retournera les mêmes informations
mais en plus court puisque sans les lignes commentées ni les lignes vides :

grep -Evn '^#|^$' /etc/apt/sources.list{,.d/*.list}

Dernière modification par MicP (Le 03/03/2021, à 10:58)

Hors ligne

#23 Le 03/03/2021, à 11:18

xubu1957

Re : Ubuntu cleaner

@MicP

Salut,

J'avais donné la commande de nany, pour faire afficher l'intégralité des lignes avec leur numérotation, pour les aidants habitués aux nettoyages avec des commandes sed.


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] 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

#24 Le 03/03/2021, à 13:03

MicP

Re : Ubuntu cleaner

Voilà la première :

michel@xubu:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; nl -ba "$1"' _ '{}' \;

/etc/apt/sources.list

     1	#deb cdrom:[Xubuntu 20.04.1 LTS _Focal Fossa_ - Release amd64 (20200731)]/ focal main multiverse restricted universe
     2	
     3	# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     4	# newer versions of the distribution.
     5	deb http://fr.archive.ubuntu.com/ubuntu/ focal main restricted
     6	# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal main restricted
     7	
     8	## Major bug fix updates produced after the final release of the
     9	## distribution.
    10	deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates main restricted
    11	# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-updates main restricted
    12	
    13	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    14	## team. Also, please note that software in universe WILL NOT receive any
    15	## review or updates from the Ubuntu security team.
    16	deb http://fr.archive.ubuntu.com/ubuntu/ focal universe
    17	# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal universe
    18	deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates universe
    19	# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-updates universe
    20	
    21	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
    22	## team, and may not be under a free licence. Please satisfy yourself as to 
    23	## your rights to use the software. Also, please note that software in 
    24	## multiverse WILL NOT receive any review or updates from the Ubuntu
    25	## security team.
    26	deb http://fr.archive.ubuntu.com/ubuntu/ focal multiverse
    27	# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal multiverse
    28	deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates multiverse
    29	# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-updates multiverse
    30	
    31	## N.B. software from this repository may not have been tested as
    32	## extensively as that contained in the main release, although it includes
    33	## newer versions of some applications which may provide useful features.
    34	## Also, please note that software in backports WILL NOT receive any review
    35	## or updates from the Ubuntu security team.
    36	deb http://fr.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
    37	# deb-src http://fr.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
    38	
    39	## Uncomment the following two lines to add software from Canonical's
    40	## 'partner' repository.
    41	## This software is not part of Ubuntu, but is offered by Canonical and the
    42	## respective vendors as a service to Ubuntu users.
    43	# deb http://archive.canonical.com/ubuntu focal partner
    44	# deb-src http://archive.canonical.com/ubuntu focal partner
    45	
    46	deb http://security.ubuntu.com/ubuntu focal-security main restricted
    47	# deb-src http://security.ubuntu.com/ubuntu focal-security main restricted
    48	deb http://security.ubuntu.com/ubuntu focal-security universe
    49	# deb-src http://security.ubuntu.com/ubuntu focal-security universe
    50	deb http://security.ubuntu.com/ubuntu focal-security multiverse
    51	# deb-src http://security.ubuntu.com/ubuntu focal-security multiverse
    52	
    53	# This system was installed using small removable media
    54	# (e.g. netinst, live or single CD). The matching "deb cdrom"
    55	# entries were disabled at the end of the installation process.
    56	# For information about how to configure apt package sources,
    57	# see the sources.list(5) manual.
michel@xubu:~$ 

et voilà la seconde sur la même machine :

michel@xubu:~$ grep -Evn '^#|^$' /etc/apt/sources.list{,.d/*.list}
/etc/apt/sources.list:5:deb http://fr.archive.ubuntu.com/ubuntu/ focal main restricted
/etc/apt/sources.list:10:deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates main restricted
/etc/apt/sources.list:16:deb http://fr.archive.ubuntu.com/ubuntu/ focal universe
/etc/apt/sources.list:18:deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates universe
/etc/apt/sources.list:26:deb http://fr.archive.ubuntu.com/ubuntu/ focal multiverse
/etc/apt/sources.list:28:deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates multiverse
/etc/apt/sources.list:36:deb http://fr.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
/etc/apt/sources.list:46:deb http://security.ubuntu.com/ubuntu focal-security main restricted
/etc/apt/sources.list:48:deb http://security.ubuntu.com/ubuntu focal-security universe
/etc/apt/sources.list:50:deb http://security.ubuntu.com/ubuntu focal-security multiverse
grep: /etc/apt/sources.list.d/*.list: Aucun fichier ou dossier de ce type
michel@xubu:~$ 

Dans la seconde, il y a aussi les numéros de ligne,
mais il n'y a plus aucune ligne commentée ni ligne vide.

Dernière modification par MicP (Le 28/07/2021, à 17:43)

Hors ligne

#25 Le 05/03/2021, à 09:38

Hilderik

Re : Ubuntu cleaner

Bonjour,
merci à tous les deux, voici la réponse

grep -Evn '^#|^$' /etc/apt/sources.list{,.d/*.list}
/etc/apt/sources.list:5:deb http://fr.archive.ubuntu.com/ubuntu/ bionic restricted universe main
/etc/apt/sources.list:10:deb http://fr.archive.ubuntu.com/ubuntu/ bionic-updates restricted universe main
/etc/apt/sources.list:24:deb http://fr.archive.ubuntu.com/ubuntu/ bionic multiverse
/etc/apt/sources.list:26:deb http://fr.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
/etc/apt/sources.list:34:deb http://fr.archive.ubuntu.com/ubuntu/ bionic-backports restricted multiverse universe main
/etc/apt/sources.list:41:deb http://archive.canonical.com/ubuntu bionic partner
/etc/apt/sources.list:44:deb http://security.ubuntu.com/ubuntu bionic-security restricted universe main
/etc/apt/sources.list:47:deb http://security.ubuntu.com/ubuntu bionic-security multiverse
/etc/apt/sources.list.d/linaro-maintainers-ubuntu-toolchain-bionic.list:1:deb http://ppa.launchpad.net/linaro-maintainers/toolchain/ubuntu bionic main

Hors ligne