0

I want to start knowing kcachegrind for profiling my php stuff.

Tried with

sudo apt-get install kcachegrind

and

sudo apt-get -f install kcachegrind  

but I always get

The following packages have unmet dependencies:
    kcachegrind : Depends: kde-runtime but it is not going to be installed

Am I missing something?

Many thanks.

ilpaijin
  • 3,645
  • 2
  • 23
  • 26
  • So, what happens if you try to install kde-runtime? – arkascha Apr 12 '14 at 10:53
  • requires another dep, then another, then another... – ilpaijin Apr 12 '14 at 11:04
  • Is there a way to install every deps in one command/flag? – ilpaijin Apr 12 '14 at 11:05
  • That should be done automatically. This is strange. Can't say more, since I do not use a debian based distribution but openSUSE, which is rpm based instead. – arkascha Apr 12 '14 at 11:14
  • I'd expect `apt-get install` to list all packages it plans to install. Idn't that the case? If so just specify all of those on the command line. It should tell you which one does not have a satisfied dependency or requirement. I still remember those times when people claimed that apt was so much better than rpm/zypper because of resolving much better. These days I hear endless problems in that point with apt. Maybe it has fallen behind... – arkascha Apr 12 '14 at 11:15
  • I'd recommend to look for a gnome like substitute for kcachegrind or setup a KDE based distro in a virtual machine (kubuntu, for example). It seems that the kcachegrind package will require a lot of underlying kde-libraries. On your original question, the dependency resolver in apt detects some problem with kde-runtime and kcachegrind, maybe different versions. Are you installing both from the same source repository? – TeTeT Apr 12 '14 at 12:10
  • Yes, I definitively moved to Hxprof. Works like a charm. – ilpaijin Apr 12 '14 at 16:58
  • 1
    There's also this trouble-shooting guide to `apt-get`: http://askubuntu.com/questions/140246/how-do-i-resolve-unmet-dependencies (I'm using kcachegrind on ubuntu 12.04 fwiw) – Tom Stephens Apr 13 '14 at 22:09

0 Answers0