Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

fail to install libqt4-* : unmet dependecies

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
naja
Posts: 8
Joined: 2017-07-20 15:16

fail to install libqt4-* : unmet dependecies

#1 Post by naja »

Hello there.

I tried installing it by firing off the following command:

Code: Select all

# apt-get install libqt4-*
and it failed with the following output:

Code: Select all

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'libqt4-sql-psql' for glob 'libqt4-*'
Note, selecting 'libqt4-declarative-folderlistmodel' for glob 'libqt4-*'
Note, selecting 'libqt4-xmlpatterns' for glob 'libqt4-*'
Note, selecting 'libqt4-phonon' for glob 'libqt4-*'
Note, selecting 'libqt4-declarative-particles' for glob 'libqt4-*'
Note, selecting 'libqt4-declarative' for glob 'libqt4-*'
Note, selecting 'libqt4-declarative-gestures' for glob 'libqt4-*'
Note, selecting 'libqt4-sql-ibase' for glob 'libqt4-*'
Note, selecting 'libqt4-ruby' for glob 'libqt4-*'
Note, selecting 'libqt4-designer-dbg' for glob 'libqt4-*'
Note, selecting 'libqt4-sql-tds' for glob 'libqt4-*'
Note, selecting 'libqt4-opengl-dev' for glob 'libqt4-*'
Note, selecting 'libqt4-sql-sqlite2' for glob 'libqt4-*'
Note, selecting 'libqt4-test' for glob 'libqt4-*'
Note, selecting 'libqt4-dbg' for glob 'libqt4-*'
Note, selecting 'libqt4-dev' for glob 'libqt4-*'
Note, selecting 'libqt4-dev-bin' for glob 'libqt4-*'
Note, selecting 'libqt4-scripttools' for glob 'libqt4-*'
Note, selecting 'libqt4-core' for glob 'libqt4-*'
Note, selecting 'libqt4-gui' for glob 'libqt4-*'
Note, selecting 'libqt4-script' for glob 'libqt4-*'
Note, selecting 'libqt4-designer' for glob 'libqt4-*'
Note, selecting 'libqt4-ruby1.8' for glob 'libqt4-*'
Note, selecting 'libqt4-sql-sqlite' for glob 'libqt4-*'
Note, selecting 'libqt4-declarative-shaders' for glob 'libqt4-*'
Note, selecting 'libqt4-qt3support' for glob 'libqt4-*'
Note, selecting 'libqt4-assistant' for glob 'libqt4-*'
Note, selecting 'libqt4-sql' for glob 'libqt4-*'
Note, selecting 'libqt4-svg' for glob 'libqt4-*'
Note, selecting 'libqt4-webkit' for glob 'libqt4-*'
Note, selecting 'libqt4-help' for glob 'libqt4-*'
Note, selecting 'libqt4-private-dev' for glob 'libqt4-*'
Note, selecting 'libqt4-xml' for glob 'libqt4-*'
Note, selecting 'libqt4-script-dbg' for glob 'libqt4-*'
Note, selecting 'libqt4-dbus' for glob 'libqt4-*'
Note, selecting 'libqt4-xmlpatterns-dbg' for glob 'libqt4-*'
Note, selecting 'libqt4-sql-mysql' for glob 'libqt4-*'
Note, selecting 'libqt4-opengl' for glob 'libqt4-*'
Note, selecting 'libqt4-webkit-dbg' for glob 'libqt4-*'
Note, selecting 'libqt4-qt3support-dbg' for glob 'libqt4-*'
Note, selecting 'libqt4-sql-odbc' for glob 'libqt4-*'
Note, selecting 'libqt4-network' for glob 'libqt4-*'
libqt4-webkit is already the newest version (4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1).
libqt4-dbus is already the newest version (4:4.8.7+dfsg-11).
libqt4-dbus set to manually installed.
libqt4-declarative is already the newest version (4:4.8.7+dfsg-11).
libqt4-declarative set to manually installed.
libqt4-designer is already the newest version (4:4.8.7+dfsg-11).
libqt4-dev is already the newest version (4:4.8.7+dfsg-11).
libqt4-dev-bin is already the newest version (4:4.8.7+dfsg-11).
libqt4-dev-bin set to manually installed.
libqt4-help is already the newest version (4:4.8.7+dfsg-11).
libqt4-help set to manually installed.
libqt4-network is already the newest version (4:4.8.7+dfsg-11).
libqt4-network set to manually installed.
libqt4-opengl is already the newest version (4:4.8.7+dfsg-11).
libqt4-opengl-dev is already the newest version (4:4.8.7+dfsg-11).
libqt4-opengl-dev set to manually installed.
libqt4-qt3support is already the newest version (4:4.8.7+dfsg-11).
libqt4-qt3support set to manually installed.
libqt4-script is already the newest version (4:4.8.7+dfsg-11).
libqt4-script set to manually installed.
libqt4-scripttools is already the newest version (4:4.8.7+dfsg-11).
libqt4-scripttools set to manually installed.
libqt4-sql is already the newest version (4:4.8.7+dfsg-11).
libqt4-sql set to manually installed.
libqt4-sql-mysql is already the newest version (4:4.8.7+dfsg-11).
libqt4-sql-mysql set to manually installed.
libqt4-sql-sqlite is already the newest version (4:4.8.7+dfsg-11).
libqt4-sql-sqlite set to manually installed.
libqt4-svg is already the newest version (4:4.8.7+dfsg-11).
libqt4-test is already the newest version (4:4.8.7+dfsg-11).
libqt4-test set to manually installed.
libqt4-xml is already the newest version (4:4.8.7+dfsg-11).
libqt4-xml set to manually installed.
libqt4-xmlpatterns is already the newest version (4:4.8.7+dfsg-11).
libqt4-xmlpatterns set to manually installed.
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.6+git64-g5dc8b2b+dfsg-3+deb8u1) but 4:4.8.7+dfsg-11 is to be installed
               Depends: libqt4-network (= 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1) but 4:4.8.7+dfsg-11 is to be installed
               Depends: libqt4-script (= 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1) but 4:4.8.7+dfsg-11 is to be installed
               Depends: libqt4-test (= 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1) but 4:4.8.7+dfsg-11 is to be installed
               Depends: libqt4-xml (= 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1) but 4:4.8.7+dfsg-11 is to be installed
               Depends: libqtcore4 (= 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1) but 4:4.8.7+dfsg-11 is to be installed
 libqt4-gui : Depends: libqt4-designer (= 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1) but 4:4.8.7+dfsg-11 is to be installed
              Depends: libqt4-opengl (= 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1) but 4:4.8.7+dfsg-11 is to be installed
              Depends: libqt4-svg (= 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1) but 4:4.8.7+dfsg-11 is to be installed
              Depends: libqtgui4 (= 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1) but 4:4.8.7+dfsg-11 is to be installed
 libqt4-private-dev : Depends: libqt4-dev (= 4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1) but 4:4.8.7+dfsg-11 is to be installed
 libqt4-ruby1.8 : Depends: ruby-phonon but it is not going to be installed
                  Depends: ruby-qt4-webkit but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
