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 10/03/2022, à 10:54

manymale

Nettoyer Ubuntu

Bonjour à tous,
et merci par avance.
Je ne suis pas un utilisateur compétant, en Konsole et lignes de commande sur ubuntu et ici plus particulièrement kubuntu.

Système d'exploitation : Kubuntu 20.04
Version de KDE Plasma : 5.18.8
Version de KDE Frameworks : 5.68.0
Version de Qt : 5.12.8
Version de noyau : 5.4.0-94-generic
Type de système d'exploitation : 64-bit
Processeurs : 4 × Intel® Core™ i5-4590T CPU @ 2.00GHz
Mémoire : 6,7 Gio de mémoire vive
lhomanimale@AllUneed:~$  lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.4 LTS
Release:        20.04
Codename:       focal

J'ai dans Konsole et dans Discover :

$ sudo apt autoremove
E: Entrée 1 mal formée dans list fichier /etc/apt/sources.list.d/cloudflare-client.list (URI)
E: La liste des sources ne peut être lue.
E: Entrée 1 mal formée dans list fichier /etc/apt/sources.list.d/cloudflare-client.list (URI)
E: La liste des sources ne peut être lue.

Je n'ai aucune idée du problème que je rencontre et donc de la procédure pour le régler.
Y a des packages et des sources qui doivent mettre le chantier dans mon histoire.

Re Merci

Hors ligne

#2 Le 10/03/2022, à 11:13

manymale

Re : Nettoyer Ubuntu

comme vous le constatez, j'ai cherché à installer WARP via le tuto suivant :
https://pkg.cloudflareclient.com/install

Hors ligne

#3 Le 10/03/2022, à 11:27

xubu1957

Re : Nettoyer Ubuntu

Bonjour,

Montre le sources.list :

find /etc/apt -type f -name '*.list*' -exec bash -c 'echo -e "\n\t$1\n"; [[ $1 = *".list" ]] && cat -n "$1"' _ '{}' \;
cqfd93 a écrit :

Astuce pour copier / coller sans erreur :

  • triple clic gauche pour sélectionner et copier une ligne entière

  • clic molette pour coller dans le terminal


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

#4 Le 10/03/2022, à 11:36

manymale

Re : Nettoyer Ubuntu

$ find /etc/apt -type f -name '*.list*' -exec bash -c 'echo -e "\n\t$1\n"; [[ $1 = *".list" ]] && cat -n "$1"' _ '{}' \;

        /etc/apt/sources.list.distUpgrade


        /etc/apt/sources.list

     1  # deb cdrom:[Ubuntu 18.04.3 LTS _Bionic Beaver_ - Release amd64 (20190805)]/ bionic main restricted
     2
     3  # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     4  # newer versions of the distribution.
     5  deb http://archive.ubuntu.com/ubuntu/ focal main restricted
     6  # deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic main restricted
     7
     8  ## Major bug fix updates produced after the final release of the
     9  ## distribution.
    10  deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted
    11  deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-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://archive.ubuntu.com/ubuntu/ focal universe
    17  # deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic universe
    18  deb http://archive.ubuntu.com/ubuntu/ focal-updates universe
    19  # deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-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://archive.ubuntu.com/ubuntu/ focal multiverse
    27  # deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic multiverse
    28  deb http://archive.ubuntu.com/ubuntu/ focal-updates multiverse
    29  # deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-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-src http://fr.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
    37
    38  ## Uncomment the following two lines to add software from Canonical's
    39  ## 'partner' repository.
    40  ## This software is not part of Ubuntu, but is offered by Canonical and the
    41  ## respective vendors as a service to Ubuntu users.
    42  deb http://archive.canonical.com/ubuntu/ focal partner
    43  # deb-src http://archive.canonical.com/ubuntu/ bionic partner
    44
    45  deb http://archive.ubuntu.com/ubuntu/ focal-security main restricted
    46  # deb-src http://security.ubuntu.com/ubuntu/ bionic-security main restricted
    47  deb http://archive.ubuntu.com/ubuntu/ focal-security universe
    48  # deb-src http://security.ubuntu.com/ubuntu/ bionic-security universe
    49  deb http://archive.ubuntu.com/ubuntu/ focal-security multiverse
    50  # deb-src http://security.ubuntu.com/ubuntu/ bionic-security multiverse
    51  deb http://archive.ubuntu.com/ubuntu/ focal-backports restricted multiverse main universe
    52
    53
    54  deb http://archive.ubuntu.com/ubuntu/ bionic main universe
    55  # deb-src http://archive.ubuntu.com/ubuntu/ bionic main universe
    56
    57

        /etc/apt/sources.list.save


        /etc/apt/sources.list.d/alex-wv-ubuntu-pulseaudio-equalizer-ppa-bionic.list.distUpgrade


        /etc/apt/sources.list.d/alexlarsson-ubuntu-flatpak-bionic.list.distUpgrade


        /etc/apt/sources.list.d/alexlarsson-ubuntu-flatpak-bionic.list

     1  #désactivé pour la mise à niveau vers focal
     2  # deb http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu/ focal main
     3  # deb-src http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu/ bionic main
     4
     5
     6
     7

        /etc/apt/sources.list.d/nilarimogard-ubuntu-webupd8-bionic.list.distUpgrade


        /etc/apt/sources.list.d/alexlarsson-ubuntu-flatpak-bionic.list.save


        /etc/apt/sources.list.d/nilarimogard-ubuntu-webupd8-bionic.list

     1  #désactivé pour la mise à niveau vers focal
     2  # deb http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu/ focal main
     3  # deb-src http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu/ bionic main
     4
     5
     6
     7

        /etc/apt/sources.list.d/alex-wv-ubuntu-pulseaudio-equalizer-ppa-bionic.list.save


        /etc/apt/sources.list.d/alex-wv-ubuntu-pulseaudio-equalizer-ppa-bionic.list

     1  #désactivé pour la mise à niveau vers focal
     2  #désactivé pour la mise à niveau vers focal
     3
     4
     5
     6

        /etc/apt/sources.list.d/nilarimogard-ubuntu-webupd8-bionic.list.save


        /etc/apt/sources.list.d/cloudflare-client.list

     1  deb [arch=amd64 signed-by=/usr/share/keyrings/cloudflare-warp-archive-keyring.gpg] 
     2  https://pkg.cloudflareclient.com/ focal main

