Package not getting installed by apt-get

Posted on

Problem :

I am running sudo apt-get install libgtkmm-2.4. I would expect this command to install the library, as there is no such library to be found when running pkg-config --list-all | grep gtkmm. However, when the install command is run, I get the following output:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'libgtkmm-2.4-1c2a' for regex 'libgtkmm-2.4'
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded

I then run the commands rpm -ql libgtkmm, rpm -ql libgtkmm-2.4 and rpm -ql libgtkmm-2.4-1c2a, all of which say package &name& is not intalled.

Any explanation as to why it is not installing, or any tips on getting it installed? Thanks!

I have tried other avenues, and I am running into an issue where another way of installing is asking for atk, which has the exact same problems as outlined above, but for atk instead of gtk.

Solution :

Don’t use the RPM package tools if the system used the Debian deb packages. If you’re installing with apt-get and not yum, then you need to use dpkg to check the packages instead of rpm.

To show the files in an installed package, use dpkg -L packagename. In your case use dpkg -L libgtkmm-2.4-1c2a as libgtkmm-2.4 doesn’t exist.

Leave a Reply

Your email address will not be published. Required fields are marked *