You have new mail in /var/mail/fred
I tried googling for some solutions and implementing them but so far all in vain. In short, I tried cleaning, updating, dist-updating, 'sudo apt-get install -f'-ing. Nothing helped. I don't get why there are some unmet dependencies and how I am supposed to resolve them.

Here's some info about my system:

Code: Select all

$ uname -a
Linux fred 4.11.0-2-amd64 #1 SMP Debian 4.11.11-1 (2017-07-22) x86_64 GNU/Linux
Any advice would be greatly appreciated. Thank you.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: fail to install libqt4-* : unmet dependecies

#2 Post by stevepusser »

I'll repeat this: virtually every thread that says "I can't Install something" turn out to be due to something wrong with the software sources, yet those are never listed in the first post.

Since you have some parts of Qt4 4.8.6 (Stretch's is 4.8.7) mixed in with a kernel from Testing, obviously there's a lot more history with your system that you're haven't told us, and no doubt this is causing your difficulties.

If I were to try and fix such a mess, I'd look at the software sources for the system, then use aptitude on the command line to try its multiple solutions to fix the problems.
Last edited by stevepusser on 2017-08-17 17:16, edited 2 times in total.
MX Linux packager and developer

deborah-and-ian
Posts: 182
Joined: 2016-07-13 08:40

Re: fail to install libqt4-* : unmet dependecies

#3 Post by deborah-and-ian »

4.11 in Debian means you're on Testing or Sid, or you're using the backports kernel?

BTW, this might not be related to your problem, but if you're using testing or sid, be advised that Debian has decided to deprecate Qt4, so your safest bet is to ask the programmers of that software to port it to Qt5. I.e. don't expect them to repair breakage of Qt4 packages.
Debian GNU/Linux 9 Stretch w/Openbox

Acer Aspire E5-521G
AMD A8-6410 APU
4 GB RAM
integrated AMD Mullins
dedicated AMD Hainan Radeon R5 M240 2 GB
240 GB Toshiba Q300 SSD
Realtek RTL8111/8168/8411 ethernet
Qualcomm Atheros QCA9565 wireless

naja
Posts: 8
Joined: 2017-07-20 15:16

Re: fail to install libqt4-* : unmet dependecies

#4 Post by naja »

stevepusser wrote:Since you have some parts of Qt4 4.8.6 (Stretch's is 4.8.7) mixed in with a kernel from Testing, obviously there's a lot more history with your system that you're haven't told us, and no doubt this is causing your difficulties.

If I were to try and fix such a mess, I'd look at the software sources for the system, then use aptitude on the command line to try its multiple solutions to fix the problems.
Well first I installed Debian Jessie and then after having used it for a few months I updated it to the unstable version. But I still don't get it what is causing the problem. You mean it may have to do with the kernel?

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: fail to install libqt4-* : unmet dependecies

#5 Post by stevepusser »

No, the kernel is not the problem...you did not get a full upgrade from Jessie with those problem packages--you still have Jessie versions installed. Please install inxi and show us your source repos with

Code: Select all

inxi -r
MX Linux packager and developer

naja
Posts: 8
Joined: 2017-07-20 15:16

Re: fail to install libqt4-* : unmet dependecies

#6 Post by naja »

deborah-and-ian wrote:4.11 in Debian means you're on Testing or Sid, or you're using the backports kernel?

BTW, this might not be related to your problem, but if you're using testing or sid, be advised that Debian has decided to deprecate Qt4, so your safest bet is to ask the programmers of that software to port it to Qt5. I.e. don't expect them to repair breakage of Qt4 packages.
Yeah I'm on testing. I didn't know that they'd deprecated Qt4. In truth, I need PyQt4.QtWebKit and when trying some recommended solutions I encountered this problem. So , I figure, it's impossible for me to use Qt4. Am I correct?
Last edited by naja on 2017-08-17 18:07, edited 1 time in total.

naja
Posts: 8
Joined: 2017-07-20 15:16

Re: fail to install libqt4-* : unmet dependecies

#7 Post by naja »

stevepusser wrote:No, the kernel is not the problem...you did not get a full upgrade from Jessie with those problem packages--you still have Jessie versions installed. Please install inxi and show us your source repos with

Code: Select all

inxi -r
Aaah, I see. Well here it is:

Code: Select all

Repos:     Active apt sources in file: /etc/apt/sources.list
           deb http://ftp.ru.debian.org/debian/ jessie main
           deb-src http://ftp.ru.debian.org/debian/ jessie main
           deb http://security.debian.org/ jessie/updates main
           deb-src http://security.debian.org/ jessie/updates main
           deb http://ftp.ru.debian.org/debian/ jessie-updates main
           deb-src http://ftp.ru.debian.org/debian/ jessie-updates main
           deb http://deb.torproject.org/torproject.org jessie main
           deb-src http://deb.torproject.org/torproject.org jessie main
           deb http://dl.bintray.com/aluxian/deb stable main
           deb http://ftp.de.debian.org/debian experimental main
           deb http://ftp.de.debian.org/debian unstable main
           deb http://httpredir.debian.org/debian/ jessie main contrib
           Active apt sources in file: /etc/apt/sources.list.d/mongodb-org-3.2.list
           deb http://repo.mongodb.org/apt/debian jessie/mongodb-org/3.2 main
           Active apt sources in file: /etc/apt/sources.list.d/skype-stable.list
           deb [arch=amd64] https://repo.skype.com/deb stable main

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: fail to install libqt4-* : unmet dependecies

#8 Post by kedaha »

From your other post it would appear you're installing software on a remote server. Well, you really don't want to use testing for a server if only for reasons given here. If you want newer versions of software, then they should be backported.
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

naja
Posts: 8
Joined: 2017-07-20 15:16

Re: fail to install libqt4-* : unmet dependecies

#9 Post by naja »

kedaha wrote:From your other post it would appear you're installing software on a remote server. Well, you really don't want to use testing for a server if only for reasons given here. If you want newer versions of software, then they should be backported.
Oh no, that post has nothing to do with the issue I'm facing at the moment:) I'm installing it on my desktop. But I agree with you. Thank you for pointing this out.

naja
Posts: 8
Joined: 2017-07-20 15:16

Re: fail to install libqt4-* : unmet dependecies

#10 Post by naja »

Seems like problems with Qt is not the only one caused by this mess (which is sorta obvious). Would you please give me any tips on how to handle this issue in a less painful way?

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: fail to install libqt4-* : unmet dependecies

#11 Post by stevepusser »

Jessie + Stretch + Sid + Experimental. Hmmm--nope, can't think why you'd be seeing any problems.

Image

https://wiki.debian.org/DontBreakDebian

Well, your system now has a very good chance of being fscked up beyond repair, unfortunately. It could have subtle problems that are very hard to detect or fix, too, even if you repair the obvious ones. If you want to be sure, restore from your backup, or reinstall Debian Stretch, and stick to using repositories that are compatible with it. Shiny new stuff can be usually installed in it using backports, or things like flatpaks, snaps, or appimages.

https://wiki.debian.org/DontBreakDebian
Last edited by stevepusser on 2017-08-17 19:55, edited 1 time in total.
MX Linux packager and developer

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: fail to install libqt4-* : unmet dependecies

#12 Post by kedaha »

Personally I use the stable distribution not only for my server but also for my desktop system and if the need arises, I backport the packages I need from sid or testing or, if you're lucky, stevepusser, the packaging guy :wink: , may add Webkit to his repository. Your sources.list file mixes repositories which isn't to be recommended because it can quickly lead to a broken system. So my recommendation is to run stable but another plan would be to dual boot it with sid which, with the proper precautions, will probably give you less grief than testing.
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: fail to install libqt4-* : unmet dependecies

#13 Post by stevepusser »

kedaha wrote:Personally I use the stable distribution not only for my server but also for my desktop system and if the need arises, I backport the packages I need from sid or testing or, if you're lucky, stevepusser, the packaging guy :wink: , may add Webkit to his repository. Your sources.list file mixes repositories which isn't to be recommended because it can quickly lead to a broken system. So my recommendation is to run stable but another plan would be to dual boot it with sid which, with the proper precautions, will probably give you less grief than testing.
Huh? Which Webkit, from where to where? I did try doing a webkit2 backport from Stretch to Jessie once; the 32-bit were successful, but the 64-bit consumes a lot more RAM during the build, so the OBS machines always ran out of RAM and quit. The same applied when I tried some builds of the Iridium browser (yet another Chromium spinoff) though this time the 32-bit would fail with some weird "can't find this header though it's installed" error; 64-bit would just run out of memory. But the Iridium project supplies 64-bit debs anyway, someone had asked for it to be in the MX repo, so I rebuilt it from the source on my laptop for MX.

Steve (but I'm trying a backport of the new Liquorix 4.12-8 kernel to Jessie right now): https://build.opensuse.org/package/show ... uorix-4.12
MX Linux packager and developer

deborah-and-ian
Posts: 182
Joined: 2016-07-13 08:40

Re: fail to install libqt4-* : unmet dependecies

#14 Post by deborah-and-ian »

naja wrote:So , I figure, it's impossible for me to use Qt4. Am I correct?
You could just use Debian Stable :) However, it's also Webkit, so there are several problems here:

1. Qt4 has been deprecated by their developers for more than 2 years now. Debian is supplying security patches to the version in Debian Stretch, as well as the oldstable Jessie as long as it's supported. But from Buster on (i.e. current Testing) Qt4 will be removed from Debian. This could in part be one of your update problems and I'm not sure it will be fixed. So, if your favourite programme isn't using Qt5, it will probably be removed from the repositories. From here:
We have been announcing it: we are going to remove Qt 4 during the Buster cycle. [...] Qt 4 is long dead upstream and we have already started to need to patch it with untested patches as in the OpenSSL 1.1 case (will be in experimental in a few hours after this post).
2. Qt5 is moving away from Webkit to Blink, but Webkit will still be supported till Qt6 (cf. announcement):
Basically we are about to get the last Qt4 point release and upstream is
migrating from WebKit to Blink in the Qt5 series, so we won't have much upstreams
support for maintaining Qt4's WebKit (Qt5's WebKit is expected to stay supported
until Qt6).
3. However, Debian repeatedly said that it can't easily update to newer Webkit versions and that using older ones is a potential security risk. That's why I stay clear of programmes using Webkit.
Debian GNU/Linux 9 Stretch w/Openbox

Acer Aspire E5-521G
AMD A8-6410 APU
4 GB RAM
integrated AMD Mullins
dedicated AMD Hainan Radeon R5 M240 2 GB
240 GB Toshiba Q300 SSD
Realtek RTL8111/8168/8411 ethernet
Qualcomm Atheros QCA9565 wireless

Post Reply