Erros na configuração após a instalação do Skype: libqtgui4: i386, libtiff4: i386, libqt4-declarativo: i386, libqtwebkit4: i386,

-1

Estou usando o Ubuntu Precise (12.04 LTS).

Eu tenho alguns erros na configuração após a instalação do Skype (baixado do site do Skype).

Neste momento não consigo instalar nada, mesmo usando o Ubuntu Software Center.

Talvez a origem desses erros tenha sido que eu segui o procedimento descrito em Como instalar CodeLite no Ubuntu? para instalar o Codelite.

Eu removi a Codelite e seu repositório ('deb link universo preciso').

Então eu reinstalei o Skype.

Mas agora: o Skype está funcionando, o sistema operacional tem erros de configuração e não consigo instalar nada.

Abaixo, estou colocando as sugestões de solução ("terceiro" bloco de código) :

$ dpkg -S /usr/share/lintian/overrides/libtiff4
libtiff4: /usr/share/lintian/overrides/libtiff4

$ export LANG=C

$ sudo dpkg --purge libtiff4
dpkg: dependency problems prevent removal of libtiff4:
 libcupsimage2 depends on libtiff4.
 libpoppler19 depends on libtiff4.
 libtiff4-dev depends on libtiff4 (= 3.9.5-2ubuntu1.5).
 libevince3-3 depends on libtiff4.
 libdevil1c2 depends on libtiff4; however:
  Package libtiff4 is to be removed.
 libgs9 depends on libtiff4.
 libopencv-highgui2.3 depends on libtiff4.
 libtiff-tools depends on libtiff4.
 gimp-plugin-registry depends on libtiff4; however:
  Package libtiff4 is to be removed.
 libcupsfilters1 depends on libtiff4.
 libtiffxx0c2 depends on libtiff4.
 libgdk-pixbuf2.0-0 depends on libtiff4.
 libqtgui4 depends on libtiff4.
 libspandsp2 depends on libtiff4.
 libwxgtk2.8-0 depends on libtiff4; however:
  Package libtiff4 is to be removed.
 libsane depends on libtiff4.
 libmagickcore4 depends on libtiff4.
 gimp depends on libtiff4.
dpkg: error processing libtiff4 (--purge):
 dependency problems - not removing
Errors were encountered while processing:
 libtiff4

$ sudo dpkg --configure -a
dpkg: dependency problems prevent configuration of libqtgui4:i386:
 libqtgui4:i386 depends on libtiff4; however:
  Package libtiff4:i386 is not installed.
dpkg: error processing libqtgui4:i386 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libqt4-declarative:i386:
 libqt4-declarative:i386 depends on libqtgui4 (= 4:4.8.1-0ubuntu4.4); however:
  Package libqtgui4:i386 is not configured yet.
dpkg: error processing libqt4-declarative:i386 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libqtwebkit4:i386:
 libqtwebkit4:i386 depends on libqtgui4 (>= 4:4.8.0); however:
  Package libqtgui4:i386 is not configured yet.
dpkg: error processing libqtwebkit4:i386 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of skype:i386:
 skype:i386 depends on libqtgui4 (>= 4:4.8.0); however:
  Package libqtgui4:i386 is not configured yet.
 skype:i386 depends on libqtwebkit4 (>= 2.2~2011week36); however:
  Package libqtwebkit4:i386 is not configured yet.
dpkg: error processing skype:i386 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libqtgui4:i386
 libqt4-declarative:i386
 libqtwebkit4:i386
 skype:i386

$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  linux-headers-3.2.0-44-generic libunistring0 libwxsqlite3-2.8-0
  linux-headers-3.2.0-44 po-debconf g++ intltool-debian gettext
  nvidia-settings-updates qt4-qmake latex-cjk-xcjk
  linux-headers-3.5.0-23-generic linux-headers-3.5.0-23 libgettextpo0
  wx-common texlive-lang-ukenglish libmail-sendmail-perl
  libsys-hostname-long-perl
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libtiff4:i386
The following NEW packages will be installed:
  libtiff4:i386
