Compiling software with same options
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:
> 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
Unpacking replacement libglib2.0-0:amd64 ...
dpkg: error processing
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:
E: Sub-process /usr/bin/dpkg returned an error code (1)
How can I fix that and get back to a working state.
>  http://wiki.debian.org/sbuild
More information about the Ubuntu-devel-discuss