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.

#76 Le 19/01/2022, à 19:23

abelthorne

Re : [Résolu] Ubuntu 20.04 : dépôts désactivés pour la MAJ vers focal

Dans l'ordre :
1) Attention si tu utilises un éditeur de texte graphique avec sudo, ça pourrait mettre un peu le bordel dans ton dossier perso en attribuant ses fichiers de config à root. Rien de bien grave, ça se corrige, mais c'est pour ça qu'on utilise plutôt Nano.
2) Fais les mises à jour, oui. Donne le retour aussi de la mise à jour.
3) Il n'y avait pas Ubuntu préinstallé sur ton PC ? Tu as fait une installation de la version standard d'Ubuntu (récupérée sur ubuntu.com, ou une variante officielle sur son site spécifique) ? Dans ce cas, j'ai du mal à comprendre d'où viennent tes dépôts Lenovo, c'est généralement le genre de chose qu'on voit sur les PC de fabricants (Dell, etc.) qui fournissent Ubuntu préinstallé et qui proposent des dépôts spécifiques pour le matériel. À moins que tu aies installé une version spéciale d'Ubuntu trouvée sur le site de Lenovo ou que tu aies ajouté toi-même ces dépôts, j'ai du mal à comprendre d'où ils peuvent venir.

Hors ligne

#77 Le 19/01/2022, à 20:21

TVG

Re : [Résolu] Ubuntu 20.04 : dépôts désactivés pour la MAJ vers focal

1) Je n'utilise pas l'éditeur de texte graphique avec sudo. Enfin je ne crois pas. J'ouvre le fichier ("subl mon_fichier"), je le modifie, puis ça me demande mon mdp au moment ou je l'enregistre. Je ne fais pas "sudo subl mon_fichier". Je suppose que c'est différent ?

2) Voici le retour des mises à jour :

Get:1 https://mega.nz/linux/MEGAsync/xUbuntu_21.04 ./ megasync 4.6.1-2.1 [13.2 MB]
Fetched 13.2 MB in 1s (9,645 kB/s)   
(Reading database ... 349809 files and directories currently installed.)
Preparing to unpack .../megasync_4.6.1-2.1_amd64.deb ...
Unpacking megasync (4.6.1-2.1) over (4.6.1-2.1) ...
Setting up megasync (4.6.1-2.1) ...
fs.inotify.max_user_watches = 524288
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for mailcap (3.68ubuntu1) ...
Processing triggers for desktop-file-utils (0.26-1ubuntu1) ...

3) Non il n'y avait pas Ubuntu préinstallé. J'ai installé la version standard d'Ubuntu. Si on regarde le message #40 du 15/10/2020, on peut noter que je n'avais pas le dépôt oem-sutton.newell-adam-meta.list. Il n'était donc pas la lors de la première installation d'Ubuntu. On voit par contre ce dépôt sur le message #67 du 06/12/2021. La seule chose que je vois qui ait pu ajouter ce dépôt est ce que j'ai fait le 25/10/2021, à savoir :

Display driver for ThinkPad Hybrid USB-C with USB-A Dock downloaded from
https://www.synaptics.com/products/disp … ads/ubuntu
and installed with
'sudo bash displaylink-driver-5.4.1-55.174.run'

Reinstallation of xserver-xorg-core to try to fix the lag of external display with ThinkPad Dock (https://forum.ubuntu-fr.org/viewtopic.p … #p22499009)
'sudo apt-get install --reinstall xserver-xorg-core'

EDIT : je n'ai pas réussi à corriger le problème avec le Dock, donc si ce dépôt est bien lié à ça, on peut le virer.

Dernière modification par TVG (Le 19/01/2022, à 20:23)

Hors ligne

#78 Le 19/01/2022, à 20:23

xubu1957

Re : [Résolu] Ubuntu 20.04 : dépôts désactivés pour la MAJ vers focal


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

Hors ligne

#79 Le 19/01/2022, à 23:00

abelthorne

Re : [Résolu] Ubuntu 20.04 : dépôts désactivés pour la MAJ vers focal

Je ne suis pas sûr que ça aide beaucoup : dans ce sujet, il est juste question de l'ISO (standard) qui a été utilisée, non ? Rien à voir avec le dépôt Lenovo a priori.

Idem pour le pilote Synaptics : il concerne le trackpad qui est utilisé sur des tas de marques de PC différentes, ça me semble assez peu probable qu'il rajoute des dépôts Lenovo pour Ubuntu.

Bref, c'est bien mystérieux tout ça.

Quoi qu'il en soit, maintenant que le système est à jour, on va pour le moment laisser de côté ces dépôts Lenovo, le PPA de SANE GIT et éventuellement supprimer Signal. @TVG : donne le retour de :

uname -a
dpkg -l | grep linux-
apt list | grep "installé, local"

La liste de la dernière commande devrait être similaire à celle de ton message #71 mais avec quelques paquets en moins (c'est pour ça que le la redemande).

Hors ligne

#80 Le 19/01/2022, à 23:07

xubu1957

Re : [Résolu] Ubuntu 20.04 : dépôts désactivés pour la MAJ vers focal

Dans :

adf415c7257803ed8d0ede4918365ef3  ./pool/main/l/linux-meta-oem-5.6/linux-image-oem-20.04_5.6.0.1020.17_amd64.deb
caedbc12ee4e7457278e5cd5cef76936  ./pool/main/l/linux-signed-oem-5.6/linux-image-5.6.0-1020-oem_5.6.0-1020.20_amd64.deb

on voyait des noyaux oem.


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

Hors ligne

#81 Le 19/01/2022, à 23:23

abelthorne

Re : [Résolu] Ubuntu 20.04 : dépôts désactivés pour la MAJ vers focal

Oui mais c'était apparemment sur une ISO standard, ça indique juste qu'ils sont présents dessus, ce qui est normal. Après, je ne sais pas s'ils sont installés par défaut en fonction de ce que l'installeur détecte comme modèle de PC et qu'ils ajoutent alors des dépôts tiers du fabricant concerné ? Ça me semble un peu étonnant. D'autant qu'en faisant une petite recherche, je tombe par exemple sur cet article de quelqu'un qui a installé une Ubuntu standard sur un PC Dell, qui n'avait pas de pilotes pour le matos et qui a dû ajouter manuellement les dépôts Dell dédiés. On peut en déduire qu'il n'y a rien d'automatique. Après, c'est un message de 2018, c'est possible que ça ait changé avec Ubuntu 20.04, même si ce serait à mon avis un peu surprenant. La situation est floue.

Hors ligne

#82 Le 20/01/2022, à 07:26

xubu1957

Re : [Résolu] Ubuntu 20.04 : dépôts désactivés pour la MAJ vers focal

Bonjour,

On voyait au dernier pavé dans [Résolu] Bug affichage écran intégré lorsqu'en double écran

rc  linux-image-5.10.0-1029-oem                   5.10.0-1029.30                        amd64        Signed kernel image oem
rc  linux-image-5.10.0-1032-oem                   5.10.0-1032.33                        amd64        Signed kernel image oem
rc  linux-image-5.10.0-1033-oem                   5.10.0-1033.34                        amd64        Signed kernel image oem
rc  linux-image-5.10.0-1034-oem                   5.10.0-1034.35                        amd64        Signed kernel image oem
rc  linux-image-5.10.0-1038-oem                   5.10.0-1038.40                        amd64        Signed kernel image oem
rc  linux-image-5.10.0-1044-oem                   5.10.0-1044.46                        amd64        Signed kernel image oem
rc  linux-image-5.10.0-1045-oem                   5.10.0-1045.47                        amd64        Signed kernel image oem

rc  linux-image-5.6.0-1048-oem                    5.6.0-1048.52                         amd64        Signed kernel image oem
rc  linux-image-5.6.0-1050-oem                    5.6.0-1050.54                         amd64        Signed kernel image oem
rc  linux-image-5.6.0-1052-oem                    5.6.0-1052.56                         amd64        Signed kernel image oem
rc  linux-image-5.6.0-1053-oem                    5.6.0-1053.57                         amd64        Signed kernel image oem
rc  linux-image-5.6.0-1054-oem                    5.6.0-1054.58                         amd64        Signed kernel image oem
rc  linux-image-5.6.0-1055-oem                    5.6.0-1055.59                         amd64        Signed kernel image oem
rc  linux-image-5.6.0-1056-oem                    5.6.0-1056.60                         amd64        Signed kernel image oem

et dans /viewtopic.php?pid=22402275#p22402275 :

Le 15/01/2021, abelthorne a écrit :

D'ailleurs, je sais pas trop ce que c'est 'oem-sutton.newell-adam-meta.list', ni pourquoi ça semble avoir été ajouté le 18 novembre (avant que je reçoive le PC ?!).

Au vu du nom, c'est un dépôt OEM, donc géré par le fabricant/revendeur du PC. Il peut y avoir un peu tout et n'importe quoi dedans, ça dépend des vendeurs : aussi bien des pilotes spécifiques pour du matériel qui n'est pas forcément géré par le noyau actuel que simplement des personnalisations du genre logo au démarrage. En tout cas, garde-le. Il ne sera probablement pas maintenu sur le long terme et ne sera peut-être plus valable pour les prochaines versions d'Ubuntu mais en attendant, il est potentiellement utile.

Dernière modification par xubu1957 (Le 20/01/2022, à 07:40)


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

Hors ligne

#83 Le 20/01/2022, à 09:35

TVG

Re : [Résolu] Ubuntu 20.04 : dépôts désactivés pour la MAJ vers focal

Merci à vous deux pour vos recherches.

TVG a écrit :

Si on regarde le message #40 du 15/10/2020, on peut noter que je n'avais pas le dépôt oem-sutton.newell-adam-meta.list. Il n'était donc pas la lors de la première installation d'Ubuntu. On voit par contre ce dépôt sur le message #67 du 06/12/2021.

Bon, j'ai dit n'importe quoi... Le message #40 du 15/10/2020 correspond à mon ancien PC... J'ai fait l'installation d'Ubuntu 20.04 sur mon nouveau PC le 06/01/2021 comme rappelé par xubu1957 avec le lien > [Résolu] Partitions EFI et swap pour Ubuntu 20.04. On y voyait déjà à l'origine cette mention d'OEM. Une semaine après on voit bien 'oem-sutton.newell-adam-meta.list' dans /etc/apt/sources.list.d/ au message #10 de cette discussion > [Résolu] Problème apt upgrade et apt autoremove. Comme rappelé par xubu1957 ci-dessus, abelthorne tu avais donné une explication sur ce dépôt. J'avais donné toutes les installations que j'avais faites depuis l'installation d'Ubuntu au message #1. Si rien de tout ça n'a pu ajouter le dépôt en question, il y a fort à parier qu'il a été ajouté à l'installation de Ubuntu.

Voici les retours des commandes avec une mise à jour ce matin :

toto:~$ sudo apt update
[sudo] password for toto: 
Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 http://fr.archive.ubuntu.com/ubuntu hirsute InRelease                                                                                
Hit:3 https://linux.teamviewer.com/deb stable InRelease                                                                                    
Hit:4 http://fr.archive.ubuntu.com/ubuntu hirsute-updates InRelease                                                                        
Hit:5 http://fr.archive.ubuntu.com/ubuntu hirsute-backports InRelease                                                                      
Hit:6 https://updates.signal.org/desktop/apt xenial InRelease                                                                              
Hit:7 https://packages.microsoft.com/repos/ms-teams stable InRelease                                                                       
Get:8 https://mega.nz/linux/MEGAsync/xUbuntu_21.04 ./ InRelease [2,441 B]                                                      
Hit:9 http://security.ubuntu.com/ubuntu hirsute-security InRelease                                                    
Hit:10 https://downloads.sourceforge.net/project/zotero-deb ./ InRelease           
Fetched 2,441 B in 1s (2,224 B/s)                                       
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
toto:~$
toto:~$ sudo apt dist-upgrade 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  google-chrome-stable
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 90.9 MB of archives.
After this operation, 4,291 kB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://dl.google.com/linux/chrome/deb stable/main amd64 google-chrome-stable amd64 97.0.4692.99-1 [90.9 MB]
Fetched 90.9 MB in 3s (27.7 MB/s)               
(Reading database ... 349809 files and directories currently installed.)
Preparing to unpack .../google-chrome-stable_97.0.4692.99-1_amd64.deb ...
Unpacking google-chrome-stable (97.0.4692.99-1) over (97.0.4692.71-1) ...
Setting up google-chrome-stable (97.0.4692.99-1) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for mailcap (3.68ubuntu1) ...
Processing triggers for desktop-file-utils (0.26-1ubuntu1) ...
toto:~$ 
toto:~$ uname -a
Linux pc-de-toto 5.13.0-27-generic #29~20.04.1-Ubuntu SMP Fri Jan 14 00:32:30 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
toto:~$ 
toto:~$ 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.4                                                         all          Linux image base package
ii  linux-firmware                                1.197.5                                                              all          Firmware for Linux kernel drivers
ii  linux-generic                                 5.11.0.49.48                                                         amd64        Complete Generic Linux kernel and headers
ii  linux-generic-hwe-20.04                       5.13.0.27.29~20.04.13                                                amd64        Complete Generic Linux kernel and headers
ii  linux-headers-5.11.0-49                       5.11.0-49.55                                                         all          Header files related to Linux kernel version 5.11.0
ii  linux-headers-5.11.0-49-generic               5.11.0-49.55                                                         amd64        Linux kernel headers for version 5.11.0 on 64 bit x86 SMP
ii  linux-headers-5.13.0-27-generic               5.13.0-27.29~20.04.1                                                 amd64        Linux kernel headers for version 5.13.0 on 64 bit x86 SMP
ii  linux-headers-generic                         5.11.0.49.48                                                         amd64        Generic Linux kernel headers
ii  linux-headers-generic-hwe-20.04               5.13.0.27.29~20.04.13                                                amd64        Generic Linux kernel headers
ii  linux-hwe-5.13-headers-5.13.0-27              5.13.0-27.29~20.04.1                                                 all          Header files related to Linux kernel version 5.13.0
rc  linux-image-5.10.0-1057-oem                   5.10.0-1057.61                                                       amd64        Signed kernel image oem
ii  linux-image-5.11.0-49-generic                 5.11.0-49.55                                                         amd64        Signed kernel image generic
rc  linux-image-5.13.0-25-generic                 5.13.0-25.26~20.04.1                                                 amd64        Signed kernel image generic
ii  linux-image-5.13.0-27-generic                 5.13.0-27.29~20.04.1                                                 amd64        Signed kernel image generic
rc  linux-image-5.8.0-34-generic                  5.8.0-34.37~20.04.2                                                  amd64        Signed kernel image generic
ii  linux-image-generic                           5.11.0.49.48                                                         amd64        Generic Linux kernel image
ii  linux-image-generic-hwe-20.04                 5.13.0.27.29~20.04.13                                                amd64        Generic Linux kernel image
ii  linux-libc-dev:amd64                          5.11.0-49.55                                                         amd64        Linux Kernel Headers for development
rc  linux-modules-5.10.0-1057-oem                 5.10.0-1057.61                                                       amd64        Linux kernel extra modules for version 5.10.0 on 64 bit x86 SMP
ii  linux-modules-5.11.0-49-generic               5.11.0-49.55                                                         amd64        Linux kernel extra modules for version 5.11.0 on 64 bit x86 SMP
rc  linux-modules-5.13.0-25-generic               5.13.0-25.26~20.04.1                                                 amd64        Linux kernel extra modules for version 5.13.0 on 64 bit x86 SMP
ii  linux-modules-5.13.0-27-generic               5.13.0-27.29~20.04.1                                                 amd64        Linux kernel extra modules for version 5.13.0 on 64 bit x86 SMP
rc  linux-modules-5.8.0-34-generic                5.8.0-34.37~20.04.2                                                  amd64        Linux kernel extra modules for version 5.8.0 on 64 bit x86 SMP
ii  linux-modules-extra-5.11.0-49-generic         5.11.0-49.55                                                         amd64        Linux kernel extra modules for version 5.11.0 on 64 bit x86 SMP
rc  linux-modules-extra-5.13.0-25-generic         5.13.0-25.26~20.04.1                                                 amd64        Linux kernel extra modules for version 5.13.0 on 64 bit x86 SMP
ii  linux-modules-extra-5.13.0-27-generic         5.13.0-27.29~20.04.1                                                 amd64        Linux kernel extra modules for version 5.13.0 on 64 bit x86 SMP
ii  linux-oem-20.04                               5.11.0.49.48                                                         amd64        Complete generic Linux kernel and headers (dummy transitional package)
ii  linux-sound-base                              1.0.25+dfsg-0ubuntu7                                                 all          base package for ALSA and OSS sound systems
toto:~$
toto:~$ apt list | grep "installed,local"

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

cnijfilter2/now 5.90-1 amd64 [installed,local]
gir1.2-unity-5.0/now 7.1.4+19.04.20190319-0ubuntu3 amd64 [installed,local]
libperl5.30/now 5.30.0-9ubuntu0.2 amd64 [installed,local]
libsane-common/now 1.0.32+git20211118-focal0 all [installed,local]
libsane1/now 1.0.32+git20211118-focal0 amd64 [installed,local]
libsane/now 1.0.32+git20211118-focal0 amd64 [installed,local]
libsnmp35/now 5.8+dfsg-2ubuntu2.3 amd64 [installed,local]
linux-generic-hwe-20.04/now 5.13.0.27.29~20.04.13 amd64 [installed,local]
linux-headers-5.13.0-27-generic/now 5.13.0-27.29~20.04.1 amd64 [installed,local]
linux-headers-generic-hwe-20.04/now 5.13.0.27.29~20.04.13 amd64 [installed,local]
linux-hwe-5.13-headers-5.13.0-27/now 5.13.0-27.29~20.04.1 all [installed,local]
linux-image-5.13.0-27-generic/now 5.13.0-27.29~20.04.1 amd64 [installed,local]
linux-image-generic-hwe-20.04/now 5.13.0.27.29~20.04.13 amd64 [installed,local]
linux-modules-5.13.0-27-generic/now 5.13.0-27.29~20.04.1 amd64 [installed,local]
linux-modules-extra-5.13.0-27-generic/now 5.13.0-27.29~20.04.1 amd64 [installed,local]
oem-sutton.newell-adam-meta/now 20.04ubuntu5 all [installed,local]
oem-sutton.newell-meta/now 4.0newell5 all [installed,local]
perl-modules-5.30/now 5.30.0-9ubuntu0.2 all [installed,local]
sane-utils/now 1.0.32+git20211118-focal0 amd64 [installed,local]
scangearmp2/now 3.90-1 amd64 [installed,local]
xserver-common/now 2:1.20.13-1ubuntu1~20.04.2 all [installed,local]
xserver-xephyr/now 2:1.20.13-1ubuntu1~20.04.2 amd64 [installed,local]
xserver-xorg-core/now 2:1.20.13-1ubuntu1~20.04.2 amd64 [installed,local]
xserver-xorg-legacy/now 2:1.20.13-1ubuntu1~20.04.2 amd64 [installed,local]
toto:~$

Hors ligne

#84 Le 20/01/2022, à 09:49

TVG

Re : [Résolu] Ubuntu 20.04 : dépôts désactivés pour la MAJ vers focal

abelthorne a écrit :

En aparté, concernant Zotero, il me semble que la gestion de la version deb était passée de SourceForge à GitHub mais ça devrait encore fonctionner via SF. Sachant que le type qui gère le paquet est apparemment en train de transférer tout ça à Zotero, donc les deux méthodes seront obsolètes à plus ou moins long terme et il faudra revoir ça plus en détail.

L'explication est ici au message #68 > https://forum.ubuntu-fr.org/viewtopic.p … #p22512731. Peut-être que le dépôt GitHub est de nouveau opérationnel ? Je note que la version de Zotero est maintenant à jour sur snap et flatpack. Peut-être que le plus simple est de passer par snap maintenant pour ce paquet ?

Hors ligne

#85 Le 20/01/2022, à 11:25

abelthorne

Re : [Résolu] Ubuntu 20.04 : dépôts désactivés pour la MAJ vers focal

Justement, ça a changé depuis l'autre message. La situation que j'évoque ci-dessus est l'état actuel du projet, c'est indiqué sur la page GitHub. En résumé :
- l'installation du deb via GitHub fonctionne à nouveau mais elle peut avoir des petits problèmes ;
- l'installation du deb via SourceForge fonctionne mais SF peut avoir des petits problèmes de dépôts temporaires ;
- il y a une installation disponible via B2 (aucune idée de ce que c'est) ;
- le mec est en train de transférer le projet à Zotero (sans date annoncée).
Concernant les versions snap et flatpak, ce ne sont pas des versions officielles non plus et sont gérées par d'autres packageurs. Au final, utilise ce que tu préfères, la seule version officielle est en installation manuelle.

En ce qui concerne les paquets orphelins, donne le retour de :

apt-cache policy cnijfilter2 gir1.2-unity-5.0 libperl5.30 libsane-common libsane1 libsane libsnmp35 linux-generic-hwe-20.04 linux-headers-5.13.0-27-generic linux-headers-generic-hwe-20.04 linux-hwe-5.13-headers-5.13.0-27 linux-image-5.13.0-27-generic linux-image-generic-hwe-20.04 linux-modules-5.13.0-27-generic linux-modules-extra-5.13.0-27-generic oem-sutton.newell-adam-meta oem-sutton.newell-meta perl-modules-5.30 sane-utils scangearmp2 xserver-common xserver-xephyr xserver-xorg-core xserver-xorg-legacy

À noter que tu es sur un noyau qui vient de je ne sais où, à un moment il faudra redémarrer sur une version un peu plus ancienne.

Hors ligne

#86 Le 20/01/2022, à 11:30

xubu1957

Re : [Résolu] Ubuntu 20.04 : dépôts désactivés pour la MAJ vers focal

Noyau tout récent > ubuntuupdates.org/package/core/impish/main/security/linux-meta

Version: 5.13.0.27.37    2022-01-19 13:06:45 UTC
  linux-meta (5.13.0.27.37)

ou ubuntuupdates.org/package/core/focal/restricted/security/linux-restricted-signatures-hwe-5.13

Version: 5.13.0-27.29~20.04.1    2022-01-19 13:06:37 UTC
  linux-restricted-signatures-hwe-5.13 (5.13.0-27.29~20.04.1) focal

Dernière modification par xubu1957 (Le 20/01/2022, à 11:32)


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

Hors ligne

#87 Le 20/01/2022, à 11:37

TVG

Re : [Résolu] Ubuntu 20.04 : dépôts désactivés pour la MAJ vers focal

OK. Donc pour Zotero, si je veux être à jour, le mieux c'est de faire l'installation manuellement comme décrit ici et de refaire la manip à chaque nouvelle mise à jour ? Pour mettre à jour, il suffit de refaire la même manip ou il y a des précautions à prendre ?

Voici les retours de la commande suggérée :

toto:~$ apt-cache policy cnijfilter2 gir1.2-unity-5.0 libperl5.30 libsane-common libsane1 libsane libsnmp35 linux-generic-hwe-20.04 linux-headers-5.13.0-27-generic linux-headers-generic-hwe-20.04 linux-hwe-5.13-headers-5.13.0-27 linux-image-5.13.0-27-generic linux-image-generic-hwe-20.04 linux-modules-5.13.0-27-generic linux-modules-extra-5.13.0-27-generic oem-sutton.newell-adam-meta oem-sutton.newell-meta perl-modules-5.30 sane-utils scangearmp2 xserver-common xserver-xephyr xserver-xorg-core xserver-xorg-legacy
cnijfilter2:
  Installed: 5.90-1
  Candidate: 5.90-1
  Version table:
 *** 5.90-1 100
        100 /var/lib/dpkg/status
gir1.2-unity-5.0:
  Installed: 7.1.4+19.04.20190319-0ubuntu3
  Candidate: 7.1.4+19.04.20190319-0ubuntu3
  Version table:
 *** 7.1.4+19.04.20190319-0ubuntu3 100
        100 /var/lib/dpkg/status
libperl5.30:
  Installed: 5.30.0-9ubuntu0.2
  Candidate: 5.30.0-9ubuntu0.2
  Version table:
 *** 5.30.0-9ubuntu0.2 100
        100 /var/lib/dpkg/status
libsane-common:
  Installed: 1.0.32+git20211118-focal0
  Candidate: 1.0.32+git20211118-focal0
  Version table:
 *** 1.0.32+git20211118-focal0 100
        100 /var/lib/dpkg/status
     1.0.32-0ubuntu2 500
        500 http://fr.archive.ubuntu.com/ubuntu hirsute/main amd64 Packages
        500 http://fr.archive.ubuntu.com/ubuntu hirsute/main i386 Packages
libsane1:
  Installed: 1.0.32+git20211118-focal0
  Candidate: 1.0.32+git20211118-focal0
  Version table:
 *** 1.0.32+git20211118-focal0 100
        100 /var/lib/dpkg/status
     1.0.32-0ubuntu2 500
        500 http://fr.archive.ubuntu.com/ubuntu hirsute/main amd64 Packages
libsane:
  Installed: 1.0.32+git20211118-focal0
  Candidate: 1.0.32+git20211118-focal0
  Version table:
 *** 1.0.32+git20211118-focal0 100
        100 /var/lib/dpkg/status
     1.0.32-0ubuntu2 500
        500 http://fr.archive.ubuntu.com/ubuntu hirsute/universe amd64 Packages
libsnmp35:
  Installed: 5.8+dfsg-2ubuntu2.3
  Candidate: 5.8+dfsg-2ubuntu2.3
  Version table:
 *** 5.8+dfsg-2ubuntu2.3 100
        100 /var/lib/dpkg/status
linux-generic-hwe-20.04:
  Installed: 5.13.0.27.29~20.04.13
  Candidate: 5.13.0.27.29~20.04.13
  Version table:
 *** 5.13.0.27.29~20.04.13 100
        100 /var/lib/dpkg/status
     5.11.0.49.48 500
        500 http://fr.archive.ubuntu.com/ubuntu hirsute-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu hirsute-security/main amd64 Packages
     5.11.0.16.17 500
        500 http://fr.archive.ubuntu.com/ubuntu hirsute/main amd64 Packages
linux-headers-5.13.0-27-generic:
  Installed: 5.13.0-27.29~20.04.1
  Candidate: 5.13.0-27.29~20.04.1
  Version table:
 *** 5.13.0-27.29~20.04.1 100
        100 /var/lib/dpkg/status
linux-headers-generic-hwe-20.04:
  Installed: 5.13.0.27.29~20.04.13
  Candidate: 5.13.0.27.29~20.04.13
  Version table:
 *** 5.13.0.27.29~20.04.13 100
        100 /var/lib/dpkg/status
     5.11.0.49.48 500
        500 http://fr.archive.ubuntu.com/ubuntu hirsute-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu hirsute-security/main amd64 Packages
     5.11.0.16.17 500
        500 http://fr.archive.ubuntu.com/ubuntu hirsute/main amd64 Packages
linux-hwe-5.13-headers-5.13.0-27:
  Installed: 5.13.0-27.29~20.04.1
  Candidate: 5.13.0-27.29~20.04.1
  Version table:
 *** 5.13.0-27.29~20.04.1 100
        100 /var/lib/dpkg/status
linux-image-5.13.0-27-generic:
  Installed: 5.13.0-27.29~20.04.1
  Candidate: 5.13.0-27.29~20.04.1
  Version table:
 *** 5.13.0-27.29~20.04.1 100
        100 /var/lib/dpkg/status
linux-image-generic-hwe-20.04:
  Installed: 5.13.0.27.29~20.04.13
  Candidate: 5.13.0.27.29~20.04.13
  Version table:
 *** 5.13.0.27.29~20.04.13 100
        100 /var/lib/dpkg/status
     5.11.0.49.48 500
        500 http://fr.archive.ubuntu.com/ubuntu hirsute-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu hirsute-security/main amd64 Packages
     5.11.0.16.17 500
        500 http://fr.archive.ubuntu.com/ubuntu hirsute/main amd64 Packages
linux-modules-5.13.0-27-generic:
  Installed: 5.13.0-27.29~20.04.1
  Candidate: 5.13.0-27.29~20.04.1
  Version table:
 *** 5.13.0-27.29~20.04.1 100
        100 /var/lib/dpkg/status
linux-modules-extra-5.13.0-27-generic:
  Installed: 5.13.0-27.29~20.04.1
  Candidate: 5.13.0-27.29~20.04.1
  Version table:
 *** 5.13.0-27.29~20.04.1 100
        100 /var/lib/dpkg/status
oem-sutton.newell-adam-meta:
  Installed: 20.04ubuntu5
  Candidate: 20.04ubuntu5
  Version table:
 *** 20.04ubuntu5 100
        100 /var/lib/dpkg/status
oem-sutton.newell-meta:
  Installed: 4.0newell5
  Candidate: 4.0newell5
  Version table:
 *** 4.0newell5 100
        100 /var/lib/dpkg/status
perl-modules-5.30:
  Installed: 5.30.0-9ubuntu0.2
  Candidate: 5.30.0-9ubuntu0.2
  Version table:
 *** 5.30.0-9ubuntu0.2 100
        100 /var/lib/dpkg/status
sane-utils:
  Installed: 1.0.32+git20211118-focal0
  Candidate: 1.0.32+git20211118-focal0
  Version table:
 *** 1.0.32+git20211118-focal0 100
        100 /var/lib/dpkg/status
     1.0.32-0ubuntu2 500
        500 http://fr.archive.ubuntu.com/ubuntu hirsute/main amd64 Packages
scangearmp2:
  Installed: 3.90-1
  Candidate: 3.90-1
  Version table:
 *** 3.90-1 100
        100 /var/lib/dpkg/status
xserver-common:
  Installed: 2:1.20.13-1ubuntu1~20.04.2
  Candidate: 2:1.20.13-1ubuntu1~20.04.2
  Version table:
 *** 2:1.20.13-1ubuntu1~20.04.2 100
        100 /var/lib/dpkg/status
     2:1.20.11-1ubuntu1.2 500
        500 http://fr.archive.ubuntu.com/ubuntu hirsute-updates/main amd64 Packages
        500 http://fr.archive.ubuntu.com/ubuntu hirsute-updates/main i386 Packages
        500 http://security.ubuntu.com/ubuntu hirsute-security/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu hirsute-security/main i386 Packages
     2:1.20.11-1ubuntu1 500
        500 http://fr.archive.ubuntu.com/ubuntu hirsute/main amd64 Packages
        500 http://fr.archive.ubuntu.com/ubuntu hirsute/main i386 Packages
xserver-xephyr:
  Installed: 2:1.20.13-1ubuntu1~20.04.2
  Candidate: 2:1.20.13-1ubuntu1~20.04.2
  Version table:
 *** 2:1.20.13-1ubuntu1~20.04.2 100
        100 /var/lib/dpkg/status
     2:1.20.11-1ubuntu1.2 500
        500 http://fr.archive.ubuntu.com/ubuntu hirsute-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu hirsute-security/main amd64 Packages
     2:1.20.11-1ubuntu1 500
        500 http://fr.archive.ubuntu.com/ubuntu hirsute/main amd64 Packages
xserver-xorg-core:
  Installed: 2:1.20.13-1ubuntu1~20.04.2
  Candidate: 2:1.20.13-1ubuntu1~20.04.2
  Version table:
 *** 2:1.20.13-1ubuntu1~20.04.2 100
        100 /var/lib/dpkg/status
     2:1.20.11-1ubuntu1.2 500
        500 http://fr.archive.ubuntu.com/ubuntu hirsute-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu hirsute-security/main amd64 Packages
     2:1.20.11-1ubuntu1 500
        500 http://fr.archive.ubuntu.com/ubuntu hirsute/main amd64 Packages
xserver-xorg-legacy:
  Installed: 2:1.20.13-1ubuntu1~20.04.2
  Candidate: 2:1.20.13-1ubuntu1~20.04.2
  Version table:
 *** 2:1.20.13-1ubuntu1~20.04.2 100
        100 /var/lib/dpkg/status
     2:1.20.11-1ubuntu1.2 500
        500 http://fr.archive.ubuntu.com/ubuntu hirsute-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu hirsute-security/main amd64 Packages
     2:1.20.11-1ubuntu1 500
        500 http://fr.archive.ubuntu.com/ubuntu hirsute/main amd64 Packages
toto:~$

Pour le noyau... c'est au-delà de mes maigres compétences... tongue

Hors ligne

#88 Le 20/01/2022, à 11:57

abelthorne

Re : [Résolu] Ubuntu 20.04 : dépôts désactivés pour la MAJ vers focal

Pour Zotero, les paquets non officiels (deb, snap et flatpak) sont faits à partir de la version officielle qui s'installe manuellement. Autant utiliser une de ces versions pour le maintenir à jour facilement.

Pour le reste, on va commencer par une simulation :

sudo apt-get install -s --reinstall libsane-common=1.0.32-0ubuntu2 libsane1=1.0.32-0ubuntu2 libsane=1.0.32-0ubuntu2 linux-generic-hwe-20.04=5.11.0.49.48 linux-headers-generic-hwe-20.04=5.11.0.49.48 linux-image-generic-hwe-20.04=5.11.0.49.48 sane-utils=1.0.32-0ubuntu2 xserver-common=2:1.20.11-1ubuntu1.2 xserver-xephyr=2:1.20.11-1ubuntu1.2 xserver-xorg-core=2:1.20.11-1ubuntu1.2 xserver-xorg-legacy=2:1.20.11-1ubuntu1.2

Hors ligne

#89 Le 20/01/2022, à 12:00

TVG

Re : [Résolu] Ubuntu 20.04 : dépôts désactivés pour la MAJ vers focal

OK ça marche, j'utiliserai snap pour Zotero dans ce cas.

Voici les retours :

toto:~$ sudo apt-get install -s --reinstall libsane-common=1.0.32-0ubuntu2 libsane1=1.0.32-0ubuntu2 libsane=1.0.32-0ubuntu2 linux-generic-hwe-20.04=5.11.0.49.48 linux-headers-generic-hwe-20.04=5.11.0.49.48 linux-image-generic-hwe-20.04=5.11.0.49.48 sane-utils=1.0.32-0ubuntu2 xserver-common=2:1.20.11-1ubuntu1.2 xserver-xephyr=2:1.20.11-1ubuntu1.2 xserver-xorg-core=2:1.20.11-1ubuntu1.2 xserver-xorg-legacy=2:1.20.11-1ubuntu1.2
[sudo] password for toto: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libperl5.30 libsnmp35 perl-modules-5.30 snmp
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  sane-airscan
Suggested packages:
  unpaper xfonts-100dpi | xfonts-75dpi
The following NEW packages will be installed:
  sane-airscan
The following packages will be DOWNGRADED:
  libsane libsane-common libsane1 linux-generic-hwe-20.04 linux-headers-generic-hwe-20.04 linux-image-generic-hwe-20.04
  sane-utils xserver-common xserver-xephyr xserver-xorg-core xserver-xorg-legacy
0 upgraded, 1 newly installed, 11 downgraded, 0 to remove and 0 not upgraded.
Inst libsane1 [1.0.32+git20211118-focal0] (1.0.32-0ubuntu2 Ubuntu:21.04/hirsute [amd64]) [libsane:amd64 ]
Inst libsane [1.0.32+git20211118-focal0] (1.0.32-0ubuntu2 Ubuntu:21.04/hirsute [amd64]) []
Inst libsane-common [1.0.32+git20211118-focal0] (1.0.32-0ubuntu2 Ubuntu:21.04/hirsute [all])
Inst sane-utils [1.0.32+git20211118-focal0] (1.0.32-0ubuntu2 Ubuntu:21.04/hirsute [amd64])
Inst linux-generic-hwe-20.04 [5.13.0.27.29~20.04.13] (5.11.0.49.48 Ubuntu:21.04/hirsute-updates, Ubuntu:21.04/hirsute-security [amd64]) []
Inst linux-image-generic-hwe-20.04 [5.13.0.27.29~20.04.13] (5.11.0.49.48 Ubuntu:21.04/hirsute-updates, Ubuntu:21.04/hirsute-security [amd64]) []
Inst linux-headers-generic-hwe-20.04 [5.13.0.27.29~20.04.13] (5.11.0.49.48 Ubuntu:21.04/hirsute-updates, Ubuntu:21.04/hirsute-security [amd64])
Inst sane-airscan (0.99.25-0ubuntu1 Ubuntu:21.04/hirsute [amd64])
Inst xserver-xephyr [2:1.20.13-1ubuntu1~20.04.2] (2:1.20.11-1ubuntu1.2 Ubuntu:21.04/hirsute-updates, Ubuntu:21.04/hirsute-security [amd64])
Inst xserver-xorg-legacy [2:1.20.13-1ubuntu1~20.04.2] (2:1.20.11-1ubuntu1.2 Ubuntu:21.04/hirsute-updates, Ubuntu:21.04/hirsute-security [amd64])
Inst xserver-xorg-core [2:1.20.13-1ubuntu1~20.04.2] (2:1.20.11-1ubuntu1.2 Ubuntu:21.04/hirsute-updates, Ubuntu:21.04/hirsute-security [amd64])
Inst xserver-common [2:1.20.13-1ubuntu1~20.04.2] (2:1.20.11-1ubuntu1.2 Ubuntu:21.04/hirsute-updates, Ubuntu:21.04/hirsute-security [all])
Conf libsane1 (1.0.32-0ubuntu2 Ubuntu:21.04/hirsute [amd64])
Conf libsane (1.0.32-0ubuntu2 Ubuntu:21.04/hirsute [amd64])
Conf libsane-common (1.0.32-0ubuntu2 Ubuntu:21.04/hirsute [all])
Conf sane-utils (1.0.32-0ubuntu2 Ubuntu:21.04/hirsute [amd64])
Conf linux-generic-hwe-20.04 (5.11.0.49.48 Ubuntu:21.04/hirsute-updates, Ubuntu:21.04/hirsute-security [amd64])
Conf linux-image-generic-hwe-20.04 (5.11.0.49.48 Ubuntu:21.04/hirsute-updates, Ubuntu:21.04/hirsute-security [amd64])
Conf linux-headers-generic-hwe-20.04 (5.11.0.49.48 Ubuntu:21.04/hirsute-updates, Ubuntu:21.04/hirsute-security [amd64])
Conf sane-airscan (0.99.25-0ubuntu1 Ubuntu:21.04/hirsute [amd64])
Conf xserver-xephyr (2:1.20.11-1ubuntu1.2 Ubuntu:21.04/hirsute-updates, Ubuntu:21.04/hirsute-security [amd64])
Conf xserver-xorg-legacy (2:1.20.11-1ubuntu1.2 Ubuntu:21.04/hirsute-updates, Ubuntu:21.04/hirsute-security [amd64])
Conf xserver-xorg-core (2:1.20.11-1ubuntu1.2 Ubuntu:21.04/hirsute-updates, Ubuntu:21.04/hirsute-security [amd64])
Conf xserver-common (2:1.20.11-1ubuntu1.2 Ubuntu:21.04/hirsute-updates, Ubuntu:21.04/hirsute-security [all])
toto:~$

Hors ligne

#90 Le 20/01/2022, à 12:15

abelthorne

Re : [Résolu] Ubuntu 20.04 : dépôts désactivés pour la MAJ vers focal

Au niveau de la simu, ça passe sans tout péter, on va lancer la commande sans :

sudo apt-get install --reinstall libsane-common=1.0.32-0ubuntu2 libsane1=1.0.32-0ubuntu2 libsane=1.0.32-0ubuntu2 linux-generic-hwe-20.04=5.11.0.49.48 linux-headers-generic-hwe-20.04=5.11.0.49.48 linux-image-generic-hwe-20.04=5.11.0.49.48 sane-utils=1.0.32-0ubuntu2 xserver-common=2:1.20.11-1ubuntu1.2 xserver-xephyr=2:1.20.11-1ubuntu1.2 xserver-xorg-core=2:1.20.11-1ubuntu1.2 xserver-xorg-legacy=2:1.20.11-1ubuntu1.2

(Donne à nouveau le retour.)

Est-ce que tu sais accéder à GRUB au démarrage du PC ?

Dernière modification par abelthorne (Le 20/01/2022, à 12:15)

Hors ligne

#91 Le 20/01/2022, à 12:22

TVG

Re : [Résolu] Ubuntu 20.04 : dépôts désactivés pour la MAJ vers focal

Voici le retour :

toto:~$ sudo apt-get install --reinstall libsane-common=1.0.32-0ubuntu2 libsane1=1.0.32-0ubuntu2 libsane=1.0.32-0ubuntu2 linux-generic-hwe-20.04=5.11.0.49.48 linux-headers-generic-hwe-20.04=5.11.0.49.48 linux-image-generic-hwe-20.04=5.11.0.49.48 sane-utils=1.0.32-0ubuntu2 xserver-common=2:1.20.11-1ubuntu1.2 xserver-xephyr=2:1.20.11-1ubuntu1.2 xserver-xorg-core=2:1.20.11-1ubuntu1.2 xserver-xorg-legacy=2:1.20.11-1ubuntu1.2
[sudo] password for toto: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libperl5.30 libsnmp35 perl-modules-5.30 snmp
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  sane-airscan
Suggested packages:
  unpaper xfonts-100dpi | xfonts-75dpi
The following NEW packages will be installed:
  sane-airscan
The following packages will be DOWNGRADED:
  libsane libsane-common libsane1 linux-generic-hwe-20.04 linux-headers-generic-hwe-20.04 linux-image-generic-hwe-20.04
  sane-utils xserver-common xserver-xephyr xserver-xorg-core xserver-xorg-legacy
0 upgraded, 1 newly installed, 11 downgraded, 0 to remove and 0 not upgraded.
Need to get 6,107 kB of archives.
After this operation, 1,284 kB disk space will be freed.
Do you want to continue? [Y/n] 
Get:1 http://fr.archive.ubuntu.com/ubuntu hirsute/main amd64 libsane1 amd64 1.0.32-0ubuntu2 [2,526 kB]
Get:2 http://fr.archive.ubuntu.com/ubuntu hirsute/universe amd64 libsane amd64 1.0.32-0ubuntu2 [14.9 kB]
Get:3 http://fr.archive.ubuntu.com/ubuntu hirsute/main amd64 libsane-common all 1.0.32-0ubuntu2 [913 kB]
Get:4 http://fr.archive.ubuntu.com/ubuntu hirsute/main amd64 sane-utils amd64 1.0.32-0ubuntu2 [187 kB]
Get:5 http://fr.archive.ubuntu.com/ubuntu hirsute-updates/main amd64 linux-generic-hwe-20.04 amd64 5.11.0.49.48 [1,884 B]
Get:6 http://fr.archive.ubuntu.com/ubuntu hirsute-updates/main amd64 linux-image-generic-hwe-20.04 amd64 5.11.0.49.48 [2,580 B]
Get:7 http://fr.archive.ubuntu.com/ubuntu hirsute-updates/main amd64 linux-headers-generic-hwe-20.04 amd64 5.11.0.49.48 [2,468 B]
Get:8 http://fr.archive.ubuntu.com/ubuntu hirsute/main amd64 sane-airscan amd64 0.99.25-0ubuntu1 [128 kB]
Get:9 http://fr.archive.ubuntu.com/ubuntu hirsute-updates/main amd64 xserver-xephyr amd64 2:1.20.11-1ubuntu1.2 [924 kB]
Get:10 http://fr.archive.ubuntu.com/ubuntu hirsute-updates/main amd64 xserver-xorg-legacy amd64 2:1.20.11-1ubuntu1.2 [32.2 kB]
Get:11 http://fr.archive.ubuntu.com/ubuntu hirsute-updates/main amd64 xserver-xorg-core amd64 2:1.20.11-1ubuntu1.2 [1,349 kB]
Get:12 http://fr.archive.ubuntu.com/ubuntu hirsute-updates/main amd64 xserver-common all 2:1.20.11-1ubuntu1.2 [26.5 kB]
Fetched 6,107 kB in 2s (2,904 kB/s)        
Preconfiguring packages ...
setting xserver-xorg-legacy/xwrapper/allowed_users from configuration file
dpkg: warning: downgrading libsane1:amd64 from 1.0.32+git20211118-focal0 to 1.0.32-0ubuntu2
(Reading database ... 349809 files and directories currently installed.)
Preparing to unpack .../00-libsane1_1.0.32-0ubuntu2_amd64.deb ...
Unpacking libsane1:amd64 (1.0.32-0ubuntu2) over (1.0.32+git20211118-focal0) ...
dpkg: warning: downgrading libsane:amd64 from 1.0.32+git20211118-focal0 to 1.0.32-0ubuntu2
Preparing to unpack .../01-libsane_1.0.32-0ubuntu2_amd64.deb ...
Unpacking libsane:amd64 (1.0.32-0ubuntu2) over (1.0.32+git20211118-focal0) ...
dpkg: warning: downgrading libsane-common from 1.0.32+git20211118-focal0 to 1.0.32-0ubuntu2
Preparing to unpack .../02-libsane-common_1.0.32-0ubuntu2_all.deb ...
Unpacking libsane-common (1.0.32-0ubuntu2) over (1.0.32+git20211118-focal0) ...
dpkg: warning: downgrading sane-utils from 1.0.32+git20211118-focal0 to 1.0.32-0ubuntu2
Preparing to unpack .../03-sane-utils_1.0.32-0ubuntu2_amd64.deb ...
Unpacking sane-utils (1.0.32-0ubuntu2) over (1.0.32+git20211118-focal0) ...
dpkg: warning: downgrading linux-generic-hwe-20.04 from 5.13.0.27.29~20.04.13 to 5.11.0.49.48
Preparing to unpack .../04-linux-generic-hwe-20.04_5.11.0.49.48_amd64.deb ...
Unpacking linux-generic-hwe-20.04 (5.11.0.49.48) over (5.13.0.27.29~20.04.13) ...
dpkg: warning: downgrading linux-image-generic-hwe-20.04 from 5.13.0.27.29~20.04.13 to 5.11.0.49.48
Preparing to unpack .../05-linux-image-generic-hwe-20.04_5.11.0.49.48_amd64.deb ...
Unpacking linux-image-generic-hwe-20.04 (5.11.0.49.48) over (5.13.0.27.29~20.04.13) ...
dpkg: warning: downgrading linux-headers-generic-hwe-20.04 from 5.13.0.27.29~20.04.13 to 5.11.0.49.48
Preparing to unpack .../06-linux-headers-generic-hwe-20.04_5.11.0.49.48_amd64.deb ...
Unpacking linux-headers-generic-hwe-20.04 (5.11.0.49.48) over (5.13.0.27.29~20.04.13) ...
Selecting previously unselected package sane-airscan.
Preparing to unpack .../07-sane-airscan_0.99.25-0ubuntu1_amd64.deb ...
Unpacking sane-airscan (0.99.25-0ubuntu1) ...
dpkg: warning: downgrading xserver-xephyr from 2:1.20.13-1ubuntu1~20.04.2 to 2:1.20.11-1ubuntu1.2
Preparing to unpack .../08-xserver-xephyr_2%3a1.20.11-1ubuntu1.2_amd64.deb ...
Unpacking xserver-xephyr (2:1.20.11-1ubuntu1.2) over (2:1.20.13-1ubuntu1~20.04.2) ...
dpkg: warning: downgrading xserver-xorg-legacy from 2:1.20.13-1ubuntu1~20.04.2 to 2:1.20.11-1ubuntu1.2
Preparing to unpack .../09-xserver-xorg-legacy_2%3a1.20.11-1ubuntu1.2_amd64.deb ...
Unpacking xserver-xorg-legacy (2:1.20.11-1ubuntu1.2) over (2:1.20.13-1ubuntu1~20.04.2) ...
dpkg: warning: downgrading xserver-xorg-core from 2:1.20.13-1ubuntu1~20.04.2 to 2:1.20.11-1ubuntu1.2
Preparing to unpack .../10-xserver-xorg-core_2%3a1.20.11-1ubuntu1.2_amd64.deb ...
Unpacking xserver-xorg-core (2:1.20.11-1ubuntu1.2) over (2:1.20.13-1ubuntu1~20.04.2) ...
dpkg: warning: downgrading xserver-common from 2:1.20.13-1ubuntu1~20.04.2 to 2:1.20.11-1ubuntu1.2
Preparing to unpack .../11-xserver-common_2%3a1.20.11-1ubuntu1.2_all.deb ...
Unpacking xserver-common (2:1.20.11-1ubuntu1.2) over (2:1.20.13-1ubuntu1~20.04.2) ...
Setting up sane-airscan (0.99.25-0ubuntu1) ...
Setting up linux-headers-generic-hwe-20.04 (5.11.0.49.48) ...
Setting up xserver-common (2:1.20.11-1ubuntu1.2) ...
Setting up libsane-common (1.0.32-0ubuntu2) ...
Installing new version of config file /etc/sane.d/canon_dr.conf ...
Installing new version of config file /etc/sane.d/epsonds.conf ...
Installing new version of config file /etc/sane.d/escl.conf ...
Installing new version of config file /etc/sane.d/fujitsu.conf ...
Installing new version of config file /etc/sane.d/genesys.conf ...
Installing new version of config file /etc/sane.d/pieusb.conf ...
Setting up linux-image-generic-hwe-20.04 (5.11.0.49.48) ...
Setting up xserver-xorg-legacy (2:1.20.11-1ubuntu1.2) ...
setting xserver-xorg-legacy/xwrapper/allowed_users from configuration file
Setting up xserver-xorg-core (2:1.20.11-1ubuntu1.2) ...
Setting up libsane1:amd64 (1.0.32-0ubuntu2) ...
Setting up xserver-xephyr (2:1.20.11-1ubuntu1.2) ...
Setting up linux-generic-hwe-20.04 (5.11.0.49.48) ...
Setting up sane-utils (1.0.32-0ubuntu2) ...
update-inetd: warning: cannot add service, /etc/inetd.conf does not exist
saned.socket is a disabled or a static unit not running, not starting it.
Setting up libsane:amd64 (1.0.32-0ubuntu2) ...
Processing triggers for udev (247.3-3ubuntu3.7) ...
Processing triggers for libc-bin (2.33-0ubuntu5) ...
Processing triggers for man-db (2.9.4-2) ...
toto:~$

Pour GRUB, je ne suis plus sûr, je maintiens la touche Maj au démarrage ?

Hors ligne

#92 Le 20/01/2022, à 12:56

abelthorne

Re : [Résolu] Ubuntu 20.04 : dépôts désactivés pour la MAJ vers focal

C'est ça : il faut appuyer sur shift après l'écran du BIOS mais avant qu'Ubuntu démarre. Si tu n'y arrives pas (le timing est serré), on pourra modifier la config de GRUB pour qu'il s'affiche forcément.

Donc, là, le but est de redémarrer, accéder à GRUB, aller dans les options avancées et de choisir de démarrer sur le noyau 5.11.0-49 (en version normale, pas recovery).

Une fois sur le bureau, tu reposteras le retour de :

apt list | grep "installed,local"

Hors ligne

#93 Le 20/01/2022, à 14:13

TVG

Re : [Résolu] Ubuntu 20.04 : dépôts désactivés pour la MAJ vers focal

Après plusieurs tentatives infructueuses, j'ai modifié /etc/default/grub pour l'afficher 10 secondes, en remplaçant :

GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0

par :

GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10

et en appliquant les modifs avec :

sudo update-grub

Peut-être que mes tentatives n'ont pas fonctionné car ce n'est pas Shift mais ESC avec UEFI ? Je crois que j'utilise UEFI et non BIOS.

En tout cas, j'ai pu redémarrer sur le noyau 5.11.0-49 et voici le retour :

toto:~$ apt list | grep "installed,local"

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

cnijfilter2/now 5.90-1 amd64 [installed,local]
gir1.2-unity-5.0/now 7.1.4+19.04.20190319-0ubuntu3 amd64 [installed,local]
libperl5.30/now 5.30.0-9ubuntu0.2 amd64 [installed,local]
libsnmp35/now 5.8+dfsg-2ubuntu2.3 amd64 [installed,local]
linux-headers-5.13.0-27-generic/now 5.13.0-27.29~20.04.1 amd64 [installed,local]
linux-hwe-5.13-headers-5.13.0-27/now 5.13.0-27.29~20.04.1 all [installed,local]
linux-image-5.13.0-27-generic/now 5.13.0-27.29~20.04.1 amd64 [installed,local]
linux-modules-5.13.0-27-generic/now 5.13.0-27.29~20.04.1 amd64 [installed,local]
linux-modules-extra-5.13.0-27-generic/now 5.13.0-27.29~20.04.1 amd64 [installed,local]
oem-sutton.newell-adam-meta/now 20.04ubuntu5 all [installed,local]
oem-sutton.newell-meta/now 4.0newell5 all [installed,local]
perl-modules-5.30/now 5.30.0-9ubuntu0.2 all [installed,local]
scangearmp2/now 3.90-1 amd64 [installed,local]
toto:~$

Hors ligne

#94 Le 20/01/2022, à 15:12

abelthorne

Re : [Résolu] Ubuntu 20.04 : dépôts désactivés pour la MAJ vers focal

La vérification de la touche se fait après le BIOS, elle est gérée par GRUB. Que le BIOS soit à l'ancienne ou UEFI ne devrait rien changer à la touche utilisée. Mais bref, peu importe, du moment que tu as pu accéder à GRUB c'est bon.

Donc, on va commencer par supprimer les paquets du noyau 5.13 qui vient je ne sais d'où (potentiellement le dépôt Lenovo) :

sudo apt-get remove --purge linux-headers-5.13.0-27-generic linux-hwe-5.13-headers-5.13.0-27 linux-image-5.13.0-27-generic linux-modules-5.13.0-27-generic linux-modules-extra-5.13.0-27-generic

Pour les autres paquets restants, on va faire une simu pour vérifier si ce sont des dépendances d'autres paquets locaux à garder :

sudo apt-get remove -s --purge gir1.2-unity-5.0 libperl5.30 libsnmp35 perl-modules-5.30

Hors ligne

#95 Le 20/01/2022, à 15:19

TVG

Re : [Résolu] Ubuntu 20.04 : dépôts désactivés pour la MAJ vers focal

OK. Voici les retours :

toto:~$ sudo apt-get remove --purge linux-headers-5.13.0-27-generic linux-hwe-5.13-headers-5.13.0-27 linux-image-5.13.0-27-generic linux-modules-5.13.0-27-generic linux-modules-extra-5.13.0-27-generic
[sudo] password for toto: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libperl5.30 libsnmp35 perl-modules-5.30 snmp
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  linux-headers-5.13.0-27-generic* linux-hwe-5.13-headers-5.13.0-27* linux-image-5.13.0-27-generic*
  linux-modules-5.13.0-27-generic* linux-modules-extra-5.13.0-27-generic*
0 upgraded, 0 newly installed, 5 to remove and 0 not upgraded.
After this operation, 507 MB disk space will be freed.
Do you want to continue? [Y/n] 
(Reading database ... 349784 files and directories currently installed.)
Removing linux-headers-5.13.0-27-generic (5.13.0-27.29~20.04.1) ...
Removing linux-hwe-5.13-headers-5.13.0-27 (5.13.0-27.29~20.04.1) ...
Removing linux-modules-extra-5.13.0-27-generic (5.13.0-27.29~20.04.1) ...
Removing linux-modules-5.13.0-27-generic (5.13.0-27.29~20.04.1) ...
Removing linux-image-5.13.0-27-generic (5.13.0-27.29~20.04.1) ...
/etc/kernel/prerm.d/dkms:
dkms: removing: evdi 1.9.1 (5.13.0-27-generic) (x86_64)

-------- Uninstall Beginning --------
Module:  evdi
Version: 1.9.1
Kernel:  5.13.0-27-generic (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

evdi.ko:
 - Uninstallation
   - Deleting from: /lib/modules/5.13.0-27-generic/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

depmod...

DKMS: uninstall completed.
dkms: removing: virtualbox 6.1.26 (5.13.0-27-generic) (x86_64)

-------- Uninstall Beginning --------
Module:  virtualbox
Version: 6.1.26
Kernel:  5.13.0-27-generic (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

vboxdrv.ko:
 - Uninstallation
   - Deleting from: /lib/modules/5.13.0-27-generic/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


vboxnetadp.ko:
 - Uninstallation
   - Deleting from: /lib/modules/5.13.0-27-generic/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


vboxnetflt.ko:
 - Uninstallation
   - Deleting from: /lib/modules/5.13.0-27-generic/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

depmod...

DKMS: uninstall completed.
I: /boot/vmlinuz.old is now a symlink to vmlinuz-5.11.0-49-generic
I: /boot/initrd.img.old is now a symlink to initrd.img-5.11.0-49-generic
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.13.0-27-generic
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Sourcing file `/etc/default/grub.d/oem-flavour.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.11.0-49-generic
Found initrd image: /boot/initrd.img-5.11.0-49-generic
Adding boot menu entry for UEFI Firmware Settings
done
(Reading database ... 314802 files and directories currently installed.)
Purging configuration files for linux-modules-extra-5.13.0-27-generic (5.13.0-27.29~20.04.1) ...
Purging configuration files for linux-modules-5.13.0-27-generic (5.13.0-27.29~20.04.1) ...
dpkg: warning: while removing linux-modules-5.13.0-27-generic, directory '/lib/modules/5.13.0-27-generic' not empty so not removed
Purging configuration files for linux-image-5.13.0-27-generic (5.13.0-27.29~20.04.1) ...
toto:~$
toto:~$ sudo apt-get remove -s --purge gir1.2-unity-5.0 libperl5.30 libsnmp35 perl-modules-5.30
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  gir1.2-dee-1.0 gir1.2-gudev-1.0 gir1.2-udisks-2.0 snmp usb-creator-common
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  gir1.2-unity-5.0* libperl5.30* libsnmp35* perl-modules-5.30* usb-creator-gtk*
0 upgraded, 0 newly installed, 5 to remove and 0 not upgraded.
Purg usb-creator-gtk [0.3.10]
Purg gir1.2-unity-5.0 [7.1.4+19.04.20190319-0ubuntu3]
Purg libsnmp35 [5.8+dfsg-2ubuntu2.3]
Purg libperl5.30 [5.30.0-9ubuntu0.2]
Purg perl-modules-5.30 [5.30.0-9ubuntu0.2]
toto:~$

Hors ligne

#96 Le 20/01/2022, à 15:58

abelthorne

Re : [Résolu] Ubuntu 20.04 : dépôts désactivés pour la MAJ vers focal

Il y a des dépendances un peu foireuses, donc on va supprimer tout ça et réinstaller les paquets qu'il devrait garder :

sudo apt-get remove --purge gir1.2-unity-5.0 libperl5.30 libsnmp35 perl-modules-5.30
sudo apt-get install --reinstall usb-creator-gtk

On va aussi vérifier si tu as toujours le méta-paquet du bureau :

dpkg -l | grep ubuntu-desktop

Hors ligne

#97 Le 20/01/2022, à 16:02

TVG

Re : [Résolu] Ubuntu 20.04 : dépôts désactivés pour la MAJ vers focal

Merci. Voici les retours :

toto:~$ sudo apt-get remove --purge gir1.2-unity-5.0 libperl5.30 libsnmp35 perl-modules-5.30
[sudo] password for toto: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  gir1.2-dee-1.0 gir1.2-gudev-1.0 gir1.2-udisks-2.0 snmp usb-creator-common
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  gir1.2-unity-5.0* libperl5.30* libsnmp35* perl-modules-5.30* usb-creator-gtk*
0 upgraded, 0 newly installed, 5 to remove and 0 not upgraded.
After this operation, 49.3 MB disk space will be freed.
Do you want to continue? [Y/n] 
(Reading database ... 314801 files and directories currently installed.)
Removing usb-creator-gtk (0.3.10) ...
Removing gir1.2-unity-5.0:amd64 (7.1.4+19.04.20190319-0ubuntu3) ...
Removing libsnmp35:amd64 (5.8+dfsg-2ubuntu2.3) ...
Removing libperl5.30:amd64 (5.30.0-9ubuntu0.2) ...
Removing perl-modules-5.30 (5.30.0-9ubuntu0.2) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for libc-bin (2.33-0ubuntu5) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for mailcap (3.68ubuntu1) ...
Processing triggers for desktop-file-utils (0.26-1ubuntu1) ...
(Reading database ... 312885 files and directories currently installed.)
Purging configuration files for usb-creator-gtk (0.3.10) ...
toto:~$ 
toto:~$ sudo apt-get install --reinstall usb-creator-gtk
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following package was automatically installed and is no longer required:
  snmp
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
  gir1.2-unity-7.0
The following NEW packages will be installed:
  gir1.2-unity-7.0 usb-creator-gtk
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 41.5 kB of archives.
After this operation, 280 kB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://fr.archive.ubuntu.com/ubuntu hirsute/main amd64 gir1.2-unity-7.0 amd64 7.1.4+19.04.20190319-5 [20.1 kB]
Get:2 http://fr.archive.ubuntu.com/ubuntu hirsute-updates/main amd64 usb-creator-gtk all 0.3.10 [21.4 kB]
Fetched 41.5 kB in 0s (331 kB/s)           
Selecting previously unselected package gir1.2-unity-7.0:amd64.
(Reading database ... 312885 files and directories currently installed.)
Preparing to unpack .../gir1.2-unity-7.0_7.1.4+19.04.20190319-5_amd64.deb ...
Unpacking gir1.2-unity-7.0:amd64 (7.1.4+19.04.20190319-5) ...
Selecting previously unselected package usb-creator-gtk.
Preparing to unpack .../usb-creator-gtk_0.3.10_all.deb ...
Unpacking usb-creator-gtk (0.3.10) ...
Setting up gir1.2-unity-7.0:amd64 (7.1.4+19.04.20190319-5) ...
Setting up usb-creator-gtk (0.3.10) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for mailcap (3.68ubuntu1) ...
Processing triggers for desktop-file-utils (0.26-1ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
toto:~$ 
toto:~$ dpkg -l | grep ubuntu-desktop
ii  ubuntu-desktop                                1.469                                                                amd64        The Ubuntu desktop system
ii  ubuntu-desktop-minimal                        1.469                                                                amd64        The Ubuntu desktop minimal system
toto:~$

Hors ligne

#98 Le 20/01/2022, à 16:32

abelthorne

Re : [Résolu] Ubuntu 20.04 : dépôts désactivés pour la MAJ vers focal

Jusqu'ici, tout va bien. Redonne le retour de :

apt list | grep "installed,local"

Est-ce que par hasard tu sais ce qui a installé le paquet snmp et si tu en as besoin ? C'est un paquet en rapport avec le réseau qui n'est pas installé de base sur Ubuntu et qui est dans les dépendances inutiles. Si tu sais en avoir besoin, il faudrait le repasser en "installé manuellement" mais c'est probable qu'il vienne de l'installation d'un paquet qui a été supprimé à un moment (Lenovo, Signal...).

Hors ligne

#99 Le 20/01/2022, à 16:36

TVG

Re : [Résolu] Ubuntu 20.04 : dépôts désactivés pour la MAJ vers focal

Voici le retour :

toto:~$ apt list | grep "installed,local"

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

cnijfilter2/now 5.90-1 amd64 [installed,local]
oem-sutton.newell-adam-meta/now 20.04ubuntu5 all [installed,local]
oem-sutton.newell-meta/now 4.0newell5 all [installed,local]
scangearmp2/now 3.90-1 amd64 [installed,local]
toto:~$

Je ne sais pas ce qu'est le paquet snmp. A priori pas besoin, je ne sais pas.

Hors ligne

#100 Le 20/01/2022, à 17:11

abelthorne

Re : [Résolu] Ubuntu 20.04 : dépôts désactivés pour la MAJ vers focal

Donc, là, il reste deux paquets des dépôts Lenovo. Toute la question est de savoir s'ils sont utiles pour ton matériel et ça, je n'en sais rien. À partir de là, on a trois possibilités :
1) On les supprime purement et simplement et on voit ce qu'il se passe.
2) On réactive les dépôts Lenovo en version focal (20.04) en espérant qu'ils soient utilisables en 20.04/20.10 sans provoquer de problèmes de dépendances dans tous les sens.
3) On laisse les dépôts Lenovo désactivés et on laisse ces paquets oem comme ça.

Vu leur nom, ce sont vraisemblablement des méta-paquets qui en installent d'autres et comme il n'y en a pas, on peut certainement les supprimer sans conséquences. Est-ce que tu veux qu'on le fasse ? Au passage, est-ce que tu as des problèmes actuellement avec du matériel sur ton PC ?

Hors ligne