I have ClutterGdk, how to install ClutterGtk? - gtk

I'm curious about ClutterGtk, and want to see if GtkClutterEmbed could fit in my current task. But I have ClutterGdk in GI repository, and sudo apt-get install clutter-gtk isn't going to work.
I've found some resource around, but before trying them, I'd like to know if I'm missing the proper way to install.
edit
after suggestion by #jku, I tried
$ sudo apt-get install libclutter-gtk-1.0-0
but I get
...
libclutter-gtk-1.0-0 is already the newest version
so, since I cannot spot the related typelib in /usr/lib/girepository-1.0, what's going on ? Should I attempt to build the typelib by myself ?

The typelib files for GObject introspection on Debian are in the gir1.2-* packages.
Clutter-GTK's typelib file is provided by the gir1.2-gtkclutter-1.0 package.

Related

centos: error named no module lnamed “_repo” came out in

when I use yum to install a package in centos, the error No module named '_repo' came out, what should I do to fix it?
thank you
well, there is not much info in the question. but still, I will try to provide you some tricks and solution,
first, find which package provides '_repo'
yum whatprovides _repo
install the dependency first (here it is _repo)
yum install _repo
if yum throws an error, use following command to rebuild the yum cache,
yum clean all
yum makecache fast
and then try 1 and 2 points again.

error with yum update

I'm trying to do yum update on my centos 7 server but i'm getting the following error:
Error: Multilib version problems found. This often means that the root
cause is something else and multilib version checking is just
pointing out that there is a problem. Eg.:
1. You have an upgrade for grub2-tools which is missing some
dependency that another package requires. Yum is trying to
solve this by installing an older version of grub2-tools of the
different architecture. If you exclude the bad architecture
yum will tell you what the root cause is (which package
requires what). You can try redoing the upgrade with
--exclude grub2-tools.otherarch ... this should give you an error
message showing the root cause of the problem.
2. You have multiple architectures of grub2-tools installed, but
yum can only see an upgrade for one of those architectures.
If you don't want/need both architectures anymore then you
can remove the one with the missing update and everything
will work.
3. You have duplicate versions of grub2-tools installed already.
You can use "yum check" to get yum show these errors.
...you can also use --setopt=protected_multilib=false to remove
this checking, however this is almost never the correct thing to
do as something else is very likely to go wrong (often causing
much more problems).
Protected multilib versions: 1:grub2-tools-2.02-0.64.el7.centos.x86_64 != 1:grub2-tools-2.02-0.44.el7.centos.x86_64
Can someone help me solve this?
I encountered the same problem, due to abnormal stop of yum update process.
I solve by removing grub2-tools and then re-install it, skipping the multilib check.
Specifically here's what I did:
[CAUTION! Use at your own risk ]
yum remove grub2-tools
yum install grub2 --setopt=protected_multilib=false
yum clean all
yum update
I manually download a higher version of grub2-tools (the 2.02-0.64) from
https://www.rpmfind.net/linux/rpm2html/search.php?query=grub2-tools&submit=Search+...&system=&arch=
And then I've manually installed it
rpm -ivh grub2-tools-2.02-0.64.el7.centos.x86_64.rpm
The process failed by dependencies, as it needed grub2-common at least same version (2.02-0.64), so I manually download also, and manually install bot
rpm -ivh grub2-common-2.02-0.64.el7.centos.noarch.rpm
rpm -ivh grub2-tools-2.02-0.64.el7.centos.x86_64.rpm
So the problem seems resolved.

Is it possible to unistall the dependency package but not the actual package?

Use case:
package A
Requires: package B ( B doesn't require A)
$ yum remove package B
will remove package A too
Is there any way to avoid uninstalling package A,modifying somehow the spec file?
yum and dnf sit on top of rpm as an interface. You can force rpm directly to erase the RPM.
However, it is probably not the right thing to do and can easily lead you to headaches down the road, unless you very specifically know what you are doing and why.
From comments I assume you know what you are doing:
rpm -e --nodeps <pkg>
Other readers: please handle this carefuly as you may shot yourself in your own leg.

libv41-dev package can't be located for installation

I am trying to stream jpgs using Motion JPEG streamer. I need to install package libv41-dev as a required library and when I install sudo apt-get install libv41-dev, I get Unable to locate package libv41-dev error. Why can't locate that package? I searched in google for that libv41-dev, not much information has come out. That library is required for linux/videodev.h file. Thanks
The library is libv4l-dev. You can install using the command
sudo apt-get install libv4l-dev
Make sure it’s not libv41 it’s libv4l ( letter l )

rpmlib needed by Epel-Release

I currently have a problem with rpmlib(fileDigest) and (PayloadIsXz) I've searched on Google and other websites, including SO without luck (that worked). This is basically what I do:
wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-7.noarch.rpm
rpm -ivh epel-release-6-7.noarch.rpm
And this is what it spits out:
[root#XXX ~]# rpm -ivh epel-release-6-7.noarch.rpm
warning: epel-release-6-7.noarch.rpm: Header V3 RSA/SHA256 signature:
NOKEY, key ID 0608b895 error: Failed dependencies:
rpmlib(FileDigests) <= 4.6.0-1 is needed by epel-release-6-7.noarch
rpmlib(PayloadIsXz) <= 5.2-1 is needed by epel-release-6-7.noarch
I've searched on Google for those two, but it didn't quite help.
Note: uname -m gives "i686" if that's any help.
As well as I run CentOS 6.3
I know it may seem super silly but try:
yum upgrade
and run the installation again
and instead of using rpm, try a yum:
yum localinstall /path/to/your/rpm/epel-release-6-7.noarch.rpm
Yum will try to automatically resolve dependencies, where rpm wont. not 100% sure that will fix it, but definitely something to try :)