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 21/05/2021, à 11:32

Gras_du_Bide

[Résolu] 20.10 -> 21.04 mainline, revenir au noyau de la distrib?

Bonjour à tous,

Ayant acheté une Radeon RX6800 sous ubuntu 20.10, j'ai eu besoin d'un noyau plus récent (5.11) pour sa prise en charge. Je suis donc passé par mainline, sans problème.

Je viens de mettre à niveau vers 21.04 qui propose lui aussi le noyau 5.11. Préférant revenir au noyau officiel de la distribution, j'ai supprimé mainline:

sudo add-apt-repository --remove ppa:cappelikan/ppa
sudo apt remove mainline
sudo apt update && sudo apt upgrade

Pour autant, je ne suis pas convaincu d'être revenu au noyau officiel (update && upgrade n'ont pas installés de nouveau noyau). Voici mon noyau actuel:

$ uname -r
5.11.0-051100-generic

J'ai 2 questions:

1) Est-ce que j'ai le bon noyau?
2) Sinon, comment revenir à une situation normale?

Merci d'avance pour votre aide,
GdB

Dernière modification par Gras_du_Bide (Le 21/05/2021, à 13:10)

Hors ligne

#2 Le 21/05/2021, à 11:34

abelthorne

Re : [Résolu] 20.10 -> 21.04 mainline, revenir au noyau de la distrib?

A priori, non, c'est pas le bon (en 21.04 à jour, je suis sur le 5.11.0-17-generic). Donne le retour de :

dpkg -l | grep linux-

Hors ligne

#3 Le 21/05/2021, à 11:36

Gras_du_Bide

Re : [Résolu] 20.10 -> 21.04 mainline, revenir au noyau de la distrib?

Salut abelthorne,
Toujours fidèle au poste je vois, je te remercie!
Voici la commande:

dpkg -l | grep linux-
ii  binutils-x86-64-linux-gnu                  2.36.1-6ubuntu1                                                      amd64        GNU binary utilities, for x86-64-linux-gnu target
ii  linux-base                                 4.5ubuntu5                                                           all          Linux image base package
ii  linux-firmware                             1.197                                                                all          Firmware for Linux kernel drivers
ii  linux-generic                              5.11.0.17.18                                                         amd64        Complete Generic Linux kernel and headers
ii  linux-generic-hwe-20.04                    5.11.0.17.18                                                         amd64        Complete Generic Linux kernel and headers
ii  linux-headers-5.10.7-051007                5.10.7-051007.202101122046                                           all          Header files related to Linux kernel version 5.10.7
ii  linux-headers-5.10.7-051007-generic        5.10.7-051007.202101122046                                           amd64        Linux kernel headers for version 5.10.7 on 64 bit x86 SMP
ii  linux-headers-5.11.0-051100                5.11.0-051100.202102142330                                           all          Header files related to Linux kernel version 5.11.0
ii  linux-headers-5.11.0-051100-generic        5.11.0-051100.202102142330                                           amd64        Linux kernel headers for version 5.11.0 on 64 bit x86 SMP
ii  linux-headers-5.11.0-17                    5.11.0-17.18                                                         all          Header files related to Linux kernel version 5.11.0
ii  linux-headers-5.11.0-17-generic            5.11.0-17.18                                                         amd64        Linux kernel headers for version 5.11.0 on 64 bit x86 SMP
ii  linux-headers-generic                      5.11.0.17.18                                                         amd64        Generic Linux kernel headers
ii  linux-headers-generic-hwe-20.04            5.11.0.17.18                                                         amd64        Generic Linux kernel headers
ii  linux-image-5.11.0-17-generic              5.11.0-17.18                                                         amd64        Signed kernel image generic
rc  linux-image-5.8.0-36-generic               5.8.0-36.40                                                          amd64        Signed kernel image generic
rc  linux-image-5.8.0-38-generic               5.8.0-38.43                                                          amd64        Signed kernel image generic
rc  linux-image-5.8.0-40-generic               5.8.0-40.45                                                          amd64        Signed kernel image generic
rc  linux-image-5.8.0-41-generic               5.8.0-41.46                                                          amd64        Signed kernel image generic
rc  linux-image-5.8.0-43-generic               5.8.0-43.49                                                          amd64        Signed kernel image generic
rc  linux-image-5.8.0-44-generic               5.8.0-44.50                                                          amd64        Signed kernel image generic
rc  linux-image-5.8.0-45-generic               5.8.0-45.51                                                          amd64        Signed kernel image generic
rc  linux-image-5.8.0-48-generic               5.8.0-48.54                                                          amd64        Signed kernel image generic
rc  linux-image-5.8.0-49-generic               5.8.0-49.55                                                          amd64        Signed kernel image generic
rc  linux-image-5.8.0-50-generic               5.8.0-50.56                                                          amd64        Signed kernel image generic
rc  linux-image-5.8.0-53-generic               5.8.0-53.60                                                          amd64        Signed kernel image generic
ii  linux-image-generic                        5.11.0.17.18                                                         amd64        Generic Linux kernel image
ii  linux-image-generic-hwe-20.04              5.11.0.17.18                                                         amd64        Generic Linux kernel image
ii  linux-image-unsigned-5.10.7-051007-generic 5.10.7-051007.202101122046                                           amd64        Linux kernel image for version 5.10.7 on 64 bit x86 SMP
ii  linux-image-unsigned-5.11.0-051100-generic 5.11.0-051100.202102142330                                           amd64        Linux kernel image for version 5.11.0 on 64 bit x86 SMP
ii  linux-libc-dev:amd64                       5.11.0-17.18                                                         amd64        Linux Kernel Headers for development
ii  linux-modules-5.10.7-051007-generic        5.10.7-051007.202101122046                                           amd64        Linux kernel extra modules for version 5.10.7 on 64 bit x86 SMP
ii  linux-modules-5.11.0-051100-generic        5.11.0-051100.202102142330                                           amd64        Linux kernel extra modules for version 5.11.0 on 64 bit x86 SMP
ii  linux-modules-5.11.0-17-generic            5.11.0-17.18                                                         amd64        Linux kernel extra modules for version 5.11.0 on 64 bit x86 SMP
rc  linux-modules-5.8.0-36-generic             5.8.0-36.40                                                          amd64        Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP
rc  linux-modules-5.8.0-38-generic             5.8.0-38.43                                                          amd64        Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP
rc  linux-modules-5.8.0-40-generic             5.8.0-40.45                                                          amd64        Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP
rc  linux-modules-5.8.0-41-generic             5.8.0-41.46                                                          amd64        Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP
rc  linux-modules-5.8.0-43-generic             5.8.0-43.49                                                          amd64        Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP
rc  linux-modules-5.8.0-44-generic             5.8.0-44.50                                                          amd64        Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP
rc  linux-modules-5.8.0-45-generic             5.8.0-45.51                                                          amd64        Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP
rc  linux-modules-5.8.0-48-generic             5.8.0-48.54                                                          amd64        Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP
rc  linux-modules-5.8.0-49-generic             5.8.0-49.55                                                          amd64        Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP
rc  linux-modules-5.8.0-53-generic             5.8.0-53.60                                                          amd64        Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP
ii  linux-modules-extra-5.11.0-17-generic      5.11.0-17.18                                                         amd64        Linux kernel extra modules for version 5.11.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.8.0-36-generic       5.8.0-36.40                                                          amd64        Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.8.0-38-generic       5.8.0-38.43                                                          amd64        Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.8.0-40-generic       5.8.0-40.45                                                          amd64        Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.8.0-41-generic       5.8.0-41.46                                                          amd64        Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.8.0-43-generic       5.8.0-43.49                                                          amd64        Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.8.0-44-generic       5.8.0-44.50                                                          amd64        Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.8.0-45-generic       5.8.0-45.51                                                          amd64        Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.8.0-48-generic       5.8.0-48.54                                                          amd64        Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.8.0-49-generic       5.8.0-49.55                                                          amd64        Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.8.0-53-generic       5.8.0-53.60                                                          amd64        Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP
ii  linux-sound-base                           1.0.25+dfsg-0ubuntu7                                                 all          base package for ALSA and OSS sound systems