Hors ligne

#5 Le 10/03/2022, à 11:42

xubu1957

Re : Nettoyer Ubuntu

Donne aussi le retour de :

sudo apt update

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é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

#6 Le 10/03/2022, à 11:43

ylag

Re : Nettoyer Ubuntu

Bonjour,

L'erreur :

E: Entrée 1 mal formée dans list fichier /etc/apt/sources.list.d/cloudflare-client.list (URI)

...viendrait du fait que le fichier /etc/apt/sources.list.d/cloudflare-client.list contient deux lignes au lieu d'une seule.

Son contenu devrait plutôt être sur une seule ligne :

 deb [arch=amd64 signed-by=/usr/share/keyrings/cloudflare-warp-archive-keyring.gpg] https://pkg.cloudflareclient.com/ focal main

?

Dernière modification par ylag (Le 10/03/2022, à 11:45)

Hors ligne

#7 Le 10/03/2022, à 11:46

xubu1957

Re : Nettoyer Ubuntu

  54  deb http://archive.ubuntu.com/ubuntu/ bionic main universe

et un reste non commenté de la 18.04 bionic.


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

#8 Le 10/03/2022, à 11:53

ylag

Re : Nettoyer Ubuntu

Bonjour,

xubu1957 a écrit :
  54  deb http://archive.ubuntu.com/ubuntu/ bionic main universe

et un reste non commenté de la 18.04 bionic.

Bien vu @xubu1957 ! smile

Pour supprimer les lignes superflues dans le fichier /etc/apt/sources.list (je suppose que le fichier n'a pas été modifié entre-temps) :

sudo sed -i '53,57d' /etc/apt/sources.list

...commande à ne passer qu'une seule fois, il n'y aura aucun retour dans le terminal si tout se passe bien.

A+

Dernière modification par ylag (Le 10/03/2022, à 11:56)

Hors ligne

#9 Le 10/03/2022, à 21:26

manymale

Re : Nettoyer Ubuntu

voici pour les deux retours demandés

lhomanimale@AllUneed:~$ sudo apt update
E: Entrée 1 mal formée dans list fichier /etc/apt/sources.list.d/cloudflare-client.list (URI)
E: La liste des sources ne peut être lue.
lhomanimale@AllUneed:~$ dpkg -l | grep -v ^ii
Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder
| État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=attend-traitement-déclenchements
|/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais)
||/ Nom                                           Version                                     Architecture Description
+++-=============================================-===========================================-============-======================================================================================================
iF  linux-firmware                                1.187.27                                    all          Firmware for Linux kernel drivers
iF  linux-image-5.4.0-99-generic                  5.4.0-99.112                                amd64        Signed kernel image generic

Hors ligne

#10 Le 10/03/2022, à 21:28

xubu1957

Re : Nettoyer Ubuntu

Montre :

dpkg -l | grep linux-firmware

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

#11 Le 10/03/2022, à 21:39

manymale

Re : Nettoyer Ubuntu

Bonsoir,

Apres avoir supprimé les lignes superflues en utilisant la commande de Ylag:

sudo sed -i '53,57d' /etc/apt/sources.list

j'obtiens donc le source.list suivant sans les lignes 53 à 57

lhomanimale@AllUneed:~$ find /etc/apt -type f -name '*.list*' -exec bash -c 'echo -e "\n\t$1\n"; [[ $1 = *".list" ]] && cat -n "$1"' _ '{}' \;

        /etc/apt/sources.list.distUpgrade


        /etc/apt/sources.list

     1  # deb cdrom:[Ubuntu 18.04.3 LTS _Bionic Beaver_ - Release amd64 (20190805)]/ bionic main restricted
     2
     3  # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     4  # newer versions of the distribution.
     5  deb http://archive.ubuntu.com/ubuntu/ focal main restricted
     6  # deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic main restricted
     7
     8  ## Major bug fix updates produced after the final release of the
     9  ## distribution.
    10  deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted
    11  deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-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://archive.ubuntu.com/ubuntu/ focal universe
    17  # deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic universe
    18  deb http://archive.ubuntu.com/ubuntu/ focal-updates universe
    19  # deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-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://archive.ubuntu.com/ubuntu/ focal multiverse
    27  # deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic multiverse
    28  deb http://archive.ubuntu.com/ubuntu/ focal-updates multiverse
    29  # deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-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-src http://fr.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
    37
    38  ## Uncomment the following two lines to add software from Canonical's
    39  ## 'partner' repository.
    40  ## This software is not part of Ubuntu, but is offered by Canonical and the
    41  ## respective vendors as a service to Ubuntu users.
    42  deb http://archive.canonical.com/ubuntu/ focal partner
    43  # deb-src http://archive.canonical.com/ubuntu/ bionic partner
    44
    45  deb http://archive.ubuntu.com/ubuntu/ focal-security main restricted
    46  # deb-src http://security.ubuntu.com/ubuntu/ bionic-security main restricted
    47  deb http://archive.ubuntu.com/ubuntu/ focal-security universe
    48  # deb-src http://security.ubuntu.com/ubuntu/ bionic-security universe
    49  deb http://archive.ubuntu.com/ubuntu/ focal-security multiverse
    50  # deb-src http://security.ubuntu.com/ubuntu/ bionic-security multiverse
    51  deb http://archive.ubuntu.com/ubuntu/ focal-backports restricted multiverse main universe
    52

        /etc/apt/sources.list.save


        /etc/apt/sources.list.d/alex-wv-ubuntu-pulseaudio-equalizer-ppa-bionic.list.distUpgrade


        /etc/apt/sources.list.d/alexlarsson-ubuntu-flatpak-bionic.list.distUpgrade


        /etc/apt/sources.list.d/alexlarsson-ubuntu-flatpak-bionic.list

     1  #désactivé pour la mise à niveau vers focal
     2  # deb http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu/ focal main
     3  # deb-src http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu/ bionic main
     4
     5
     6
     7

        /etc/apt/sources.list.d/nilarimogard-ubuntu-webupd8-bionic.list.distUpgrade


        /etc/apt/sources.list.d/alexlarsson-ubuntu-flatpak-bionic.list.save


        /etc/apt/sources.list.d/nilarimogard-ubuntu-webupd8-bionic.list

     1  #désactivé pour la mise à niveau vers focal
     2  # deb http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu/ focal main
     3  # deb-src http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu/ bionic main
     4
     5
     6
     7

        /etc/apt/sources.list.d/alex-wv-ubuntu-pulseaudio-equalizer-ppa-bionic.list.save


        /etc/apt/sources.list.d/alex-wv-ubuntu-pulseaudio-equalizer-ppa-bionic.list

     1  #désactivé pour la mise à niveau vers focal
     2  #désactivé pour la mise à niveau vers focal
     3
     4
     5
     6

        /etc/apt/sources.list.d/nilarimogard-ubuntu-webupd8-bionic.list.save


        /etc/apt/sources.list.d/cloudflare-client.list

     1  deb [arch=amd64 signed-by=/usr/share/keyrings/cloudflare-warp-archive-keyring.gpg] 
     2  https://pkg.cloudflareclient.com/ focal main

Je ne sais pas remettre sur une seule ligne:

     1  deb [arch=amd64 signed-by=/usr/share/keyrings/cloudflare-warp-archive-keyring.gpg] 
     2  https://pkg.cloudflareclient.com/ focal main

Merci à vous

Hors ligne

#12 Le 10/03/2022, à 21:42

ylag

Re : Nettoyer Ubuntu

Bonsoir,

E: Entrée 1 mal formée dans list fichier /etc/apt/sources.list.d/cloudflare-client.list (URI)

