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.

#101 Le 20/01/2022, à 17:23

TVG

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

Je pense qu'on peut supprimer et on verra. Au pire on pourrait les remettre ?

J'ai quelques problèmes oui : le son de l'enregistrement du micro interne est très faible, j'ai quelques fois l'écran qui freeze (obliger de rebooter), des petits problèmes de mise en veille (écran de veille qui reste allumé). Mais pas sûr que ça ait un rapport (?).

Hors ligne

#102 Le 20/01/2022, à 17:30

abelthorne

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

Si les dépôts Lenovo ne peuvent pas être utilisés (parce qu'ils sont prévus pour la 20.04), on ne pourra pas remettre ces paquets.

Pour ce qui est des problèmes de micro et d'écran qui freeze, je ne saurais pas dire si c'est dû à une mauvaise prise en charge du matos qui nécessite d'installer des paquets de Lenovo ou si ça n'a rien à voir. Pour le micro, c'est possible mais pour l'écran qui freeze, ça me semble moins probable.

Hors ligne

#103 Le 20/01/2022, à 17:33

TVG

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

Je pense qu'on peut supprimer. Au pire du pire, si y a des trucs qui marchent plus, je pourrai revenir à 20.04 ? De toute façon là en 21.04, je n'utilise pas ces paquets (si ?) et je n'ai pas de problèmes.

Hors ligne

#104 Le 20/01/2022, à 20:36

abelthorne

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

Bon, on va les supprimer. Comme je le disais, je pense que ce sont juste des méta-paquets qui n'installent rien eux-mêmes, sans en être sûr.

Par contre, si tu veux revenir en 20.04, ce ne sera pas possible sans réinstallation complète.

Pour les supprimer :

sudo apt-get remove --purge oem-sutton.newell-adam-meta oem-sutton.newell-meta

À part ça, est-ce que ton scanner fonctionne ?

Hors ligne

#105 Le 20/01/2022, à 21:02

TVG

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

Voilà c'est supprimé :

toto:~$ sudo apt-get remove --purge oem-sutton.newell-adam-meta oem-sutton.newell-meta
[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:
  snmp ubuntu-oem-keyring
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  oem-sutton.newell-adam-meta* oem-sutton.newell-meta*
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 26.6 kB disk space will be freed.
Do you want to continue? [Y/n] 
(Reading database ... 312903 files and directories currently installed.)
Removing oem-sutton.newell-adam-meta (20.04ubuntu5) ...
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.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
Removing oem-sutton.newell-meta (4.0newell5) ...
(Reading database ... 312895 files and directories currently installed.)
Purging configuration files for oem-sutton.newell-adam-meta (20.04ubuntu5) ...
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.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
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]
scangearmp2/now 3.90-1 amd64 [installed,local]
toto:~$ 

Le scanner fonctionne.

Je reste toujours sur le noyau 5.11.0-49 ?

Hors ligne

#106 Le 20/01/2022, à 21:34

abelthorne

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

Oui, reste sur le 5.11, c'est la version des dépôts Ubuntu. Je ne sais pas d'où venait ton 5.13 mais tu le retrouveras de toute façon après passage en 21.10, installé proprement.

On a à peu près fini, on va juste faire un peu de nettoyage supplémentaire :

sudo apt-get autoremove --purge

Ensuite, redonne la liste des .list :

ls /etc/apt/sources.list.d

et les paquets des noyaux :

dpkg -l | grep linux-

Hors ligne

#107 Le 20/01/2022, à 21:47

TVG

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

OK ça marche. Voici les retours :

toto:~$ sudo apt-get autoremove --purge
[sudo] password for toto: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  snmp* ubuntu-oem-keyring*
0 upgraded, 0 newly installed, 2 to remove and 3 not upgraded.
After this operation, 726 kB disk space will be freed.
Do you want to continue? [Y/n] 
(Reading database ... 312894 files and directories currently installed.)
Removing snmp (5.9+dfsg-3ubuntu1.21.04.1) ...
Removing ubuntu-oem-keyring (2021.03.26) ...
Processing triggers for man-db (2.9.4-2) ...
toto:~$ 
toto:~$ ls /etc/apt/sources.list.d
google-chrome.list  sane-project-ubuntu-sane-git-focal.list  teams.list       zotero.list
megasync.list       signal-xenial.list                       teamviewer.list
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.11.0.49.48                                                         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-generic                         5.11.0.49.48                                                         amd64        Generic Linux kernel headers
ii  linux-headers-generic-hwe-20.04               5.11.0.49.48                                                         amd64        Generic Linux kernel headers
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
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.11.0.49.48                                                         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
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-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:~$ 

Hors ligne

#108 Le 20/01/2022, à 21:56

abelthorne

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

Donc, on peut supprimer ça :

sudo rm /etc/apt/sources.list.d/sane-project-ubuntu-sane-git-focal.list etc/apt/sources.list.d/signal-xenial.list

et les restes de config des vieux noyaux :

sudo apt-get remove --purge linux-image-5.10.0-1057-oem linux-image-5.13.0-25-generic linux-image-5.8.0-34-generic linux-modules-5.10.0-1057-oem linux-modules-5.13.0-25-generic linux-modules-5.8.0-34-generic linux-modules-extra-5.13.0-25-generic

Après, tu seras prêt pour refaire une mise à niveau en 21.10. Puis à nouveau une partie de ce qu'on a fait (mais avec moins de travail).

Hors ligne

#109 Le 20/01/2022, à 22:00

TVG

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

Voici les retours :

toto:~$ sudo rm /etc/apt/sources.list.d/sane-project-ubuntu-sane-git-focal.list etc/apt/sources.list.d/signal-xenial.list
[sudo] password for toto: 
rm: cannot remove 'etc/apt/sources.list.d/signal-xenial.list': No such file or directory
toto:~$ sudo rm /etc/apt/sources.list.d/signal-xenial.list
toto:~$ 
toto:~$ sudo apt-get remove --purge linux-image-5.10.0-1057-oem linux-image-5.13.0-25-generic linux-image-5.8.0-34-generic linux-modules-5.10.0-1057-oem linux-modules-5.13.0-25-generic linux-modules-5.8.0-34-generic linux-modules-extra-5.13.0-25-generic
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  linux-image-5.10.0-1057-oem* linux-image-5.13.0-25-generic* linux-image-5.8.0-34-generic* linux-modules-5.10.0-1057-oem*
  linux-modules-5.13.0-25-generic* linux-modules-5.8.0-34-generic* linux-modules-extra-5.13.0-25-generic*
0 upgraded, 0 newly installed, 7 to remove and 3 not upgraded.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] 
(Reading database ... 312826 files and directories currently installed.)
Purging configuration files for linux-image-5.10.0-1057-oem (5.10.0-1057.61) ...
Purging configuration files for linux-image-5.8.0-34-generic (5.8.0-34.37~20.04.2) ...
Purging configuration files for linux-image-5.13.0-25-generic (5.13.0-25.26~20.04.1) ...
Purging configuration files for linux-modules-5.8.0-34-generic (5.8.0-34.37~20.04.2) ...
Purging configuration files for linux-modules-5.13.0-25-generic (5.13.0-25.26~20.04.1) ...
Purging configuration files for linux-modules-5.10.0-1057-oem (5.10.0-1057.61) ...
Purging configuration files for linux-modules-extra-5.13.0-25-generic (5.13.0-25.26~20.04.1) ...
toto:~$

Je lance la mise à niveau vers 21.10 ?

Hors ligne

#110 Le 20/01/2022, à 22:09

abelthorne

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

Comme tu veux : maintenant ou plus tard.

Hors ligne

#111 Le 20/01/2022, à 22:49

TVG

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

Et voilà :

toto:~$ sudo apt update
Hit:1 http://fr.archive.ubuntu.com/ubuntu hirsute InRelease
Hit:2 http://dl.google.com/linux/chrome/deb stable InRelease                                                                               
Hit:3 https://linux.teamviewer.com/deb stable InRelease                                                                                    
Hit:4 http://fr.archive.ubuntu.com/ubuntu hirsute-updates InRelease                                                                        
Hit:5 http://security.ubuntu.com/ubuntu hirsute-security InRelease                                                                         
Hit:6 http://fr.archive.ubuntu.com/ubuntu hirsute-backports 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 https://downloads.sourceforge.net/project/zotero-deb ./ InRelease            
Fetched 2,441 B in 1s (1,937 B/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
3 packages can be upgraded. Run 'apt list --upgradable' to see them.
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:
  vim-common vim-tiny xxd
3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 standard security updates
Need to get 0 B/756 kB of archives.
After this operation, 7,168 B of additional disk space will be used.
Do you want to continue? [Y/n] 
(Reading database ... 312823 files and directories currently installed.)
Preparing to unpack .../vim-tiny_2%3a8.2.2434-1ubuntu1.3_amd64.deb ...
Unpacking vim-tiny (2:8.2.2434-1ubuntu1.3) over (2:8.2.2434-1ubuntu1.2) ...
Preparing to unpack .../xxd_2%3a8.2.2434-1ubuntu1.3_amd64.deb ...
Unpacking xxd (2:8.2.2434-1ubuntu1.3) over (2:8.2.2434-1ubuntu1.2) ...
Preparing to unpack .../vim-common_2%3a8.2.2434-1ubuntu1.3_all.deb ...
Unpacking vim-common (2:8.2.2434-1ubuntu1.3) over (2:8.2.2434-1ubuntu1.2) ...
Setting up xxd (2:8.2.2434-1ubuntu1.3) ...
Setting up vim-common (2:8.2.2434-1ubuntu1.3) ...
Setting up vim-tiny (2:8.2.2434-1ubuntu1.3) ...
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) ...
Processing triggers for man-db (2.9.4-2) ...
toto:~$

toto:~$ update-manager -c
Checking for a new Ubuntu release
localuser:root being added to access control list
Checking for a new Ubuntu release
authenticate 'impish.tar.gz' against 'impish.tar.gz.gpg' 
extracting 'impish.tar.gz'
Failed to create secure directory (/root/.config/pulse): Permission denied
Failed to create secure directory (/root/.config/pulse): Permission denied
Failed to create secure directory (/root/.config/pulse): Permission denied
Failed to create secure directory (/root/.config/pulse): Permission denied
  MarkInstall libc6:amd64 < 2.33-0ubuntu5 -> 2.34-0ubuntu3 @ii umU Ib > FU=1
    MarkInstall locales:amd64 < 2.33-0ubuntu5 -> 2.34-0ubuntu3 @ii umU Ib > FU=0
    Installing libc-bin:amd64 as Depends of locales:amd64
      MarkInstall libc-bin:amd64 < 2.33-0ubuntu5 -> 2.34-0ubuntu3 @ii umU > FU=0
    MarkInstall libc6:i386 < 2.33-0ubuntu5 -> 2.34-0ubuntu3 @ii umU > FU=0
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
snap "core18" has no updates available

Plus qu'à redémarrer.

Hors ligne

#112 Le 20/01/2022, à 22:54

TVG

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

Et voilà :

toto:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:  Ubuntu 21.10
Release:  21.10
Codename: impish
toto:~$

Hors ligne

#113 Le 20/01/2022, à 22:59

abelthorne

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

Alors c'est reparti :