Y a du monde!

Hors ligne

#4 Le 21/05/2021, à 12:00

abelthorne

Re : [Résolu] 20.10 -> 21.04 mainline, revenir au noyau de la distrib?

Tu as bien le noyau d'Ubuntu (5.11.0-17) mais ton mainline qui est resté installé en plus est considéré comme plus récent, donc tu démarres dessus automatiquement.

Tu peux déjà commencer par nettoyer les restes de config du 5.8 :

sudo apt-get remove --purge linux-image-5.8.0-36-generic linux-image-5.8.0-38-generic linux-image-5.8.0-40-generic linux-image-5.8.0-41-generic linux-image-5.8.0-43-generic linux-image-5.8.0-44-generic linux-image-5.8.0-45-generic linux-image-5.8.0-48-generic linux-image-5.8.0-49-generic linux-image-5.8.0-50-generic linux-image-5.8.0-53-generic linux-modules-5.8.0-36-generic linux-modules-5.8.0-38-generic linux-modules-5.8.0-40-generic linux-modules-5.8.0-41-generic linux-modules-5.8.0-43-generic linux-modules-5.8.0-44-generic linux-modules-5.8.0-45-generic linux-modules-5.8.0-48-generic linux-modules-5.8.0-49-generic linux-modules-5.8.0-53-generic linux-modules-extra-5.8.0-36-generic linux-modules-extra-5.8.0-38-generic linux-modules-extra-5.8.0-40-generic linux-modules-extra-5.8.0-41-generic linux-modules-extra-5.8.0-43-generic linux-modules-extra-5.8.0-44-generic linux-modules-extra-5.8.0-45-generic linux-modules-extra-5.8.0-48-generic linux-modules-extra-5.8.0-49-generic linux-modules-extra-5.8.0-53-generic

Ensuite, redémarre, accède à GRUB, va dans les options avancées et choisis de démarrer sur le 5.11.0.17.18 (en mode normal, pas recovery). Une fois de retour sur le bureau, et si tout fonctionne correctement vis à vis de ton GPU, redonne le retour de :

uname -a
dpkg -l | grep linux-

On pourra alors virer les noyaux inutiles.

Hors ligne

#5 Le 21/05/2021, à 12:11

Gras_du_Bide

Re : [Résolu] 20.10 -> 21.04 mainline, revenir au noyau de la distrib?

$ uname -a
Linux Martorah 5.11.0-17-generic #18-Ubuntu SMP Thu May 6 20:10:11 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Je suis bien sous 5.11.0-17, GPU validé par test sous xcom2 (tout est ok).

