Compiling software with same options

Lanoxx lanoxx at gmx.net
Mon Jan 28 17:01:33 UTC 2013


On 27/01/13 17:33, Lanoxx wrote:
> When I tried to install it on my local system just now I was told this:
>
> dpkg: error processing libglib2.0-0:amd64 (--install):
>  package libglib2.0-0:amd64 2.34.1-1ubuntu2 cannot be configured 
> because libglib2.0-0:i386 is at a different version (2.34.1-1ubuntu1)
> dpkg: error processing libglib2.0-0:i386 (--install):
>  package libglib2.0-0:i386 2.34.1-1ubuntu1 cannot be configured 
> because libglib2.0-0:amd64 is at a different version (2.34.1-1ubuntu2)
> Errors were encountered while processing:
>  libglib2.0-0:amd64
>
> I guess I need to invest another hour and build the 32bit package as 
> well. I find it unbelievable that I need one hour of package building 
> to apply a fix that is a single line of code. Particulaly since 'make' 
> finishes the task in about a minute.
I was not able to convince sbuild to build both 32 and 64 bit packages. 
Now I have a broken package manager that does not let me install new 
packages anymore. Trying to downgrade the 64 to the version 1ubuntu1 
gives strange errors:

Preparing to replace libglib2.0-0:amd64 2.34.1-1ubuntu2 (using 
.../libglib2.0-0_2.34.1-1ubuntu1_amd64.deb) ...
Unpacking replacement libglib2.0-0:amd64 ...
dpkg: error processing 
/var/cache/apt/archives/libglib2.0-0_2.34.1-1ubuntu1_amd64.deb (--unpack):
  trying to overwrite shared 
'/usr/share/doc/libglib2.0-0/changelog.Debian.gz', which is different 
from other instances of package libglib2.0-0:amd64
Errors were encountered while processing:
  /var/cache/apt/archives/libglib2.0-0_2.34.1-1ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

How can I fix that and get back to a working state.

>
> Regards
> Lanoxx
>
> [1] http://wiki.debian.org/sbuild
>





More information about the Ubuntu-devel-discuss mailing list