cat /etc/apt/sources.list
ls /etc/apt/sources.list.d
cat /etc/apt/sources.list.d/*.list

Hors ligne

#114 Le 20/01/2022, à 22:59

xubu1957

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

Get:8 https://mega.nz/linux/MEGAsync/xUbuntu_21.04 ./ InRelease [2,441 B]                                                               

Y font pas pour la 21.10 ?

> mega.nz/linux/MEGAsync

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


Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.                   Membre de Linux-Azur

En ligne

#115 Le 20/01/2022, à 23:04

TVG

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

Et voici :

toto:~$ cat /etc/apt/sources.list
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ impish main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://fr.archive.ubuntu.com/ubuntu/ impish-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/ impish universe
deb http://fr.archive.ubuntu.com/ubuntu/ impish-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/ impish multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ impish-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/ impish-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 impish-security main restricted
deb http://security.ubuntu.com/ubuntu impish-security universe
deb http://security.ubuntu.com/ubuntu impish-security multiverse
toto:~$ 
toto:~$ ls /etc/apt/sources.list.d
google-chrome.list              megasync.list.distUpgrade  teamviewer.list              zotero.list.distUpgrade
google-chrome.list.distUpgrade  teams.list                 teamviewer.list.distUpgrade
megasync.list                   teams.list.distUpgrade     zotero.list
toto:~$ 
toto:~$ cat /etc/apt/sources.list.d/*.list
### 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 # disabled on upgrade to impish
# deb https://mega.nz/linux/MEGAsync/xUbuntu_21.04/ ./ # disabled on upgrade to impish
### 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 # disabled on upgrade to impish
###   TeamViewer DEB repository list

### NOTE: Manual changes to this file
###        - prevent it from being updated by TeamViewer package updates
###        - will be lost after using the 'teamviewer repo' command
###       The original file can be restored with this command:
###       cp /opt/teamviewer/tv_bin/script/teamviewer.list /etc/apt/sources.list.d/teamviewer.list
###       which has the same effect as 'teamviewer repo default'

### NOTE: It is preferred to use the following commands to edit this file:
###       teamviewer repo                - show current repository configuration
###       teamviewer repo default        - restore default configuration
###       teamviewer repo disable        - disable the repository
###       teamviewer repo stable         - make all regular TeamViewer packages available (default)
###       teamviewer repo preview        - additionally, make feature preview packages available
###       teamviewer repo development    - additionally, make the latest development packages available


# deb https://linux.teamviewer.com/deb stable main # disabled on upgrade to impish

# deb https://linux.teamviewer.com/deb preview main
# deb https://linux.teamviewer.com/deb development main
# deb https://downloads.sourceforge.net/project/zotero-deb/ ./ # disabled on upgrade to impish
toto:~$ 

Hors ligne

#116 Le 20/01/2022, à 23:05

abelthorne

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

@xubu1957 : Si, mais là c'était le retour encore en 21.04. Maintenant que TVG est passé en 21.10, on va corriger ce dépôt (et d'autres).

@TVG : le sources.list est globalement bon, il faudrait juste corriger le dépôt partner (vers la fin) pour le passer en impish au lieu de hirsute. Il n'a pas été traité parce qu'il est désactivé, c'est à corriger au cas où tu l'actives plus tard.
Pour les autres dépôts (google-chrome.list, megasync.list, teams.list, teamviewer.list et zotero.list), tu peux les éditer et les remettre exactement comme dans le message #74, sauf megasync.list dans lequel il faut aussi corriger le 21.04 en 21.10 :

deb https://mega.nz/linux/MEGAsync/xUbuntu_21.10/ ./

Une fois que c'est fait :

sudo apt-get update
sudo ap-get dist-upgrade
apt list | grep "installed,local"

EDIT : pour ce qui est de Zotero, tu utilises quelle version finalement ? deb, snap ou flatpak ?

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

Hors ligne

#117 Le 20/01/2022, à 23:22

TVG

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

Voici les retours :

toto:~$ sudo apt-get update
Get:1 http://dl.google.com/linux/chrome/deb stable InRelease [1,811 B]
Hit:2 http://fr.archive.ubuntu.com/ubuntu impish InRelease                                                                   
Get:3 https://linux.teamviewer.com/deb stable InRelease [11.9 kB]                                                            
Hit:4 http://fr.archive.ubuntu.com/ubuntu impish-updates InRelease                                                           
Hit:5 http://fr.archive.ubuntu.com/ubuntu impish-backports InRelease                                                         
Get:6 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages [1,091 B]                                             
Get:7 https://mega.nz/linux/MEGAsync/xUbuntu_21.10 ./ InRelease [2,441 B]                                                    
Get:8 http://security.ubuntu.com/ubuntu impish-security InRelease [110 kB]                                                   
Get:9 https://linux.teamviewer.com/deb stable/main amd64 Packages [12.4 kB]                                                  
Get:10 https://packages.microsoft.com/repos/ms-teams stable InRelease [17.5 kB]                                              
Get:11 https://linux.teamviewer.com/deb stable/main i386 Packages [12.2 kB]                                                  
Get:12 https://mega.nz/linux/MEGAsync/xUbuntu_21.10 ./ Packages [2,225 B]                                                    
Get:13 https://packages.microsoft.com/repos/ms-teams stable/main amd64 Packages [8,213 B]      
Get:14 https://downloads.sourceforge.net/project/zotero-deb ./ InRelease [2,153 B]
Get:15 https://downloads.sourceforge.net/project/zotero-deb ./ Packages [4,643 B]
Fetched 187 kB in 3s (54.8 kB/s)                                  
Reading package lists... Done
toto:~$ 
toto:~$ sudo ap-get dist-upgrade
sudo: ap-get: command not found
toto:~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  megasync
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 13.3 MB of archives.
After this operation, 49.2 kB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 https://mega.nz/linux/MEGAsync/xUbuntu_21.10 ./ megasync 4.6.1-2.1 [13.3 MB]
Fetched 13.3 MB in 2s (6,032 kB/s)   
(Reading database ... 332126 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.69ubuntu1) ...
Processing triggers for desktop-file-utils (0.26-1ubuntu2) ...
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]
linux-image-5.11.0-49-generic/now 5.11.0-49.55 amd64 [installed,local]
linux-modules-5.11.0-49-generic/now 5.11.0-49.55 amd64 [installed,local]
linux-modules-extra-5.11.0-49-generic/now 5.11.0-49.55 amd64 [installed,local]
scangearmp2/now 3.90-1 amd64 [installed,local]
signal-desktop/now 5.28.0 amd64 [installed,local]
toto:~$

Pour Zotero, je pense basculer sur snap.

Hors ligne

#118 Le 20/01/2022, à 23:26

abelthorne

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

Tiens, Signal était encore installé ? Comme tu n'en as plus besoin, on le supprime :

sudo apt-get remove --purge signal-desktop

Si tu en as encore l'utilité, on verra pour le réinstaller proprement, il me semble qu'il y a un dépôt ou un format alternatif plus à jour que le vieux dépôt 16.04.

À part ça, il y a juste un peu de nettoyage à faire dans les noyeux, donc :

uname -a
dpkg -l | grep linux-

Hors ligne

#119 Le 20/01/2022, à 23:31

TVG

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

Plus besoin de Signal. Voici les retours :

toto:~$ sudo apt-get remove --purge signal-desktop
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  signal-desktop*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 432 MB disk space will be freed.
Do you want to continue? [Y/n] 
(Reading database ... 332126 files and directories currently installed.)
Removing signal-desktop (5.28.0) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for mailcap (3.69ubuntu1) ...
Processing triggers for desktop-file-utils (0.26-1ubuntu2) ...
(Reading database ... 331907 files and directories currently installed.)
Purging configuration files for signal-desktop (5.28.0) ...
toto:~$ 
toto:~$ uname -a
Linux pc-de-toto 5.13.0-27-generic #29-Ubuntu SMP Wed Jan 12 17:36:47 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
toto:~$ 
toto:~$ dpkg -l | grep linux-
ii  binutils-x86-64-linux-gnu                     2.37-7ubuntu1                              amd64        GNU binary utilities, for x86-64-linux-gnu target
ii  linux-base                                    4.5ubuntu9                                 all          Linux image base package
ii  linux-firmware                                1.201.3                                    all          Firmware for Linux kernel drivers
ii  linux-generic                                 5.13.0.27.37                               amd64        Complete Generic Linux kernel and headers
ii  linux-generic-hwe-20.04                       5.13.0.27.37                               amd64        Complete Generic Linux kernel and headers
ii  linux-headers-5.13.0-27                       5.13.0-27.29                               all          Header files related to Linux kernel version 5.13.0
ii  linux-headers-5.13.0-27-generic               5.13.0-27.29                               amd64        Linux kernel headers for version 5.13.0 on 64 bit x86 SMP
ii  linux-headers-generic                         5.13.0.27.37                               amd64        Generic Linux kernel headers
ii  linux-headers-generic-hwe-20.04               5.13.0.27.37                               amd64        Generic Linux kernel headers
ii  linux-image-5.11.0-49-generic                 5.11.0-49.55                               amd64        Signed kernel image generic
ii  linux-image-5.13.0-27-generic                 5.13.0-27.29                               amd64        Signed kernel image generic
ii  linux-image-generic                           5.13.0.27.37                               amd64        Generic Linux kernel image
ii  linux-image-generic-hwe-20.04                 5.13.0.27.37                               amd64        Generic Linux kernel image
ii  linux-libc-dev:amd64                          5.13.0-27.29                               amd64        Linux Kernel Headers for development
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
ii  linux-modules-5.13.0-27-generic               5.13.0-27.29                               amd64        Linux kernel extra modules for version 5.13.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
ii  linux-modules-extra-5.13.0-27-generic         5.13.0-27.29                               amd64        Linux kernel extra modules for version 5.13.0 on 64 bit x86 SMP
ii  linux-oem-20.04                               5.13.0.27.37                               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:~$

Pour mettre Zotero en snap, je fais ça ?

1) je supprime d'abord le deb (apt) avec

sudo apt-get remove --purge zotero

2) nettoie les dépendances devenues inutiles avec

sudo apt-get autoremove --purge

3) supprime le dépôt devenu également inutile avec

sudo rm /etc/apt/sources.list.d/zotero.list

4) installe zotero-snap avec

sudo snap install zotero-snap

5) vérifie qu'il est bien dans la liste des snaps installés avec

snap list

Ça va bien garder mes données dans Zotero ?

EDIT : par contre depuis l'installation de 21.10, je n'ai plus de Dock ni d'extensions Gnome Shell. Sur https://extensions.gnome.org/, j'ai ça : "Although GNOME Shell integration extension is running, native host connector is not detected. Refer documentation for instructions about installing connector.".

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

Hors ligne

#120 Le 21/01/2022, à 00:12

abelthorne

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

Tout d'abord, le noyau 5.11 obsolète à supprimer :

sudo apt-get remove --purge linux-image-5.11.0-49-generic linux-modules-5.11.0-49-generic linux-modules-extra-5.11.0-49-generic

Pour Zotero, c'est bien ça. Vérifie juste avant que le paquet à supprimer s'appelle bien "zotero" et pas quelque chose comme "zotero-deb" ou je ne sais quoi. Tu devrais pouvoir le trouver avec :

dpkg -l | grep zotero

Et pour les extensions GNOME... je ne sais pas du tout (d'autant que j'utilise XFCE). Tu peux commencer par essayer ça :

sudo apt-get install --reinstall ubuntu-desktop

Est-ce que ça te réinstalle des paquets manquants ?

Sinon, d'après un article sur AskUbuntu (mais pas sûr que ce soit le même problème), tu peux essayer ça :

sudo apt-get install chrome-gnome-shell

Est-ce que ça change quelque chose ?

Hors ligne

#121 Le 21/01/2022, à 09:06

TVG

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

Bonjour abelthorne !

Voici les retours :

toto:~$ sudo apt-get remove --purge linux-image-5.11.0-49-generic linux-modules-5.11.0-49-generic linux-modules-extra-5.11.0-49-generic
[sudo] password for toto: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  linux-image-5.11.0-49-generic* linux-modules-5.11.0-49-generic* linux-modules-extra-5.11.0-49-generic*
0 upgraded, 0 newly installed, 3 to remove and 2 not upgraded.
After this operation, 396 MB disk space will be freed.
Do you want to continue? [Y/n] 
(Reading database ... 331907 files and directories currently installed.)
Removing linux-modules-extra-5.11.0-49-generic (5.11.0-49.55) ...
Removing linux-modules-5.11.0-49-generic (5.11.0-49.55) ...
Removing linux-image-5.11.0-49-generic (5.11.0-49.55) ...
/etc/kernel/prerm.d/dkms:
dkms: removing: evdi 1.9.1 (5.11.0-49-generic) (x86_64)

-------- Uninstall Beginning --------
Module:  evdi
Version: 1.9.1
Kernel:  5.11.0-49-generic (x86_64)
-------------------------------------

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

evdi.ko:
 - Uninstallation
   - Deleting from: /lib/modules/5.11.0-49-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.11.0-49-generic) (x86_64)

-------- Uninstall Beginning --------
Module:  virtualbox
Version: 6.1.26
Kernel:  5.11.0-49-generic (x86_64)
-------------------------------------

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

vboxdrv.ko:
 - Uninstallation
   - Deleting from: /lib/modules/5.11.0-49-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.11.0-49-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.11.0-49-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.13.0-27-generic
I: /boot/initrd.img.old is now a symlink to initrd.img-5.13.0-27-generic
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.11.0-49-generic
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.13.0-27-generic
Found initrd image: /boot/initrd.img-5.13.0-27-generic
Adding boot menu entry for UEFI Firmware Settings
done
(Reading database ... 324913 files and directories currently installed.)
Purging configuration files for linux-modules-extra-5.11.0-49-generic (5.11.0-49.55) ...
Purging configuration files for linux-modules-5.11.0-49-generic (5.11.0-49.55) ...
dpkg: warning: while removing linux-modules-5.11.0-49-generic, directory '/lib/modules/5.11.0-49-generic' not empty so not removed
Purging configuration files for linux-image-5.11.0-49-generic (5.11.0-49.55) ...
toto:~$
toto:~$ dpkg -l | grep zotero
ii  zotero                                        5.0.96.3-3                                 amd64        Zotero is a free, easy-to-use tool to help you collect, organize, cite, and share research
toto:~$ sudo apt-get remove --purge zotero
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  zotero*
0 upgraded, 0 newly installed, 1 to remove and 2 not upgraded.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] 
(Reading database ... 324912 files and directories currently installed.)
Removing zotero (5.0.96.3-3) ...
dpkg: warning: while removing zotero, directory '/usr/local' not empty so not removed
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for shared-mime-info (2.1-1) ...
Processing triggers for mailcap (3.69ubuntu1) ...
Processing triggers for desktop-file-utils (0.26-1ubuntu2) ...
toto:~$ sudo apt-get autoremove --purge
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
toto:~$ sudo rm /etc/apt/sources.list.d/zotero.list
toto:~$ sudo snap install zotero-snap
zotero-snap 5.0.96.3 from extraymond installed
toto:~$ snap list
Name                Version                      Rev    Tracking         Publisher     Notes
bare                1.0                          5      latest/stable    canonical✓    base
core                16-2.52.1                    11993  latest/stable    canonical✓    core
core18              20211215                     2284   latest/stable    canonical✓    base
core20              20211129                     1270   latest/stable    canonical✓    base
discord             0.0.16                       131    latest/stable    snapcrafters  -
firefox             96.0.1-1                     863    latest/stable/…  mozilla✓      -
gnome-3-28-1804     3.28.0-19-g98f9e67.98f9e67   161    latest/stable    canonical✓    -
gnome-3-34-1804     0+git.3556cb3                77     latest/stable/…  canonical✓    -
gnome-3-38-2004     0+git.cd626d1                87     latest/stable    canonical✓    -
gtk-common-themes   0.1-59-g7bca6ae              1519   latest/stable/…  canonical✓    -
inkscape            1.1.1-50ffc5b540-2022-01-11  9680   latest/stable    inkscape✓     -
pick-colour-picker  1.51-e54bc02                 238    latest/stable    sil           -
pycharm-community   2021.3.1                     265    latest/stable    jetbrains✓    classic
shotcut             21.12.24                     571    latest/stable    meltytech✓    classic
skype               8.80.0.143                   200    latest/stable    skype✓        -
slack               4.23.0                       49     latest/stable    slack✓        classic
snap-store          3.38.0-66-gbd5b8f7           558    latest/stable/…  canonical✓    -
snapd               2.53.4                       14295  latest/stable    canonical✓    snapd
sublime-merge       2020                         14     latest/stable    snapcrafters  classic
sublime-text        4126                         112    latest/stable    snapcrafters  classic
vlc                 3.0.16                       2344   latest/stable    videolan✓     -
zoom-client         5.9.1.1380                   167    latest/stable    ogra          -
zotero-snap         5.0.96.3                     34     latest/stable    extraymond    -
toto:~$
toto:~$ sudo apt-get install --reinstall ubuntu-desktop
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 2 not upgraded.
Need to get 2,604 B of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://fr.archive.ubuntu.com/ubuntu impish/main amd64 ubuntu-desktop amd64 1.472 [2,604 B]
Fetched 2,604 B in 0s (31.4 kB/s)          
(Reading database ... 324530 files and directories currently installed.)
Preparing to unpack .../ubuntu-desktop_1.472_amd64.deb ...
Unpacking ubuntu-desktop (1.472) over (1.472) ...
Setting up ubuntu-desktop (1.472) ...
toto:~$

Pas sûr que ça ait changé grand chose...

toto:~$ sudo apt-get install chrome-gnome-shell
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
chrome-gnome-shell is already the newest version (10.1-5).
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
toto:~$

Et ça non plus...

Il reste des choses à faire pour l'installation de 21.10 ?

Hors ligne

#122 Le 21/01/2022, à 10:01

TVG

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

Pour les extensions GNOME, j'ai eu ce message en ouvrant GNOME Tweak. Je comprends qu'il faudrait faire :

flatpak install flathub org.gnome.Extensions

comme indiqué ici.

Dois-je faire ceci avant ?

sudo apt-get remove --purge chrome-gnome-shell

J'ai aussi trouvé cette discussion sur le sujet.

Je comprends pas très bien comment s'imbriquent tous ces paquets.

En fait, même sans extension, je suis censé avoir un Dock sous GNOME ? Mes extensions GNOME fonctionnent toutes sauf Dash to Dock.

EDIT : je n'ai pas accès à mes extensions GNOME sous Firefox, mais j'arrive à y accéder via Chrome.

EDIT 2 : j'ai installé "Extensions" via flatpak et ça permet d'accéder au propriétés des extensions comme en passant par Chrome. Sinon, j'ai trouvé comment faire apparaître le Dock : dans les options de l'extension "Dash to Dock", il faut cocher la case "Use built-in theme". J'ai toujours des bugs mais ça progresse.

EDIT 3 : j'ai remis GRUB à :

GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0

mais il s'affiche toujours au démarrage.

Dernière modification par TVG (Le 21/01/2022, à 11:16)

Hors ligne

#123 Le 21/01/2022, à 11:18

abelthorne

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

Pour les paquets/dépôts, c'est bon. Tu peux éventuellement supprimer tous les .distUpgrade qui sont dans /etc/apt/sources.list.d (en  gardant les .list correspondants, bien sûr).

Idem pour Zotero. Donc, pour ce qui est de la mise à niveau, on a fini.

Reste donc ce problème d'extensions qui est apparu avec la dernière mise à niveau.

Concernant GRUB, tu as bien fait un sudo update-grub après avoir modifié le fichier de config ?

Pour le problème d'extensions :
- Ne t'occupe pas du message de ta capture, il dit juste d'installer le gestionnaire d'extensions via flathub si la distro ne le propose pas dans ses dépôts mais Ubuntu le fait.
- Qu'est-ce que tu as dans le dossier ~/.local/share/gnome-shell/extensions ?
- Est-ce que tu utilises des extensions perso habituellement ou tu t'en tiens à celles installées avec Ubuntu ?
- Tu devrais effectivement avoir un dock, géré par un fork de dash-to-dock développé par Canonical (le but étant qu'Ubuntu avec GNOME ressemble à Ubuntu avec Unity).

Dernière modification par abelthorne (Le 21/01/2022, à 11:21)

Hors ligne

#124 Le 21/01/2022, à 11:28

TVG

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

Oups, j'avais oublié "sudo update-grub". C'est bon maintenant.

Voilà ce que contient ~/.local/share/gnome-shell/extensions/ :

toto:~$ ls ~/.local/share/gnome-shell/extensions
bluetooth-quick-connect@bjarosze.gmail.com  sound-output-device-chooser@kgshank.net
clipboard-indicator@tudmotu.com             user-theme@gnome-shell-extensions.gcampax.github.com
dash-to-dock@micxgx.gmail.com               world_clock_lite@ailin.nemui
openweather-extension@jenslody.de

Tout semble fonctionner maintenant, même l'extension "Dash to Dock".

Mille mercis pour toute l'aide !!! big_smile

EDIT : juste un petit problème quand je me connecte avec mon empreinte digitale, si j'ouvre Chrome il me demande mon mon de passe du coup.

Dernière modification par TVG (Le 21/01/2022, à 11:30)

Hors ligne

#125 Le 21/01/2022, à 11:52

abelthorne

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

Tu as plusieurs extensions installées qui ne sont pas fournies avec Ubuntu de base, c'est possible que certaines ne soient pas à jour, plus compatibles avec ta version de GNOME, etc.

Si tu remarques encore des problèmes, il faudra voir les extensions au cas par cas. Pour le moment, si tu vas sur le gestionnaire d'extensions (que ce soit par le navigateur ou Tweaks), tout fonctionne bien ? Tu peux désactiver/activer les extensions, elles sont notées à jour et compatibles, etc. ?

Pour le problème de lecteur d'empreinte digitale, c'est typiquement le genre de matos qui nécessite un pilote spécifique, qui était peut-être fourni par le dépôt Lenovo. Du coup, que je comprenne bien :
- tu te connectes à ta session via un lecteur d'empreintes au lieu de taper ton mdp ?
- la connexion en question fonctionne toujours sur ton Ubuntu actuelle ?
- précédemment, Google Chrome ne te demandait pas de mdp (il le récupérait via le lecteur, en gros) mais maintenant oui ?
- quid des autres logiciels qui demandent un accès au trousseau global ? par exemple Firefox ou Thunderbird si tu les utilises ?

Hors ligne