$ dpkg -l | grep linux-
ii  binutils-x86-64-linux-gnu                  2.36.1-6ubuntu1                                                      amd64        GNU binary utilities, for x86-64-linux-gnu target
ii  linux-base                                 4.5ubuntu5                                                           all          Linux image base package
ii  linux-firmware                             1.197                                                                all          Firmware for Linux kernel drivers
ii  linux-generic                              5.11.0.17.18                                                         amd64        Complete Generic Linux kernel and headers
ii  linux-generic-hwe-20.04                    5.11.0.17.18                                                         amd64        Complete Generic Linux kernel and headers
ii  linux-headers-5.10.7-051007                5.10.7-051007.202101122046                                           all          Header files related to Linux kernel version 5.10.7
ii  linux-headers-5.10.7-051007-generic        5.10.7-051007.202101122046                                           amd64        Linux kernel headers for version 5.10.7 on 64 bit x86 SMP
ii  linux-headers-5.11.0-051100                5.11.0-051100.202102142330                                           all          Header files related to Linux kernel version 5.11.0
ii  linux-headers-5.11.0-051100-generic        5.11.0-051100.202102142330                                           amd64        Linux kernel headers for version 5.11.0 on 64 bit x86 SMP
ii  linux-headers-5.11.0-17                    5.11.0-17.18                                                         all          Header files related to Linux kernel version 5.11.0
ii  linux-headers-5.11.0-17-generic            5.11.0-17.18                                                         amd64        Linux kernel headers for version 5.11.0 on 64 bit x86 SMP
ii  linux-headers-generic                      5.11.0.17.18                                                         amd64        Generic Linux kernel headers
ii  linux-headers-generic-hwe-20.04            5.11.0.17.18                                                         amd64        Generic Linux kernel headers
ii  linux-image-5.11.0-17-generic              5.11.0-17.18                                                         amd64        Signed kernel image generic
ii  linux-image-generic                        5.11.0.17.18                                                         amd64        Generic Linux kernel image
ii  linux-image-generic-hwe-20.04              5.11.0.17.18                                                         amd64        Generic Linux kernel image
ii  linux-image-unsigned-5.10.7-051007-generic 5.10.7-051007.202101122046                                           amd64        Linux kernel image for version 5.10.7 on 64 bit x86 SMP
ii  linux-image-unsigned-5.11.0-051100-generic 5.11.0-051100.202102142330                                           amd64        Linux kernel image for version 5.11.0 on 64 bit x86 SMP
ii  linux-libc-dev:amd64                       5.11.0-17.18                                                         amd64        Linux Kernel Headers for development
ii  linux-modules-5.10.7-051007-generic        5.10.7-051007.202101122046                                           amd64        Linux kernel extra modules for version 5.10.7 on 64 bit x86 SMP
ii  linux-modules-5.11.0-051100-generic        5.11.0-051100.202102142330                                           amd64        Linux kernel extra modules for version 5.11.0 on 64 bit x86 SMP
ii  linux-modules-5.11.0-17-generic            5.11.0-17.18                                                         amd64        Linux kernel extra modules for version 5.11.0 on 64 bit x86 SMP
ii  linux-modules-extra-5.11.0-17-generic      5.11.0-17.18                                                         amd64        Linux kernel extra modules for version 5.11.0 on 64 bit x86 SMP
ii  linux-sound-base                           1.0.25+dfsg-0ubuntu7                                                 all          base package for ALSA and OSS sound systems

Dernière modification par Gras_du_Bide (Le 21/05/2021, à 12:15)

Hors ligne

#6 Le 21/05/2021, à 12:29

abelthorne

Re : [Résolu] 20.10 -> 21.04 mainline, revenir au noyau de la distrib?

Tu peux donc supprimer les paquets du noyau "obsolète". Je proposerais aussi de virer les paquets du HWE qui est plutôt fait pour les LTS. Du coup, on va d'abord faire une simulation pour vérifier que tout est ok :

sudo apt-get remove -s --purge linux-generic-hwe-20.04 linux-headers-5.10.7-051007 linux-headers-5.10.7-051007-generic linux-headers-5.11.0-051100 linux-headers-5.11.0-051100-generic linux-headers-generic-hwe-20.04 linux-image-generic-hwe-20.04 linux-image-unsigned-5.10.7-051007-generic linux-image-unsigned-5.11.0-051100-generic linux-modules-5.10.7-051007-generic linux-modules-5.11.0-051100-generic

Hors ligne

#7 Le 21/05/2021, à 12:31

Gras_du_Bide

Re : [Résolu] 20.10 -> 21.04 mainline, revenir au noyau de la distrib?

$ sudo apt-get remove -s --purge linux-generic-hwe-20.04 linux-headers-5.10.7-051007 linux-headers-5.10.7-051007-generic linux-headers-5.11.0-051100 linux-headers-5.11.0-051100-generic linux-headers-generic-hwe-20.04 linux-image-generic-hwe-20.04 linux-image-unsigned-5.10.7-051007-generic linux-image-unsigned-5.11.0-051100-generic linux-modules-5.10.7-051007-generic linux-modules-5.11.0-051100-generic
[sudo] Mot de passe de leduc : 
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait      
Les paquets suivants seront ENLEVÉS :
  linux-generic-hwe-20.04* linux-headers-5.10.7-051007*
  linux-headers-5.10.7-051007-generic* linux-headers-5.11.0-051100*
  linux-headers-5.11.0-051100-generic* linux-headers-generic-hwe-20.04*
  linux-image-generic-hwe-20.04* linux-image-unsigned-5.10.7-051007-generic*
  linux-image-unsigned-5.11.0-051100-generic*
  linux-modules-5.10.7-051007-generic* linux-modules-5.11.0-051100-generic*
