Bug#714993: 60-libsane.rules differs between architectures in M-A: same package
Trying to install libsane for both amd64 and i386 results in this error:
# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
libsane libsane:i386 libsane-common
3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/4673 kB of archives.
After this operation, 1397 kB of additional disk space will be used.
Do you want to continue [Y/n]?
(Reading database ... 341007 files and directories currently installed.)
Preparing to replace libsane:i386 1.0.22-7.4 (using .../libsane_1.0.23-1_i386.deb) ...
De-configuring libsane:amd64 ...
Unpacking replacement libsane:i386 ...
Preparing to replace libsane:amd64 1.0.22-7.4 (using .../libsane_1.0.23-1_amd64.deb) ...
Unpacking replacement libsane:amd64 ...
dpkg: error processing /var/cache/apt/archives/libsane_1.0.23-1_amd64.deb (--unpack):
trying to overwrite shared '/lib/udev/rules.d/60-libsane.rules', which is different from other instances of package libsane:amd64
Preparing to replace libsane-common 1.0.22-7.4 (using .../libsane-common_1.0.23-1_amd64.deb) ...
Unpacking replacement libsane-common ...
Processing triggers for man-db ...
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
The previous version (1.0.22-7.4) was okay.