shotwell package has a precompiled gschemas.compiled file

Bug #1067031 reported by Sergio Costas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Shotwell
New
Undecided
Unassigned

Bug Description

I tried to install a package that accidentally contained a precompiled gschemas.compiled file, and received an error telling that it was trying to overwrite the same file from shotwell-0.13.1-1~precise1

Neither shotwell 0.12.3-0ubuntu0.1 for i386, nor shotwell 0.12.2-0ubuntu2 for amd64, have this bug.

Cody Garver (codygarver)
affects: elementaryos → shotwell
Revision history for this message
Jim Nelson (yorba-jim) wrote :

Which package were you trying to install?

Revision history for this message
Sergio Costas (rastersoft-gmail) wrote :

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.

Revision history for this message
Jim Nelson (yorba-jim) wrote :

I believe that's correct, and I believe Shotwell does that at install time. So I'm not sure I understand what bug there is in Shotwell.

Revision history for this message
Sergio Costas (rastersoft-gmail) wrote :

The bug is not in shotwell itself, but in the .deb package shotwell_0.13.1-1~precise1_i386.deb. To be sure, I uncompressed the .deb file with AR, then uncompressed the file data.tar.gz, and there was the file "gschemas.compiled".

Revision history for this message
Jim Nelson (yorba-jim) wrote :

Which PPA are you getting Shotwell from? Is it Yorba's or Elementary's? You can check by looking in your Software Sources.

Revision history for this message
Jim Nelson (yorba-jim) wrote :

Ah-ha -- never mind, we see the problem now. It's in our own packaging. The reason this hasn't affected more people is that even though we install the bogus gschema.compiled file, Shotwell's install script regens the file at the end of the build process.

This will be fixed in our next release: http://redmine.yorba.org/issues/6016

Revision history for this message
Sergio Costas (rastersoft-gmail) wrote : Re: [Bug 1067031] Re: shotwell package has a precompiled gschemas.compiled file

I have Yorba's repository. I removed it from sources.list.d, removed
shotwell, made an update and install shotwell again, and that version
(0.12.3) is fine.

Ok, just read your new message now. I was installing Luna in a virtual
machine from scratch to check if Yorba's repo was being added by
default, or if I added it. And yes, it install Yorba's repository (I
used elementaryos-unstable-amd64.20121006.iso )

Thanks.

El 23/10/12 00:25, Jim Nelson escribió:
> Which PPA are you getting Shotwell from? Is it Yorba's or Elementary's?
> You can check by looking in your Software Sources.
>

--
Nos leemos
           RASTER (Linux user #228804)
<email address hidden> http://www.rastersoft.com

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.