0 mis à jour, 0 nouvellement installés, 11 à enlever et 1 non mis à jour.
Purg linux-generic-hwe-20.04 [5.11.0.17.18]
Purg linux-headers-5.10.7-051007-generic [5.10.7-051007.202101122046]
Purg linux-headers-5.10.7-051007 [5.10.7-051007.202101122046]
Purg linux-headers-5.11.0-051100-generic [5.11.0-051100.202102142330]
Purg linux-headers-5.11.0-051100 [5.11.0-051100.202102142330]
Purg linux-headers-generic-hwe-20.04 [5.11.0.17.18]
Purg linux-image-generic-hwe-20.04 [5.11.0.17.18]
Purg linux-image-unsigned-5.10.7-051007-generic [5.10.7-051007.202101122046]
Purg linux-image-unsigned-5.11.0-051100-generic [5.11.0-051100.202102142330] [linux-modules-5.11.0-051100-generic:amd64 ]
Purg linux-modules-5.11.0-051100-generic [5.11.0-051100.202102142330]
Purg linux-modules-5.10.7-051007-generic [5.10.7-051007.202101122046]

par curiosité, j'ai regardé ce paquet non mis à jour:

$ sudo apt upgrade
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait      
Calcul de la mise à jour... Fait
Les paquets suivants ont été conservés :
  libc++1
0 mis à jour, 0 nouvellement installés, 0 à enlever et 1 non mis à jour.

Dernière modification par Gras_du_Bide (Le 21/05/2021, à 12:33)

Hors ligne

#8 Le 21/05/2021, à 12:39

abelthorne

Re : [Résolu] 20.10 -> 21.04 mainline, revenir au noyau de la distrib?

Tu peux relancer la commande sans la simu :

sudo apt-get remove --purge linux-generic-hwe-20.04 linux-headers-5.10.7-051007 linux-headers-5.10.7-051007-generic linux-headers-5.11.0-051100 linux-headers-5.11.0-051100-generic linux-headers-generic-hwe-20.04 linux-image-generic-hwe-20.04 linux-image-unsigned-5.10.7-051007-generic linux-image-unsigned-5.11.0-051100-generic linux-modules-5.10.7-051007-generic linux-modules-5.11.0-051100-generic

Concernant la mise à jour en attente, donne le retour de :

sudo apt-get update
sudo apt-get dist-upgrade

Si c'est une mise à jour qui ne peut pas se faire, ça ne vient pas forcément du noyau, il faudra voir du côté des dépôts tiers/paquets orphelins éventuels.

Hors ligne

#9 Le 21/05/2021, à 12:44

Gras_du_Bide

Re : [Résolu] 20.10 -> 21.04 mainline, revenir au noyau de la distrib?

Purge faite.

$ sudo apt-get update
Atteint :1 http://fr.archive.ubuntu.com/ubuntu hirsute InRelease
Atteint :2 http://fr.archive.ubuntu.com/ubuntu hirsute-updates InRelease                                          
Atteint :3 http://fr.archive.ubuntu.com/ubuntu hirsute-backports InRelease                                        
Atteint :4 http://archive.canonical.com/ubuntu hirsute InRelease                                                  
Réception de :5 http://security.ubuntu.com/ubuntu hirsute-security InRelease [101 kB]
101 ko réceptionnés en 0s (230 ko/s)
Lecture des listes de paquets... Fait
$ sudo apt-get dist-upgrade
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
Lecture des informations d'état... Fait      
Calcul de la mise à jour... Fait
Les paquets suivants ont été conservés :
  libc++1
0 mis à jour, 0 nouvellement installés, 0 à enlever et 1 non mis à jour.

Ce n'est pas bloquant en tout cas.

Dernière modification par Gras_du_Bide (Le 21/05/2021, à 12:47)