Pour corriger le contenu erroné du fichier /etc/apt/sources.list.d/cloudflare-client.list, passer cette commande une seule fois (il n'y aura pas de retour dans le terminal) :

echo "deb [arch=amd64 signed-by=/usr/share/keyrings/cloudflare-warp-archive-keyring.gpg] https://pkg.cloudflareclient.com/ focal main" | sudo tee /etc/apt/sources.list.d/cloudflare-client.list

Pour supprimer les lignes superflues dans le fichier /etc/apt/sources.list (voir le message #8) :

sudo sed -i '53,57d' /etc/apt/sources.list

...à ne faire qu'une seule fois, il n'y aura pas de retour de la commande.

Une fois ces deux commandes exécutées, pour voir si les mises à jour se passent bien, donner le résultat de :

sudo apt update

Pour les duex paquets «cassés», linux-firmware et linux-image-5.4.0-99-generic, faudra aviser après s'être assuré que les mises à jour se passent sans encombres ?

A+

Dernière modification par ylag (Le 10/03/2022, à 22:08)

Hors ligne

#13 Le 10/03/2022, à 21:42

manymale

Re : Nettoyer Ubuntu

lhomanimale@AllUneed:~$ dpkg -l | grep linux-firmware
iF  linux-firmware                                1.187.27  
                                  all          Firmware for Linux kernel drivers

Hors ligne

#14 Le 10/03/2022, à 21:44

ylag

Re : Nettoyer Ubuntu

Re,

manymale a écrit :

Je ne sais pas remettre sur une seule ligne:

Voir les messages #6 et #12 :
Faire une seule fois :

echo "deb [arch=amd64 signed-by=/usr/share/keyrings/cloudflare-warp-archive-keyring.gpg] https://pkg.cloudflareclient.com/ focal main" | sudo tee /etc/apt/sources.list.d/cloudflare-client.list

A+

Dernière modification par ylag (Le 10/03/2022, à 21:45)

Hors ligne

#15 Le 10/03/2022, à 22:02

manymale

Re : Nettoyer Ubuntu

Bon j'ai tout passé dont le apt update konsole et les mises à jour Discover qui se sont débloquées du coup.

J'ai

lhomanimale@AllUneed:~$ find /etc/apt -type f -name '*.list*' -exec bash -c 'echo -e "\n\t$1\n"; [[ $1 = *".list" ]] && cat -n "$1"' _ '{}' \;

        /etc/apt/sources.list.distUpgrade


        /etc/apt/sources.list

     1  # deb cdrom:[Ubuntu 18.04.3 LTS _Bionic Beaver_ - Release amd64 (20190805)]/ bionic main restricted
     2
     3  # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     4  # newer versions of the distribution.
     5  deb http://archive.ubuntu.com/ubuntu/ focal main restricted
     6  # deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic main restricted
     7
     8  ## Major bug fix updates produced after the final release of the
     9  ## distribution.
    10  deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted
    11  deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-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://archive.ubuntu.com/ubuntu/ focal universe
    17  # deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic universe
    18  deb http://archive.ubuntu.com/ubuntu/ focal-updates universe
    19  # deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-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://archive.ubuntu.com/ubuntu/ focal multiverse
    27  # deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic multiverse
    28  deb http://archive.ubuntu.com/ubuntu/ focal-updates multiverse
    29  # deb-src http://fr.archive.ubuntu.com/ubuntu/ bionic-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-src http://fr.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
    37
    38  ## Uncomment the following two lines to add software from Canonical's
    39  ## 'partner' repository.
    40  ## This software is not part of Ubuntu, but is offered by Canonical and the
    41  ## respective vendors as a service to Ubuntu users.
    42  deb http://archive.canonical.com/ubuntu/ focal partner
    43  # deb-src http://archive.canonical.com/ubuntu/ bionic partner
    44
    45  deb http://archive.ubuntu.com/ubuntu/ focal-security main restricted
    46  # deb-src http://security.ubuntu.com/ubuntu/ bionic-security main restricted
    47  deb http://archive.ubuntu.com/ubuntu/ focal-security universe
    48  # deb-src http://security.ubuntu.com/ubuntu/ bionic-security universe
    49  deb http://archive.ubuntu.com/ubuntu/ focal-security multiverse
    50  # deb-src http://security.ubuntu.com/ubuntu/ bionic-security multiverse
    51  deb http://archive.ubuntu.com/ubuntu/ focal-backports restricted multiverse main universe
    52

        /etc/apt/sources.list.save


        /etc/apt/sources.list.d/alex-wv-ubuntu-pulseaudio-equalizer-ppa-bionic.list.distUpgrade


        /etc/apt/sources.list.d/alexlarsson-ubuntu-flatpak-bionic.list.distUpgrade


        /etc/apt/sources.list.d/alexlarsson-ubuntu-flatpak-bionic.list

     1  #désactivé pour la mise à niveau vers focal
     2  # deb http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu/ focal main
     3  # deb-src http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu/ bionic main
     4
     5
     6
     7

        /etc/apt/sources.list.d/nilarimogard-ubuntu-webupd8-bionic.list.distUpgrade


        /etc/apt/sources.list.d/alexlarsson-ubuntu-flatpak-bionic.list.save


        /etc/apt/sources.list.d/nilarimogard-ubuntu-webupd8-bionic.list

     1  #désactivé pour la mise à niveau vers focal
     2  # deb http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu/ focal main
     3  # deb-src http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu/ bionic main
     4
     5
     6
     7

        /etc/apt/sources.list.d/alex-wv-ubuntu-pulseaudio-equalizer-ppa-bionic.list.save


        /etc/apt/sources.list.d/alex-wv-ubuntu-pulseaudio-equalizer-ppa-bionic.list

     1  #désactivé pour la mise à niveau vers focal
     2  #désactivé pour la mise à niveau vers focal
     3
     4
     5
     6

        /etc/apt/sources.list.d/nilarimogard-ubuntu-webupd8-bionic.list.save


        /etc/apt/sources.list.d/cloudflare-client.list

     1  deb [arch=amd64 signed-by=/usr/share/keyrings/cloudflare-warp-archive-keyring.gpg] https://pkg.cloudflareclient.com/ focal main

Dans Discover lors des mises à jour j'ai

l'installation du paquet a échoué Error while installing package: Installed linux-firmware 
package post-Installation script subprocess retourned error exit status 1

Dernière modification par manymale (Le 10/03/2022, à 22:05)

Hors ligne

#16 Le 10/03/2022, à 22:03

xubu1957

Re : Nettoyer Ubuntu

Tente :

sudo apt install --reinstall linux-firmware

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

#17 Le 10/03/2022, à 22:04

manymale

Re : Nettoyer Ubuntu

lhomanimale@AllUneed:~$ sudo apt install --reinstall linux-firmware
[sudo] Mot de passe de lhomanimale : 
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 :
  libfwupdplugin1 linux-headers-5.4.0-94 linux-headers-5.4.0-94-generic linux-headers-5.4.0-99 linux-headers-5.4.0-99-generic linux-image-5.4.0-94-generic
  linux-image-5.4.0-99-generic linux-modules-5.4.0-94-generic linux-modules-5.4.0-99-generic linux-modules-extra-5.4.0-94-generic linux-modules-extra-5.4.0-99-generic
Veuillez utiliser « sudo apt autoremove » pour les supprimer.
0 mis à jour, 0 nouvellement installés, 1 réinstallés, 0 à enlever et 0 non mis à jour.
5 partiellement installés ou enlevés.
Après cette opération, 0 o d'espace disque supplémentaires seront utilisés.
E: Internal Error, No file name for linux-firmware:amd64

Hors ligne

#18 Le 10/03/2022, à 22:16

ylag

Re : Nettoyer Ubuntu

Bonsoir,

Vu au #17 :

Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
  libfwupdplugin1 linux-headers-5.4.0-94 linux-headers-5.4.0-94-generic linux-headers-5.4.0-99 linux-headers-5.4.0-99-generic linux-image-5.4.0-94-generic
  linux-image-5.4.0-99-generic linux-modules-5.4.0-94-generic linux-modules-5.4.0-99-generic linux-modules-extra-5.4.0-94-generic linux-modules-extra-5.4.0-99-generic
Veuillez utiliser « sudo apt autoremove » pour les supprimer.

...ça incluerait le paquet problématique, linux-image-5.4.0-99-generic; je tenterais la commande suggérée :

sudo apt autoremove --purge

...puis peut-être ensuite retenter :

sudo apt install --reinstall linux-firmware

?

Hors ligne

#19 Le 10/03/2022, à 23:05

manymale

Re : Nettoyer Ubuntu

Bon c'est bien passé

homanimale@AllUneed:~$ sudo apt autoremove --purge
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Les paquets suivants seront ENLEVÉS :
  libfwupdplugin1* linux-headers-5.4.0-94* linux-headers-5.4.0-94-generic* linux-headers-5.4.0-99* linux-headers-5.4.0-99-generic* linux-image-5.4.0-94-generic*
  linux-image-5.4.0-99-generic* linux-modules-5.4.0-94-generic* linux-modules-5.4.0-99-generic* linux-modules-extra-5.4.0-94-generic* linux-modules-extra-5.4.0-99-generic*
0 mis à jour, 0 nouvellement installés, 11 à enlever et 0 non mis à jour.
5 partiellement installés ou enlevés.
Après cette opération, 760 Mo d'espace disque seront libérés.
Souhaitez-vous continuer ? [O/n] o
(Lecture de la base de données... 525649 fichiers et répertoires déjà installés.)
Suppression de linux-modules-extra-5.4.0-99-generic (5.4.0-99.112) ...
Suppression de linux-image-5.4.0-99-generic (5.4.0-99.112) ...
/var/lib/dpkg/info/linux-image-5.4.0-99-generic.postrm ... removing pending trigger
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.4.0-99-generic
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Création du fichier de configuration GRUB…
Image Linux trouvée : /boot/vmlinuz-5.4.0-104-generic
Image Linux trouvée : /boot/vmlinuz-5.4.0-100-generic
Image mémoire initiale trouvée : /boot/initrd.img-5.4.0-100-generic
Image Linux trouvée : /boot/vmlinuz-5.4.0-94-generic
Image mémoire initiale trouvée : /boot/initrd.img-5.4.0-94-generic
Image Linux trouvée : /boot/vmlinuz-5.4.0-67-generic
Image mémoire initiale trouvée : /boot/initrd.img-5.4.0-67-generic
Image Linux trouvée : /boot/vmlinuz-5.4.0-64-generic
Image mémoire initiale trouvée : /boot/initrd.img-5.4.0-64-generic
Image Linux trouvée : /boot/vmlinuz-5.4.0-54-generic
Image mémoire initiale trouvée : /boot/initrd.img-5.4.0-54-generic
Image Linux trouvée : /boot/vmlinuz-5.4.0-53-generic
Image mémoire initiale trouvée : /boot/initrd.img-5.4.0-53-generic
Adding boot menu entry for UEFI Firmware Settings
fait
Suppression de libfwupdplugin1:amd64 (1.5.11-0ubuntu1~20.04.2) ...
Suppression de linux-headers-5.4.0-94-generic (5.4.0-94.106) ...
Suppression de linux-headers-5.4.0-94 (5.4.0-94.106) ...
Suppression de linux-headers-5.4.0-99-generic (5.4.0-99.112) ...
Suppression de linux-headers-5.4.0-99 (5.4.0-99.112) ...
Suppression de linux-modules-extra-5.4.0-94-generic (5.4.0-94.106) ...
Suppression de linux-image-5.4.0-94-generic (5.4.0-94.106) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.4.0-94-generic
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Création du fichier de configuration GRUB…
Image Linux trouvée : /boot/vmlinuz-5.4.0-104-generic
Image Linux trouvée : /boot/vmlinuz-5.4.0-100-generic
Image mémoire initiale trouvée : /boot/initrd.img-5.4.0-100-generic
Image Linux trouvée : /boot/vmlinuz-5.4.0-67-generic
Image mémoire initiale trouvée : /boot/initrd.img-5.4.0-67-generic
Image Linux trouvée : /boot/vmlinuz-5.4.0-64-generic
Image mémoire initiale trouvée : /boot/initrd.img-5.4.0-64-generic
Image Linux trouvée : /boot/vmlinuz-5.4.0-54-generic
Image mémoire initiale trouvée : /boot/initrd.img-5.4.0-54-generic
Image Linux trouvée : /boot/vmlinuz-5.4.0-53-generic
Image mémoire initiale trouvée : /boot/initrd.img-5.4.0-53-generic
Adding boot menu entry for UEFI Firmware Settings
fait
Suppression de linux-modules-5.4.0-94-generic (5.4.0-94.106) ...
Suppression de linux-modules-5.4.0-99-generic (5.4.0-99.112) ...
Paramétrage de linux-firmware (1.187.27) ...
update-initramfs: Generating /boot/initrd.img-5.4.0-100-generic
update-initramfs: Generating /boot/initrd.img-5.4.0-67-generic
update-initramfs: Generating /boot/initrd.img-5.4.0-64-generic
update-initramfs: Generating /boot/initrd.img-5.4.0-54-generic
update-initramfs: Generating /boot/initrd.img-5.4.0-53-generic
Paramétrage de linux-image-5.4.0-104-generic (5.4.0-104.118) ...
I: /boot/initrd.img is now a symlink to initrd.img-5.4.0-104-generic
Paramétrage de linux-image-generic (5.4.0.104.108) ...
Paramétrage de linux-generic (5.4.0.104.108) ...
Traitement des actions différées (« triggers ») pour libc-bin (2.31-0ubuntu9.7) ...
(Lecture de la base de données... 452798 fichiers et répertoires déjà installés.)
Purge des fichiers de configuration de linux-modules-5.4.0-99-generic (5.4.0-99.112) ...
dpkg: avertissement: lors de la suppression de linux-modules-5.4.0-99-generic, le répertoire « /lib/modules/5.4.0-99-generic » n'était pas vide, donc il n'a pas été supprimé
Purge des fichiers de configuration de linux-modules-extra-5.4.0-94-generic (5.4.0-94.106) ...
Purge des fichiers de configuration de linux-image-5.4.0-99-generic (5.4.0-99.112) ...
Purge des fichiers de configuration de linux-modules-extra-5.4.0-99-generic (5.4.0-99.112) ...
Purge des fichiers de configuration de linux-image-5.4.0-94-generic (5.4.0-94.106) ...
Purge des fichiers de configuration de linux-modules-5.4.0-94-generic (5.4.0-94.106) ...
Traitement des actions différées (« triggers ») pour linux-image-5.4.0-104-generic (5.4.0-104.118) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.4.0-104-generic
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Création du fichier de configuration GRUB…
Image Linux trouvée : /boot/vmlinuz-5.4.0-104-generic
Image mémoire initiale trouvée : /boot/initrd.img-5.4.0-104-generic
Image Linux trouvée : /boot/vmlinuz-5.4.0-100-generic
Image mémoire initiale trouvée : /boot/initrd.img-5.4.0-100-generic
Image Linux trouvée : /boot/vmlinuz-5.4.0-67-generic
Image mémoire initiale trouvée : /boot/initrd.img-5.4.0-67-generic
Image Linux trouvée : /boot/vmlinuz-5.4.0-64-generic
Image mémoire initiale trouvée : /boot/initrd.img-5.4.0-64-generic
Image Linux trouvée : /boot/vmlinuz-5.4.0-54-generic
Image mémoire initiale trouvée : /boot/initrd.img-5.4.0-54-generic
Image Linux trouvée : /boot/vmlinuz-5.4.0-53-generic
Image mémoire initiale trouvée : /boot/initrd.img-5.4.0-53-generic
Adding boot menu entry for UEFI Firmware Settings
fait
lhomanimale@AllUneed:~$ sudo apt install --reinstall linux-firmware
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
0 mis à jour, 0 nouvellement installés, 1 réinstallés, 0 à enlever et 0 non mis à jour.
Il est nécessaire de prendre 115 Mo dans les archives.
Après cette opération, 0 o d'espace disque supplémentaires seront utilisés.
Réception de :1 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-firmware all 1.187.27 [115 MB]
115 Mo réceptionnés en 36s (3171 ko/s)                                                                                                                                           
(Lecture de la base de données... 452796 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../linux-firmware_1.187.27_all.deb ...
Dépaquetage de linux-firmware (1.187.27) sur (1.187.27) ...
Paramétrage de linux-firmware (1.187.27) ...
update-initramfs: Generating /boot/initrd.img-5.4.0-104-generic
update-initramfs: Generating /boot/initrd.img-5.4.0-100-generic
update-initramfs: Generating /boot/initrd.img-5.4.0-67-generic
update-initramfs: Generating /boot/initrd.img-5.4.0-64-generic
update-initramfs: Generating /boot/initrd.img-5.4.0-54-generic
update-initramfs: Generating /boot/initrd.img-5.4.0-53-generic

Dans Discover j'ai

Error pulling repo: Error updating appstream2; Refspec 'flathub:appstream2/x86_64' not found; 
Error updating appstream: Refspec 'flathub:appstream/x86_64' not found

Hors ligne

#20 Le 11/03/2022, à 12:00

ylag

Re : Nettoyer Ubuntu

Bonjour,

Vérifie ensuite le bon fonctionnement des mises à jour :

sudo apt update

...et, si nécessaire, suivre de :

sudo apt full-upgrade

Concernant :

Dans Discover j'ai

Error pulling repo: Error updating appstream2; Refspec 'flathub:appstream2/x86_64' not found;
Error updating appstream: Refspec 'flathub:appstream/x86_64' not found

...je ne connais rien à la structure flatpak, désolé...

A+

Dernière modification par ylag (Le 11/03/2022, à 15:40)

Hors ligne

#21 Le 11/03/2022, à 15:12

manymale

Re : Nettoyer Ubuntu

Bonjour, tout est clean.
Un gros merci a vous deux, ylag et xubu1957, pour ce nettoyage.
Je cherche du coté de flatpack pour continuer de réparer ce que je casse en ne sachant pas ce que je fais, parfois seulement hein !D

lhomanimale@AllUneed:~$ sudo apt update
[sudo] Mot de passe de lhomanimale : 
Atteint :1 http://archive.ubuntu.com/ubuntu focal InRelease
Atteint :2 http://archive.canonical.com/ubuntu focal InRelease                                                               
Réception de :3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]                                            
Réception de :4 http://fr.archive.ubuntu.com/ubuntu bionic-updates InRelease [88,7 kB]                                       
Réception de :5 http://archive.ubuntu.com/ubuntu focal-security InRelease [114 kB]                      
Réception de :6 http://archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
Réception de :7 http://archive.ubuntu.com/ubuntu focal-updates/main i386 Packages [616 kB]
Atteint :8 https://pkg.cloudflareclient.com focal InRelease          
Réception de :9 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [1641 kB]
Réception de :10 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 DEP-11 Metadata [277 kB]
Réception de :11 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 c-n-f Metadata [14,8 kB]
Réception de :12 http://archive.ubuntu.com/ubuntu focal-updates/universe i386 Packages [673 kB]
Réception de :13 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [909 kB]
Réception de :14 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 DEP-11 Metadata [391 kB]
Réception de :15 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 c-n-f Metadata [20,2 kB]
Réception de :16 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 DEP-11 Metadata [940 B]
Réception de :17 http://archive.ubuntu.com/ubuntu focal-security/main amd64 DEP-11 Metadata [40,7 kB]
Réception de :18 http://archive.ubuntu.com/ubuntu focal-security/main amd64 c-n-f Metadata [9772 B]
Réception de :19 http://archive.ubuntu.com/ubuntu focal-security/universe amd64 DEP-11 Metadata [66,2 kB]
Réception de :20 http://archive.ubuntu.com/ubuntu focal-security/universe amd64 c-n-f Metadata [14,0 kB]
Réception de :21 http://archive.ubuntu.com/ubuntu focal-security/multiverse amd64 DEP-11 Metadata [2464 B]
Réception de :22 http://archive.ubuntu.com/ubuntu focal-backports/main amd64 DEP-11 Metadata [7992 B]
Réception de :23 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 DEP-11 Metadata [30,8 kB]
5140 ko réceptionnés en 2s (2600 ko/s)                        
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Tous les paquets sont à jour.
lhomanimale@AllUneed:~$ sudo apt full-upgrade
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Calcul de la mise à jour... Fait
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.

Hors ligne

#22 Le 11/03/2022, à 15:15

xubu1957

Re : Nettoyer Ubuntu

Bonjour

Montre aussi :

snap list --all
flatpak list

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

#23 Le 11/03/2022, à 15:23

manymale

Re : Nettoyer Ubuntu

lhomanimale@AllUneed:~$ snap list --all
Nom                        Version                     Révision  Suivi            Éditeur             Notes
bare                       1.0                         5         latest/stable    canonical✓          base
blender                    3.1.0                       1925      latest/stable    blenderfoundation✓  classic
blender                    3.0.1                       1653      latest/stable    blenderfoundation✓  désactivé,classic
brave                      1.36.112                    148       latest/stable    brave               -
brave                      1.36.111                    147       latest/stable    brave               désactivé
canonical-livepatch        10.1.2                      126       latest/stable    canonical✓          désactivé
canonical-livepatch        10.1.4                      132       latest/stable    canonical✓          -
core                       16-2.54.3                   12725     latest/stable    canonical✓          core
core18                     20211215                    2284      latest/stable    canonical✓          base
core18                     20211028                    2253      latest/stable    canonical✓          base,désactivé
core20                     20220304                    1376      latest/stable    canonical✓          base
core20                     20220215                    1361      latest/stable    canonical✓          base,désactivé
curl                       7.81.0                      623       latest/stable    woutervb            -
gnome-3-28-1804            3.28.0-19-g98f9e67.98f9e67  161       latest/stable    canonical✓          -
gnome-3-28-1804            3.28.0-19-g98f9e67.98f9e67  145       latest/stable    canonical✓          désactivé
gnome-3-34-1804            0+git.3556cb3               72        latest/stable    canonical✓          désactivé
gnome-3-34-1804            0+git.3556cb3               77        latest/stable    canonical✓          -
gnome-3-38-2004            0+git.1f9014a               99        latest/stable    canonical✓          -
gnome-3-38-2004            0+git.cd626d1               87        latest/stable    canonical✓          désactivé
gnome-system-monitor       41.0-4-ge3972588d8          169       latest/stable/…  canonical✓          désactivé
gnome-system-monitor       41.0-5-g91e67f7982          174       latest/stable/…  canonical✓          -
gtk-common-themes          0.1-52-gb92ac40             1515      latest/stable/…  canonical✓          désactivé
gtk-common-themes          0.1-59-g7bca6ae             1519      latest/stable/…  canonical✓          -
kde-frameworks-5-core18    5.61.0                      32        latest/stable    kde✓                -
krita                      4.4.3                       63        latest/stable    krita✓              désactivé
krita                      4.4.5                       64        latest/stable    krita✓              -
onlyoffice-desktopeditors  7.0.0                       102       latest/stable    onlyoffice✓         désactivé
onlyoffice-desktopeditors  7.0.1                       105       latest/stable    onlyoffice✓         -
pulsemixer                 1.5.1                       283       latest/stable    georgefilipkin      -
snap-store                 3.38.0-66-gbd5b8f7          558       latest/stable/…  canonical✓          -
snap-store                 3.38.0-64-g23c4c77          547       latest/stable/…  canonical✓          désactivé
spotify                    1.1.80.699.gc3dac750        58        latest/stable    spotify✓            -
spotify                    1.1.77.643.g3c4c6fc6        57        latest/stable    spotify✓            désactivé
sublime-text               4126                        112       latest/stable    snapcrafters        classic
lhomanimale@AllUneed:~$ flatpak list
lhomanimale@AllUneed:~$ 

pour flatpak list aucun retour

Dernière modification par manymale (Le 11/03/2022, à 15:27)

Hors ligne

#24 Le 11/03/2022, à 15:36

xubu1957

Re : Nettoyer Ubuntu

Je ne sais pas renseigner pour flatpak.


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

#25 Le 11/03/2022, à 16:00

manymale

Re : Nettoyer Ubuntu

ok merci encore... je me dirige vers la partie du forum kubuntu pour flatpack svp?

Hors ligne