* Santiago Vila <sanv...@unex.es>, 2011-11-03, 18:38:
With the advent of multi-arch, such behavior has become a problem. If a package is marked as "Multi-Arch: same" all the files (including *.mo) have to be identical across all architectures.

Hmm, why do they have to be identical?

It is not enough that both types of systems (big and little endian) are able to read and use both types of .mo files, as it seems to be the case?

If .mo files are useable everywhere, regardless of their endianess, I would say that the multi-arch requirement is not reasonable.

"Multi-Arch: same" makes it possible for users to install a package for more than one architecture at the same time. If files with same name are not identical across architectures, package manager has to resolve the conflict somehow, and it does it by simply aborting the installation, e.g. like that:
| # apt-get install -qq libavahi-common-data:powerpc
| (Reading database ... 59644 files and directories currently installed.)
| Unpacking libavahi-common-data:powerpc (from 
.../libavahi-common-data_0.6.30-5_powerpc.deb) ...
| dpkg: error processing 
/var/cache/apt/archives/libavahi-common-data_0.6.30-5_powerpc.deb (--unpack):
|  './usr/share/locale/he/LC_MESSAGES/avahi.mo' is different from the same file 
on the system
| configured to not write apport reports
|                                       dpkg-deb: error: subprocess paste was 
killed by signal (Broken pipe)
| Errors were encountered while processing:
|  /var/cache/apt/archives/libavahi-common-data_0.6.30-5_powerpc.deb
| E: Sub-process /usr/bin/dpkg returned an error code (1)

Does it make things clear?

Note that the problem would affect only tiny minority of packages: "Multi-Arch: same" is useful mainly for shared libraries and they rarely come with translations.

--
Jakub Wilk



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to