Hors ligne

#10 Le 21/05/2021, à 12:47

abelthorne

Re : [Résolu] 20.10 -> 21.04 mainline, revenir au noyau de la distrib?

Bon, on va regarder ça en détail :

cat /etc/apt/sources.list
ls /etc/apt/sources.list.d
cat /etc/apt/sources.list.d/*.list
apt list | grep "installé, local"

Hors ligne

#11 Le 21/05/2021, à 12:49

Gras_du_Bide

Re : [Résolu] 20.10 -> 21.04 mainline, revenir au noyau de la distrib?

$ cat /etc/apt/sources.list
# deb cdrom:[Ubuntu 20.10 _Groovy Gorilla_ - Release amd64 (20201022)]/ groovy main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ hirsute main restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ groovy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ hirsute-updates main restricted
# deb-src http://fr.archive.ubuntu.com/ubuntu/ groovy-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://fr.archive.ubuntu.com/ubuntu/ hirsute universe
# deb-src http://fr.archive.ubuntu.com/ubuntu/ groovy universe
deb http://fr.archive.ubuntu.com/ubuntu/ hirsute-updates universe
# deb-src http://fr.archive.ubuntu.com/ubuntu/ groovy-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://fr.archive.ubuntu.com/ubuntu/ hirsute multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ groovy multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ hirsute-updates multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ groovy-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://fr.archive.ubuntu.com/ubuntu/ hirsute-backports main restricted universe multiverse
# deb-src http://fr.archive.ubuntu.com/ubuntu/ groovy-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu hirsute partner
# deb-src http://archive.canonical.com/ubuntu groovy partner

deb http://security.ubuntu.com/ubuntu hirsute-security main restricted
# deb-src http://security.ubuntu.com/ubuntu groovy-security main restricted
deb http://security.ubuntu.com/ubuntu hirsute-security universe
# deb-src http://security.ubuntu.com/ubuntu groovy-security universe
deb http://security.ubuntu.com/ubuntu hirsute-security multiverse
# deb-src http://security.ubuntu.com/ubuntu groovy-security multiverse

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
$ ls /etc/apt/sources.list.d
amdgpu-pro-local.list.save                                        google-chrome.list.distUpgrade
cappelikan-ubuntu-ppa-groovy.list                                 lutris-team-ubuntu-lutris-groovy.list
cappelikan-ubuntu-ppa-groovy.list.distUpgrade                     lutris-team-ubuntu-lutris-groovy.list.distUpgrade
costales-ubuntu-yaru-colors-folder-color-groovy.list              teams.list
costales-ubuntu-yaru-colors-folder-color-groovy.list.distUpgrade  teams.list.distUpgrade
google-chrome.list
$ cat /etc/apt/sources.list.d/*.list
# deb http://ppa.launchpad.net/cappelikan/ppa/ubuntu/ hirsute main # désactivé pour la mise à niveau vers hirsute
# deb-src http://ppa.launchpad.net/cappelikan/ppa/ubuntu/ groovy main
# deb http://ppa.launchpad.net/costales/yaru-colors-folder-color/ubuntu/ hirsute main # désactivé pour la mise à niveau vers hirsute
# deb-src http://ppa.launchpad.net/costales/yaru-colors-folder-color/ubuntu/ groovy main
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
# deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main # désactivé pour la mise à niveau vers hirsute
# deb http://ppa.launchpad.net/lutris-team/lutris/ubuntu/ hirsute main # désactivé pour la mise à niveau vers hirsute
# deb-src http://ppa.launchpad.net/lutris-team/lutris/ubuntu/ groovy main
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
# deb [arch=amd64] https://packages.microsoft.com/repos/ms-teams stable main # désactivé pour la mise à niveau vers hirsute
$ apt list | grep "installé, local"

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

antimicrox/now 3.1.5 amd64  [installé, local]
brscan-skey/now 0.3.1-1 amd64  [installé, local]
brscan4/now 0.4.9-1 amd64  [installé, local]
dcp9020cdwcupswrapper/now 1.1.4-0 i386  [installé, local]
dcp9020cdwlpr/now 1.1.2-1 i386  [installé, local]
deskreen/now 1.0.11 amd64  [installé, local]
discord/now 0.0.14 amd64  [installé, local]
gir1.2-unity-5.0/now 7.1.4+19.04.20190319-2 amd64  [installé, local]
google-chrome-stable/now 90.0.4430.212-1 amd64  [installé, local]
libdvdcss-dev/now 1.4.2-1~local amd64  [installé, local]
libdvdcss2/now 1.4.2-1~local amd64  [installé, local]
lightworks/now 2021.1 amd64  [installé, local]
minecraft-launcher/now 2.2.909 amd64  [installé, local]
net.downloadhelper.coapp/now 1.6.1 amd64  [installé, local]
pdf4teachers/now 1.2.1 amd64  [installé, local]
sayonara/now 1.6.0-beta7~2012261727.g12bf67f3-1groovy1 amd64  [installé, local]
teams/now 1.4.00.7556 amd64  [installé, local]
wonderdraft/now 1.1.4.2 amd64  [installé, local]
xmind-vana/now 10.3.1-202101132117 amd64  [installé, local]
yaru-colors-folder-color/now 0.0.1 all  [installé, local]
zoom/now 5.6.16888.0424 amd64  [installé, local]

(redemarrage fait et je suis sous 5.11.0-17, problème initial résolu)

Dernière modification par Gras_du_Bide (Le 21/05/2021, à 12:51)

Hors ligne

#12 Le 21/05/2021, à 12:59

abelthorne

Re : [Résolu] 20.10 -> 21.04 mainline, revenir au noyau de la distrib?

Tu as plusieurs PPA qui ont été désactivés pendant la mise à niveau (c'est normal, il faut les rétablir ensuite à la bonne version s'ils sont encore utiles/pertinents). De quoi est-ce que tu as besoin là-dedans ?
- cappelikan-ubuntu-ppa-groovy.list : le noyau mainline, donc a priori non
- costales-ubuntu-yaru-colors-folder-color-groovy.list : icônes Yaru pour Folder Colors
- google-chrome.list : Google Chrome
- lutris-team-ubuntu-lutris-groovy.list : Lutris (à noter qu'il est maintenant dans les dépôts hirsute mais le PPA peut rester utile pour ses prochaines mises à jour)
- teams.list : Microsoft Teams

D'autre part, dans les paquets orphelins, est-ce que tous ces paquets installés manuellement sont à garder ?
- antimicrox
- deskreen
- discord
- lightworks
- minecraft-launcher
- net.downloadhelper.coapp
- pdf4teachers
- sayonara
- wonderdraft
- xmind-vana
- zoom

Sachant que c'est peut-être l'un deux qui bloque la mise à jour de libc++1. Personnellement, quand c'est possible, je préconiserais d'installer des versions snap/flatpak pour les applis qui sont disponibles à ces formats plutôt que des debs orphelins qui peuvent poser des problèmes de dépendances à plus ou moins long terme et qui ne sont pas mis à jour automatiquement. Par exemple pour Discord et Minecraft (même si ceux-ci sont un mauvais exemple, vu qu'ils se mettent à jour indépendamment du deb), peut-être d'autres.

Hors ligne

#13 Le 21/05/2021, à 13:07

Gras_du_Bide

Re : [Résolu] 20.10 -> 21.04 mainline, revenir au noyau de la distrib?

abelthorne a écrit :

- cappelikan-ubuntu-ppa-groovy.list : le noyau mainline, donc a priori non
- google-chrome.list : Google Chrome

oui, à dégager

abelthorne a écrit :

- costales-ubuntu-yaru-colors-folder-color-groovy.list : icônes Yaru pour Folder Colors
- lutris-team-ubuntu-lutris-groovy.list : Lutris (à noter qu'il est maintenant dans les dépôts hirsute mais le PPA peut rester utile pour ses prochaines mises à jour)
- teams.list : Microsoft Teams

Ceux-là, j'utilise.

abelthorne a écrit :

Paquets orphelins
- antimicrox
- deskreen
- lightworks
- xmind-vana
- pdf4teachers

Ceux-là peuvent dégager.

abelthorne a écrit :

- discord
- minecraft-launcher
- net.downloadhelper.coapp
- sayonara
- wonderdraft
- zoom

Et ceux-là, je les utilise.

EDIT:
Après avoir viré les paquets choisis, c'est résolu. Y en a un qui était responsable.

$ sudo apt-get dist-upgrade
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances... Fait
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.

Un grand merci pour l'aide!
GdB

Dernière modification par Gras_du_Bide (Le 21/05/2021, à 13:10)

Hors ligne

#14 Le 21/05/2021, à 13:20

abelthorne

Re : [Résolu] 20.10 -> 21.04 mainline, revenir au noyau de la distrib?

Attends, il faudrait quand même nettoyer les dépôts. Je vais te donner les fichiers à éditer et leur contenu correct avec Nano. Pour enregistrer après les modifs, c'est ctrl + O ; il va te demander de valider le nom de fichier, appuie juste sur entrée ; puis ctrl + X pour fermer Nano. Note : tu peux effacer des lignes entières avec ctrl + K dans Nano.

Le sources.list principal (on va supprimer les dépôts du code source qui sont en groovy − ce qui ne pose pas de problème en soi, ils sont désactivés, mais au cas où tu veuilles les activer à un moment ; ils pourront l'être facilement via Logiciels et mises à jour) :

sudo nano /etc/apt/sources.list

Contenu :

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ hirsute main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ hirsute-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://fr.archive.ubuntu.com/ubuntu/ hirsute universe
deb http://fr.archive.ubuntu.com/ubuntu/ hirsute-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://fr.archive.ubuntu.com/ubuntu/ hirsute multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ hirsute-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://fr.archive.ubuntu.com/ubuntu/ hirsute-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu hirsute partner

deb http://security.ubuntu.com/ubuntu hirsute-security main restricted
deb http://security.ubuntu.com/ubuntu hirsute-security universe
deb http://security.ubuntu.com/ubuntu hirsute-security multiverse

Yaru :

sudo nano /etc/apt/sources.list.d/costales-ubuntu-yaru-colors-folder-color-groovy.list

Contenu :

deb http://ppa.launchpad.net/costales/yaru-colors-folder-color/ubuntu/ hirsute main
# deb-src http://ppa.launchpad.net/costales/yaru-colors-folder-color/ubuntu/ hirsute main

Lutris :

sudo nano /etc/apt/sources.list.d/lutris-team-ubuntu-lutris-groovy.list

Contenu :

deb http://ppa.launchpad.net/lutris-team/lutris/ubuntu/ hirsute main
# deb-src http://ppa.launchpad.net/lutris-team/lutris/ubuntu/ hirsute main

Teams :

sudo nano /etc/apt/sources.list.d/teams.list

Contenu :

### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
deb [arch=amd64] https://packages.microsoft.com/repos/ms-teams stable main

Supprime ensuite les fichiers inutiles :

cd /etc/apt/sources.list.d
sudo rm *.save *.distUpgrade cappelikan-ubuntu-ppa-groovy.list google-chrome.list

Recharge la liste des dépôts et fais les mises à jour :

sudo apt-get update && sudo apt-get dist-upgrade

puis redonne la liste des paquets orphelins :

apt list | grep "installé, local"

Dernière modification par abelthorne (Le 21/05/2021, à 13:22)

Hors ligne

#15 Le 26/05/2021, à 14:09

Gras_du_Bide

Re : [Résolu] 20.10 -> 21.04 mainline, revenir au noyau de la distrib?

Désolé abelthorne, je n'avais pas vu ta dernière réponse. J'ai fait ce que tu as demandé. Voici la réponse de la dernière commande:

$ apt list | grep "installé, local"
...

Laisse tomber, j'ai fait ça en déplacement... avec mon portable et non mon fixe! wink
Je le referai de retour à mon bureau.

Dernière modification par Gras_du_Bide (Le 26/05/2021, à 14:11)

Hors ligne