"sudo apt-get install --reinstall libsane:i386" Did not fix for me on 16.04. Received same error in terminal after running
Unpacking libsane:i386 (1.0.25+git20150528-1ubuntu2) ... dpkg: error processing archive /var/cache/apt/archives/libsane_1.0.25+git20150528-1ubuntu2_i386.deb (--unpack): trying to overwrite shared '/lib/udev/rules.d/40-libsane.rules', which is different from other instances of package libsane:i386 Errors were encountered while processing: /var/cache/apt/archives/libsane_1.0.25+git20150528-1ubuntu2_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1533780 Title: package libsane 1.0.25+git20150528-1ubuntu2 [modified: lib/udev/rules.d/40-libsane.rules] failed to install/upgrade: trying to overwrite shared '/lib/udev/rules.d/40-libsane.rules', which is different from other instances of package libsane:i386 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1533780/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs