GParted não está funcionando erro ao carregar bibliotecas compartilhadas: libgtkmm-2.4.so.1

8

Eu não posso executar o gparted.

Eu removi e reinstalei e o erro persistiu.

Aqui está a saída da execução de sudo gparted no terminal

$ sudo gparted
/usr/sbin/gpartedbin: error while loading shared libraries: libgtkmm-2.4.so.1: cannot open shared object file: No such file or directory

Eu tentei instalar o libgtkmm-2.4 e recebo isto:

$ sudo apt-get install libgtkmm-2.4
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'libgtkmm-2.4-dev' for regex 'libgtkmm-2.4'
Note, selecting 'libgtkmm-2.4-1c2a' for regex 'libgtkmm-2.4'
Note, selecting 'libgtkmm-2.4-doc' for regex 'libgtkmm-2.4'
Note, selecting 'libgtkmm-2.4-1v5' for regex 'libgtkmm-2.4'
Note, selecting 'libgtkmm-2.4-dbg' for regex 'libgtkmm-2.4'
libgtkmm-2.4-1v5 is already the newest version.
The following extra packages will be installed:
  debhelper gir1.2-gtk-2.0 gtkmm-documentation libatk1.0-dev libatkmm-1.6-dev
  libcairo-script-interpreter2 libcairo2-dev libcairomm-1.0-dev
  libfontconfig1-dev libfreetype6-dev libgdk-pixbuf2.0-dev libglib2.0-dev
  libglibmm-2.4-dev libglibmm-2.4-doc libgtk2.0-dev libgtkmm-3.0-doc
  libharfbuzz-dev libharfbuzz-gobject0 libice-dev libmail-sendmail-perl
  libpango1.0-dev libpangomm-1.4-dev libpcre3-dev libpcre32-3 libpcrecpp0v5
  libpixman-1-dev libpng12-dev libpthread-stubs0-dev libsigc++-2.0-dev
  libsm-dev libsys-hostname-long-perl libx11-dev libx11-doc libxau-dev
  libxcb-render0-dev libxcb-shm0-dev libxcb1-dev libxcomposite-dev
  libxcursor-dev libxdamage-dev libxdmcp-dev libxext-dev libxfixes-dev
  libxft-dev libxi-dev libxinerama-dev libxml2-utils libxrandr-dev
  libxrender-dev po-debconf x11proto-composite-dev x11proto-core-dev
  x11proto-damage-dev x11proto-fixes-dev x11proto-input-dev x11proto-kb-dev
  x11proto-randr-dev x11proto-render-dev x11proto-xext-dev
  x11proto-xinerama-dev xorg-sgml-doctools xtrans-dev
Suggested packages:
  dh-make libatkmm-1.6-doc libcairo2-doc libcairomm-1.0-doc libglib2.0-doc
  libgtkmm-3.0-dev libgtk2.0-doc libice-doc libpango1.0-doc libsigc++-2.0-doc
  libsm-doc libxcb-doc libxext-doc libmail-box-perl
The following NEW packages will be installed
  debhelper gir1.2-gtk-2.0 gtkmm-documentation libatk1.0-dev libatkmm-1.6-dev
  libcairo-script-interpreter2 libcairo2-dev libcairomm-1.0-dev
  libfontconfig1-dev libfreetype6-dev libgdk-pixbuf2.0-dev libglib2.0-dev
  libglibmm-2.4-dev libglibmm-2.4-doc libgtk2.0-dev libgtkmm-2.4-dbg
  libgtkmm-2.4-dev libgtkmm-2.4-doc libgtkmm-3.0-doc libharfbuzz-dev
  libharfbuzz-gobject0 libice-dev libmail-sendmail-perl libpango1.0-dev
  libpangomm-1.4-dev libpcre3-dev libpcre32-3 libpcrecpp0v5 libpixman-1-dev
  libpng12-dev libpthread-stubs0-dev libsigc++-2.0-dev libsm-dev
  libsys-hostname-long-perl libx11-dev libx11-doc libxau-dev
  libxcb-render0-dev libxcb-shm0-dev libxcb1-dev libxcomposite-dev
  libxcursor-dev libxdamage-dev libxdmcp-dev libxext-dev libxfixes-dev
  libxft-dev libxi-dev libxinerama-dev libxml2-utils libxrandr-dev
  libxrender-dev po-debconf x11proto-composite-dev x11proto-core-dev
  x11proto-damage-dev x11proto-fixes-dev x11proto-input-dev x11proto-kb-dev
  x11proto-randr-dev x11proto-render-dev x11proto-xext-dev
  x11proto-xinerama-dev xorg-sgml-doctools xtrans-dev
0 to upgrade, 65 to newly install, 0 to remove and 0 not to upgrade.
Need to get 46.4 MB of archives.
After this operation, 332 MB of additional disk space will be used.
Do you want to continue? [Y/n] 

Isso diz que ele já está instalado, mas quer instalar uma tonelada de extras com uma carga de dependências que eu estou relutante em fazer, já que ele diz que o pacote específico que está reclamando já está instalado duvida que estes extras resolveriam qualquer coisa.

Como devo proceder?

    
por Eamonn Doyle 29.10.2015 / 21:09

2 respostas

13

Tente remover esses pacotes gparted libatkmm-1.6-1v5 libgtkmm-2.4-1v5 libgtkmm-3.0-1v5 pavucontrol type neste comando.

sudo apt-get remove gparted libatkmm-1.6-1v5 libgtkmm-2.4-1v5 libgtkmm-3.0-1v5 pavucontrol 

e, em seguida, instale o ubuntu-desktop se ele for removido.

sudo apt-get install ubuntu-desktop gparted libatkmm-1.6-1v5 libgtkmm-2.4-1v5 libgtkmm-3.0-1v5 pavucontrol
    
por Neil 29.10.2015 / 21:30
5

Este comando funcionou para mim

sudo apt install --reinstall libgtkmm-2.4-1v5
    
por Pablo Riera 25.09.2017 / 19:57