I was creating a package for Cronopete, and accidentally included the compiled gschemas.compiled file, instead of putting only the XML sources and let APT compile everything after installing the package.
Then I installed it in an Ubuntu 12.04 distro and worked fine, but when I tried to do the same in Elementary OS Luna, it returned that error.
After removing the ofending file from my package, all worked fine, but that's not the solution. The file gschemas.compiled, AFAIK, must be recompiled each time you add or remove a .gschema.xml file, because it contains all the schemas in your system.
I was creating a package for Cronopete, and accidentally included the compiled gschemas.compiled file, instead of putting only the XML sources and let APT compile everything after installing the package.
Then I installed it in an Ubuntu 12.04 distro and worked fine, but when I tried to do the same in Elementary OS Luna, it returned that error.
After removing the ofending file from my package, all worked fine, but that's not the solution. The file gschemas.compiled, AFAIK, must be recompiled each time you add or remove a .gschema.xml file, because it contains all the schemas in your system.