Estou tentando instalar o libqt4-core, mas parece que, para as dependências, tenho versões mais recentes do que as compatíveis com este pacote. Quando uso sudo apt-get install libqt4-core
, minha saída é a seguinte:
user@computer:~/torch$ sudo apt-get install libqt4-core
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libqt4-core : Depends: libqt4-dbus (= 4:4.8.5+git192-g085f851+dfsg-2ubuntu4) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1 is to be installed
Depends: libqt4-network (= 4:4.8.5+git192-g085f851+dfsg-2ubuntu4) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1 is to be installed
Depends: libqt4-script (= 4:4.8.5+git192-g085f851+dfsg-2ubuntu4) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1 is to be installed
Depends: libqt4-test (= 4:4.8.5+git192-g085f851+dfsg-2ubuntu4) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1 is to be installed
Depends: libqt4-xml (= 4:4.8.5+git192-g085f851+dfsg-2ubuntu4) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1 is to be installed
Depends: libqtcore4 (= 4:4.8.5+git192-g085f851+dfsg-2ubuntu4) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1 is to be installed
E: Unable to correct problems, you have held broken packages.
Eu tentei fazer sudo apt-get install libqt4-core=4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1
na esperança de que isso fosse compatível com os pacotes que eu já instalei, mas o apt disse que não encontrou esta versão.
Eu também tentei desinstalar as dependências e reinstalá-las com as versões mais antigas, mas as dependências, por sua vez, têm mais dependências que entram em conflito porque elas também têm o novo número de versão. Eu não acho que seguir isso até o fim seja uma boa ideia, então parei. Se houvesse uma opção para forçar tudo a fazer o downgrade para a versão debian 2ubuntu4 ao invés de 2ubuntu4.1, parece que isso deveria corrigir isso.
Como posso instalar isso?
(postagem cruzada do SO desde que percebi que este é um lugar melhor para postar essa pergunta)
Editar:
Saída de uname -a ; lsb_release -rc ; apt-cache showpkg libqt4-core
incluída como informação agora:
Linux user-asus 3.13.0-68-generic #111-Ubuntu SMP Fri Nov 6 18:17:06 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Release: 14.04
Codename: trusty
Package: libqt4-core
Versions:
4:4.8.5+git192-g085f851+dfsg-2ubuntu4 (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_trusty_universe_binary-amd64_Packages)
Description Language:
File: /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_trusty_universe_binary-amd64_Packages
MD5: f8482ce645d26d9ce978ee864c190ae7
Description Language: en
File: /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_trusty_universe_i18n_Translation-en
MD5: f8482ce645d26d9ce978ee864c190ae7
Reverse Depends:
debathena-thirdparty-libraries,libqt4-core
debathena-thirdparty,libqt4-core
libqt4-core:i386,libqt4-core
chessx,libqt4-core
Dependencies:
4:4.8.5+git192-g085f851+dfsg-2ubuntu4 - libqt4-dbus (5 4:4.8.5+git192-g085f851+dfsg-2ubuntu4) libqt4-network (5 4:4.8.5+git192-g085f851+dfsg-2ubuntu4) libqt4-script (5 4:4.8.5+git192-g085f851+dfsg-2ubuntu4) libqt4-test (5 4:4.8.5+git192-g085f851+dfsg-2ubuntu4) libqt4-xml (5 4:4.8.5+git192-g085f851+dfsg-2ubuntu4) libqtcore4 (5 4:4.8.5+git192-g085f851+dfsg-2ubuntu4) libqt4-core:i386 (0 (null))
Provides:
4:4.8.5+git192-g085f851+dfsg-2ubuntu4 -
Reverse Provides:
Edit2:
Mais informações adicionais
sudo aptitude install libqtcore4 libqt4-xml libqt4-test libqt4-script libqt4-network libqt4-dbus
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
sudo aptitude install libqt4-core
The following NEW packages will be installed:
libqt4-core{b}
0 packages upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
Need to get 6,354 B of archives. After unpacking 133 kB will be used.
The following packages have unmet dependencies:
libqt4-core : Depends: libqt4-dbus (= 4:4.8.5+git192-g085f851+dfsg-2ubuntu4) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1 is installed.
Depends: libqt4-network (= 4:4.8.5+git192-g085f851+dfsg-2ubuntu4) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1 is installed.
Depends: libqt4-script (= 4:4.8.5+git192-g085f851+dfsg-2ubuntu4) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1 is installed.
Depends: libqt4-test (= 4:4.8.5+git192-g085f851+dfsg-2ubuntu4) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1 is installed.
Depends: libqt4-xml (= 4:4.8.5+git192-g085f851+dfsg-2ubuntu4) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1 is installed.
Depends: libqtcore4 (= 4:4.8.5+git192-g085f851+dfsg-2ubuntu4) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1 is installed.
The following actions will resolve these dependencies:
Keep the following packages at their current version:
1) libqt4-core [Not Installed]
Accept this solution? [Y/n/q/?] q
Abandoning all efforts to resolve these dependencies.
Abort.
Edit3:
Saída de apt-cache policy libqt4-core libqtcore4 libqt4-xml libqt4-test libqt4-script libqt4-network libqt4-dbus