#1 Le 06/10/2021, à 15:57
- xanmoo
[résolu] Echoue à réinstaller libreoffice
Bonjour,
J'avais installé libreoffice 7.2, qui s'est mis à planter au démarrage. Qu'à cela ne tienne, je le désinstalle (non sans mal). J'ai nettoyé source.list et le répertoire source.list.d, mais cela coince:
$ sudo apt install libreoffice
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Certains paquets ne peuvent être installés. Ceci peut signifier
que vous avez demandé l'impossible, ou bien, si vous utilisez
la distribution unstable, que certains paquets n'ont pas encore
été créés ou ne sont pas sortis d'Incoming.
L'information suivante devrait vous aider à résoudre la situation :
Les paquets suivants contiennent des dépendances non satisfaites :
libreoffice : Dépend: libreoffice-base mais ne sera pas installé
Dépend: libreoffice-calc mais ne sera pas installé
Dépend: libreoffice-core (= 1:6.4.7-0ubuntu0.20.04.1) mais ne sera pas installé
Dépend: libreoffice-draw mais ne sera pas installé
Dépend: libreoffice-impress mais ne sera pas installé
Dépend: libreoffice-math mais ne sera pas installé
Dépend: libreoffice-report-builder-bin mais ne sera pas installé
Dépend: libreoffice-writer mais ne sera pas installé
Dépend: python3-uno (>= 4.4.0~beta2) mais ne sera pas installé
Recommande: libreoffice-gnome mais ne sera pas installé ou
libreoffice-plasma mais ne sera pas installé
Recommande: libreoffice-nlpsolver mais ne sera pas installé
Recommande: libreoffice-report-builder mais ne sera pas installé
Recommande: libreoffice-script-provider-bsh mais ne sera pas installé
Recommande: libreoffice-script-provider-js mais ne sera pas installé
Recommande: libreoffice-script-provider-python mais ne sera pas installé
Recommande: libreoffice-sdbc-mysql mais ne sera pas installé
Recommande: libreoffice-sdbc-postgresql mais ne sera pas installé
Recommande: libreoffice-wiki-publisher mais ne sera pas installé
E: Impossible de corriger les problèmes, des paquets défectueux sont en mode « garder en l'état ».J'ai donc:
vim /etc/apt/sources.list
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu focal main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu focal-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://archive.ubuntu.com/ubuntu focal universe
deb http://archive.ubuntu.com/ubuntu focal-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://archive.ubuntu.com/ubuntu focal multiverse
deb http://archive.ubuntu.com/ubuntu focal-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://archive.ubuntu.com/ubuntu focal-backports main universe multiverse restricted
## 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 focal partner
deb http://archive.ubuntu.com/ubuntu focal-security main restricted
deb http://archive.ubuntu.com/ubuntu focal-security universe
deb http://archive.ubuntu.com/ubuntu focal-security multiverse
## Depôt cuda
deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/ /
# deb-src https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/ /$ ls /etc/apt/sources.list.d/
bazel.list nv-tensorrt-cuda9.2-ga-trt4.0.1.6-20180612.list.distUpgrade
bazel.list.distUpgrade nv-tensorrt-cuda9.2-ga-trt4.0.1.6-20180612.list.save
bazel.list.save openproject.list
brave-browser-release.list openproject.list.distUpgrade
brave-browser-release.list.distUpgrade openproject.list.save
brave-browser-release.list.save playonlinux.list
cuda-9-2-local.list.distUpgrade playonlinux.list.distUpgrade
cuda-9-2-local.list.save playonlinux.list.save
cuda.list.distUpgrade skype-stable.list
cuda.list.save skype-stable.list.distUpgrade
geogebra.list skype-stable.list.save
geogebra.list.distUpgrade slack.list
geogebra.list.save slack.list.distUpgrade
google-chrome.list slack.list.save
google-chrome.list.distUpgrade steam.list
google-chrome.list.save steam.list.distUpgrade
graphics-drivers-ubuntu-ppa-focal.list steam.list.save
graphics-drivers-ubuntu-ppa-focal.list.save sublime-text.list
libreoffice-ubuntu-ppa-focal.list sublime-text.list.distUpgrade
libreoffice-ubuntu-ppa-focal.list.save sublime-text.list.save
nccl-2.2.13-ga-cuda9.2.list.distUpgrade teams.list
nccl-2.2.13-ga-cuda9.2.list.save teams.list.distUpgrade
neurodebian.sources.list teams.list.save
neurodebian.sources.list.distUpgrade zulip.list.save
neurodebian.sources.list.saveLe ppa Libreoffice est désactivé.
Merci d'avance pour vos conseils.
Dernière modification par xanmoo (Le 10/10/2021, à 16:45)
Portable IBM Thinkpad R50e 2 Go | 40 Go: MX Linux 19.4
Portable IBM Thinkpad T430 8 Go | 240 Go: endeavour OS
Dell Precision T5500, Xeon x5570, 24Go, GTX 960- 4Go, SSD 120Go, Ubuntu 20.04
http://dip4fish.blogspot.com/
Hors ligne
#2 Le 06/10/2021, à 16:37
- geole
Re : [résolu] Echoue à réinstaller libreoffice
Bonjour.
Essaie cela
sudo add-apt-repository ppa:libreoffice/ppasudo apt-get updatesudo apt-get install --reinstall libreofficeHors ligne
#3 Le 06/10/2021, à 18:23
- xanmoo
Re : [résolu] Echoue à réinstaller libreoffice
Ah merci,
Réinstaller le ppa a permis de réinstaller LO 7.2. Je craignais des investigation plus approfondies, cool!
Reste à voir la stabilité. J'ai virer des extensions, en tout cas LO démarre sans planter directement !!
Portable IBM Thinkpad R50e 2 Go | 40 Go: MX Linux 19.4
Portable IBM Thinkpad T430 8 Go | 240 Go: endeavour OS
Dell Precision T5500, Xeon x5570, 24Go, GTX 960- 4Go, SSD 120Go, Ubuntu 20.04
http://dip4fish.blogspot.com/
Hors ligne
#4 Le 06/10/2021, à 18:37
- xanmoo
Re : [résolu] Echoue à réinstaller libreoffice
C'est toujours aussi instable .
$ libreoffice
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
(soffice:56628): Gdk-WARNING **: 19:36:54.513: XSetErrorHandler() called with a GDK error trap pushed. Don't do that.
(soffice:56628): Gtk-ERROR **: 19:36:54.528: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported
Fatal exception: Signal 5
Stack:
/usr/lib/libreoffice/program/libuno_sal.so.3(+0x3e9a3)[0x7f03bbf449a3]
/usr/lib/libreoffice/program/libuno_sal.so.3(+0x3eb1a)[0x7f03bbf44b1a]
/lib/x86_64-linux-gnu/libc.so.6(+0x46210)[0x7f03bbd2b210]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x58295)[0x7f03bb461295]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_log_default_handler+0xb9)[0x7f03bb462319]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_logv+0x21c)[0x7f03bb46255c]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_log+0x93)[0x7f03bb462743]
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(+0x13ab18)[0x7f0301152b18]
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_option_context_parse+0x9f)[0x7f03bb467b2f]
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(gtk_parse_args+0xb0)[0x7f0301152e70]
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(gtk_init_check+0xd)[0x7f0301152edd]
/usr/lib/jvm/java-8-oracle/jre/lib/amd64/libawt_xawt.so(+0x3cd0d)[0x7f0301b15d0d]
/usr/lib/jvm/java-8-oracle/jre/lib/amd64/libawt_xawt.so(Java_sun_awt_UNIXToolkit_load_1gtk+0x9)[0x7f0301b11bf9]
[0x7f0385016347]Portable IBM Thinkpad R50e 2 Go | 40 Go: MX Linux 19.4
Portable IBM Thinkpad T430 8 Go | 240 Go: endeavour OS
Dell Precision T5500, Xeon x5570, 24Go, GTX 960- 4Go, SSD 120Go, Ubuntu 20.04
http://dip4fish.blogspot.com/
Hors ligne
#5 Le 08/10/2021, à 11:26
- geole
Re : [résolu] Echoue à réinstaller libreoffice
C'est toujours aussi instable .
(soffice:56628): Gtk-ERROR **: 19:36:54.528: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported.
Bonjour
La cause est indiquée.
Il va certaiment être nécessaire de supprimer GTK+2 et conserver GTK+3.
Je ne sais pas guider mais je regarde si le problème est référencé,
Ajout
C'est expliqué dans ce lien, mais je ne comprends pas ce qu'il faut faire.
http://www.slf4j.org/codes.html#StaticLoggerBinder
Dernière modification par geole (Le 08/10/2021, à 11:56)
Hors ligne
#6 Le 08/10/2021, à 11:32
- ylag
Re : [résolu] Echoue à réinstaller libreoffice
Bonjour,
Peut-être vérifier ce qui est installé à ce niveau avec une commande du genre de :
apt policy libreoffice-gtk{2,3}Il ne faut qu'un seul des deux paquets, probablement libreoffice-gtk3 ?
A+
Dernière modification par ylag (Le 08/10/2021, à 14:59)
Hors ligne
#7 Le 10/10/2021, à 14:00
- xanmoo
Re : [résolu] Echoue à réinstaller libreoffice
On a donc
$ apt policy libreoffice-gtk{2,3}
libreoffice-gtk2:
Installé : (aucun)
Candidat : 1:7.2.1-0ubuntu0.20.04.1~lo1
Table de version :
1:7.2.1-0ubuntu0.20.04.1~lo1 500
500 http://ppa.launchpad.net/libreoffice/ppa/ubuntu focal/main amd64 Packages
500 http://ppa.launchpad.net/libreoffice/ppa/ubuntu focal/main i386 Packages
1:6.4.7-0ubuntu0.20.04.1 500
500 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages
500 http://archive.ubuntu.com/ubuntu focal-updates/universe i386 Packages
1:6.4.2-0ubuntu3 500
500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages
500 http://archive.ubuntu.com/ubuntu focal/universe i386 Packages
libreoffice-gtk3:
Installé : 1:7.2.1-0ubuntu0.20.04.1~lo1
Candidat : 1:7.2.1-0ubuntu0.20.04.1~lo1
Table de version :
*** 1:7.2.1-0ubuntu0.20.04.1~lo1 500
500 http://ppa.launchpad.net/libreoffice/ppa/ubuntu focal/main amd64 Packages
100 /var/lib/dpkg/status
1:6.4.7-0ubuntu0.20.04.1 500
500 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
1:6.4.2-0ubuntu3 500
500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packageset si on regarde gtk2:
$ apt list --installed | grep "gtk2"
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
gtk2-engines-murrine/focal,now 0.98.2-3 amd64 [installé]
libcheese-gtk25/focal-updates,now 3.34.0-1ubuntu1 amd64 [installé]
libgtk2-perl/focal,now 2:1.24993-1ubuntu2 amd64 [installé, automatique]
libgtk2.0-0/focal,now 2.24.32-4ubuntu4 amd64 [installé]
libgtk2.0-bin/focal,now 2.24.32-4ubuntu4 amd64 [installé]
libgtk2.0-cil/focal,now 2.12.40-3 amd64 [installé, automatique]
libgtk2.0-common/focal,focal,now 2.24.32-4ubuntu4 all [installé]
libunity-gtk2-parser0/focal,now 0.0.0+18.04.20171202-0ubuntu2 amd64 [installé]
libwebkit2gtk-4.0-37-gtk2/focal-updates,focal-updates,focal-security,focal-security,now 2.32.4-0ubuntu0.20.04.1 all [installé]
overlay-scrollbar-gtk2/focal,now 0.2.17.1+16.04.20151117-0ubuntu2 amd64 [installé]
unity-gtk2-module/focal,now 0.0.0+18.04.20171202-0ubuntu2 amd64 [installé]Comme je fais des mises à jour depuis 16.04 (18.04 et maintenant 20.04), il y a peut-être des vieux bouts qui traînent ... Je n'ai pas trouver comment identifier les applications qui utilisent une librairie, est-ce possible?
J'ai également désinstallé l'extension languagetool, mon problème ressemblant à celui-ci.
Dernière modification par xanmoo (Le 10/10/2021, à 14:22)
Portable IBM Thinkpad R50e 2 Go | 40 Go: MX Linux 19.4
Portable IBM Thinkpad T430 8 Go | 240 Go: endeavour OS
Dell Precision T5500, Xeon x5570, 24Go, GTX 960- 4Go, SSD 120Go, Ubuntu 20.04
http://dip4fish.blogspot.com/
Hors ligne
#8 Le 10/10/2021, à 14:02
- xanmoo
Re : [résolu] Echoue à réinstaller libreoffice
languagetool coupable? https://forum.languagetool.org/t/langua … ffice/4174
Portable IBM Thinkpad R50e 2 Go | 40 Go: MX Linux 19.4
Portable IBM Thinkpad T430 8 Go | 240 Go: endeavour OS
Dell Precision T5500, Xeon x5570, 24Go, GTX 960- 4Go, SSD 120Go, Ubuntu 20.04
http://dip4fish.blogspot.com/
Hors ligne
#9 Le 10/10/2021, à 14:07
- ylag
Re : [résolu] Echoue à réinstaller libreoffice
Bonjour,
Pour info, j'ai les mêmes retours que les tiens au message #7 concernant gtk2 et libreoffice-gtk{2,3} sur ma 20.04 et tout fonctionne normalement pour moi avec libreoffice.
A+
Dernière modification par ylag (Le 10/10/2021, à 14:07)
Hors ligne
#10 Le 10/10/2021, à 14:55
- xanmoo
Re : [résolu] Echoue à réinstaller libreoffice
et tu as des extensions?
Dernière modification par xanmoo (Le 10/10/2021, à 14:56)
Portable IBM Thinkpad R50e 2 Go | 40 Go: MX Linux 19.4
Portable IBM Thinkpad T430 8 Go | 240 Go: endeavour OS
Dell Precision T5500, Xeon x5570, 24Go, GTX 960- 4Go, SSD 120Go, Ubuntu 20.04
http://dip4fish.blogspot.com/
Hors ligne
#11 Le 10/10/2021, à 15:48
- ylag
Re : [résolu] Echoue à réinstaller libreoffice
Bonjour,
Pas d'extensions installées...
A+
Hors ligne
#12 Le 10/10/2021, à 16:45
- xanmoo
Re : [résolu] Echoue à réinstaller libreoffice
plus de plantage depuis la suppression de languagetools. J'ai gardé texmath
Portable IBM Thinkpad R50e 2 Go | 40 Go: MX Linux 19.4
Portable IBM Thinkpad T430 8 Go | 240 Go: endeavour OS
Dell Precision T5500, Xeon x5570, 24Go, GTX 960- 4Go, SSD 120Go, Ubuntu 20.04
http://dip4fish.blogspot.com/
Hors ligne
#13 Le 10/10/2021, à 19:00
- pappou640

Re : [résolu] Echoue à réinstaller libreoffice
MERCI à Tous
@ xanmoo pour
résolu] Échoue à réinstaller Libreoffice et @ ,Geole Le 06/10/2021, à 16:37 pour 3 lignes de code le mien était resté en 6,04 malgré
Bonjour.
Essaie cela
sudo add-apt-repository ppa:libreoffice/ppa
sudo apt-get update
sudo apt-get install --reinstall libreofficeOrdi:Dell reco Win10 Ubuntu 20.04/Linux Hybryde13.10/Emabuntu deb 3. http://voyagerlive.org/ Essentiel=> [Accueil Ubuntu=>url=https://doc.ubuntu-fr.org/
Penses à passer ton sujet en [Résolu] en éditant le titre de ton 1er post (message)
Hors ligne