0 upgraded, 1 newly installed, 0 to remove and 24 not upgraded.
4 not fully installed or removed.
Need to get 0 B/143 kB of archives.
After this operation, 501 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 417982 files and directories currently installed.)
Unpacking libtiff4:i386 (from .../libtiff4_3.9.5-2ubuntu1.5_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libtiff4_3.9.5-2ubuntu1.5_i386.deb     (--unpack):
 './usr/share/lintian/overrides/libtiff4' is different from the same file on the     system
Errors were encountered while processing:
 /var/cache/apt/archives/libtiff4_3.9.5-2ubuntu1.5_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


$ sudo apt-get --reinstall install libtiff4
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 libqtgui4:i386 : Depends: libtiff4:i386 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
$ 

$ sudo apt-get update

$ sudo apt-get -f install

(Reading database ... 417982 files and directories currently installed.)
Unpacking libtiff4:i386 (from .../libtiff4_3.9.5-2ubuntu1.5_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libtiff4_3.9.5-2ubuntu1.5_i386.deb     (--unpack):
 './usr/share/lintian/overrides/libtiff4' is different from the same file on the     system
Errors were encountered while processing:
 /var/cache/apt/archives/libtiff4_3.9.5-2ubuntu1.5_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 libqtgui4:i386 : Depends: libtiff4:i386 but it is not installed
E: Unmet dependencies. Try using -f.
$ 


$ sudo apt-get -f install libqtgui4
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libqtgui4 is already the newest version.
libqtgui4 set to manually installed.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 libqtgui4:i386 : Depends: libtiff4:i386 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

$ sudo apt-get  install libtiff4:i386
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-3.2.0-44-generic libunistring0 libwxsqlite3-2.8-0
  linux-headers-3.2.0-44 po-debconf g++ intltool-debian gettext
  nvidia-settings-updates qt4-qmake latex-cjk-xcjk
  linux-headers-3.5.0-23-generic linux-headers-3.5.0-23 libgettextpo0
  wx-common texlive-lang-ukenglish libmail-sendmail-perl
  libsys-hostname-long-perl
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
  libtiff4:i386
0 upgraded, 1 newly installed, 0 to remove and 28 not upgraded.
4 not fully installed or removed.
Need to get 0 B/143 kB of archives.
After this operation, 501 kB of additional disk space will be used.
(Reading database ... 417982 files and directories currently installed.)
Unpacking libtiff4:i386 (from .../libtiff4_3.9.5-2ubuntu1.5_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libtiff4_3.9.5-2ubuntu1.5_i386.deb     (--unpack):
 './usr/share/lintian/overrides/libtiff4' is different from the same file on the     system
Errors were encountered while processing:
 /var/cache/apt/archives/libtiff4_3.9.5-2ubuntu1.5_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

$ sudo apt-get autoclean
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Del codelite 5.2-1.precise [21.3 MB]
Del sdformat 1.4.5-1~precise [323 kB]
Del gazebo 1.9.0-1~precise [37.2 MB]
Del wxcrafter 1.2-1.precise [2314 kB]
Del gazebo 1.9.1-1~precise [37.2 MB]

$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 libqtgui4:i386 : Depends: libtiff4:i386 but it is not installed
E: Unmet dependencies. Try using -f.

sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  linux-headers-3.2.0-44-generic libunistring0 libwxsqlite3-2.8-0
  linux-headers-3.2.0-44 po-debconf g++ intltool-debian gettext
  nvidia-settings-updates qt4-qmake latex-cjk-xcjk
  linux-headers-3.5.0-23-generic linux-headers-3.5.0-23 libgettextpo0
  wx-common texlive-lang-ukenglish libmail-sendmail-perl
  libsys-hostname-long-perl
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libtiff4:i386
The following NEW packages will be installed:
  libtiff4:i386
0 upgraded, 1 newly installed, 0 to remove and 28 not upgraded.
4 not fully installed or removed.
Need to get 0 B/143 kB of archives.
After this operation, 501 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 417982 files and directories currently installed.)
Unpacking libtiff4:i386 (from .../libtiff4_3.9.5-2ubuntu1.5_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libtiff4_3.9.5-2ubuntu1.5_i386.deb     (--unpack):
 './usr/share/lintian/overrides/libtiff4' is different from the same file on the system
Errors were encountered while processing:
 /var/cache/apt/archives/libtiff4_3.9.5-2ubuntu1.5_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

$ sudo apt-get -u dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 libqtgui4:i386 : Depends: libtiff4:i386 but it is not installed
E: Unmet dependencies. Try using -f.

$ sudo apt-get -o Debug::pkgProblemResolver=yes dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 libqtgui4:i386 : Depends: libtiff4:i386 but it is not installed
E: Unmet dependencies. Try using -f.
$ 

Os testes até agora:

$ sudo apt-get update
$ sudo apt-get -f install
$ sudo dpkg --configure -a
$ sudo dpkg --purge libtiff4
$ sudo apt-get --reinstall install libtiff4
$ sudo apt-get  install libtiff4:i386
$ sudo apt-get autoclean
$ sudo apt-get autoremove
$ sudo apt-get -f install

Tentando obter uma solução em: Como resolvo dependências não atendidas após adicionar um PPA?

$ sudo apt-get -o Debug::pkgProblemResolver=yes dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 libqtgui4:i386 : Depends: libtiff4:i386 but it is not installed
E: Unmet dependencies. Try using -f.

$ sudo apt-get remove libqtgui4:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 libqt4-declarative:i386 : Depends: libqtgui4:i386 (= 4:4.8.1-0ubuntu4.4) but it is not going to be installed
 libqtwebkit4:i386 : Depends: libqtgui4:i386 (>= 4:4.8.0) but it is not going to be installed
 skype:i386 : Depends: libqtgui4:i386 (>= 4:4.8.0) but it is not going to be installed
              Recommends: sni-qt:i386 but it is not going to be installed
              Recommends: libasound2-plugins:i386 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
    
por Juracy Emanuel 13.04.2017 / 14:23

2 respostas

1

Descrito em:

link

Uma resposta possível:

A minha interpretação (eu li alguns comentários nos posts sobre isso) deste problema é que existe um "bug" que inviabiliza a execução de softwares como o Skype: i386 (programas de 32 bits, pois em algum momento aparecerá o dependências não atendidas) no Ubuntu 64-bit. Me desculpe por isso, porque eu tenho um Ubuntu de 64 bits e eu preciso usar o Skype.

A solução indireta que resolveu, para mim, o problema com dependências não atendidas estava no caminho do squakie ( link sugestão:

Usando: sudo apt-get build-dep libqtgui4: i386

Resultou em: Removendo o Skype: i386 ... Removendo o libqtwebkit4: i386 ... Removendo o libqt4-declarative: i386 ... Removendo libqtgui4: i386 ..

E o uso: sudo apt-get build-dep libtiff4: i386

Removido: libqt4-declarative: i386 libqtgui4: i386

Assim, o problema de dependências não relacionadas relacionadas a: bibliotecas i386 foi resolvido.

Mas, infelizmente, eu não tenho o Skype instalado.

Juracy

    
por Juracy Emanuel 31.08.2013 / 20:35
0

Você deve reinstalar libtiff4 primeiro para poder removê-lo:

sudo apt-get --reinstall install libtiff4
sudo apt-get update
sudo apt-get -f install
sudo apt-get upgrade
    
por Braiam 27.08.2013 / 22:52