Public bug reported:

This occurred after installing Wine 3 using the instructions from
https://wiki.winehq.org/Ubuntu.

sudo dpkg --add-architecture i386 
wget -nc https://dl.winehq.org/wine-builds/Release.key
sudo apt-key add Release.key
sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install --install-recommends winehq-stable

$ lsb_release -rd
Description:    Ubuntu 17.10
Release:        17.10

$ apt-cache policy wine3.0
wine3.0:
  Installed: (none)
  Candidate: 1:3.1~a
  Version table:
     1:3.1~a 500
        500 http://ppa.launchpad.net/commendsarnex/winedri3/ubuntu artful/main 
amd64 Packages

bash ouput while installing wine:

$ sudo apt-get install --install-recommends winehq-stable
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  fonts-wine libwine libwine:i386 ocl-icd-libopencl1:i386 wine32:i386 wine64
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libcapi20-3 libcapi20-3:i386 libexif12:i386 libgd3:i386 libgphoto2-6:i386 
libgphoto2-port12:i386 libieee1284-3:i386 libsane1:i386 libusb-1.0-0:i386 
libv4l-0:i386
  libv4lconvert0:i386 libwebp6:i386 libxpm4:i386 wine-stable wine-stable-amd64 
wine-stable-i386:i386
Suggested packages:
  libgd-tools:i386 gphoto2:i386 hplip:i386
The following NEW packages will be installed:
  libcapi20-3 libcapi20-3:i386 libexif12:i386 libgd3:i386 libgphoto2-6:i386 
libgphoto2-port12:i386 libieee1284-3:i386 libsane1:i386 libusb-1.0-0:i386 
libv4l-0:i386
  libv4lconvert0:i386 libwebp6:i386 libxpm4:i386 wine-stable-amd64 
wine-stable-i386:i386 winehq-stable
The following packages will be upgraded:
  wine-stable
1 upgraded, 16 newly installed, 0 to remove and 24 not upgraded.
Need to get 45.9 MB of archives.
After this operation, 403 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://archive.ubuntu.com/ubuntu artful/main i386 libexif12 i386 
0.6.21-2.1 [76.3 kB]
Get:2 https://dl.winehq.org/wine-builds/ubuntu artful/main amd64 
wine-stable-amd64 amd64 3.0.0~artful [20.8 MB]
Get:3 http://archive.ubuntu.com/ubuntu artful/main i386 libwebp6 i386 0.6.0-3 
[193 kB]
Get:4 http://archive.ubuntu.com/ubuntu artful/main i386 libxpm4 i386 1:3.5.12-1 
[35.8 kB]
Get:5 http://archive.ubuntu.com/ubuntu artful/main i386 libgd3 i386 2.2.5-3 
[116 kB]
Get:6 http://archive.ubuntu.com/ubuntu artful/main i386 libusb-1.0-0 i386 
2:1.0.21-2 [46.7 kB]
Get:7 http://archive.ubuntu.com/ubuntu artful/main i386 libgphoto2-port12 i386 
2.5.14-1 [66.5 kB]
Get:8 http://archive.ubuntu.com/ubuntu artful/main i386 libgphoto2-6 i386 
2.5.14-1 [859 kB] 
Get:9 http://archive.ubuntu.com/ubuntu artful/main i386 libieee1284-3 i386 
0.2.11-13 [22.8 kB]
Get:10 http://archive.ubuntu.com/ubuntu artful-updates/main i386 libsane1 i386 
1.0.27-1~experimental2ubuntu2.1 [2,185 kB]
Get:11 http://archive.ubuntu.com/ubuntu artful/main i386 libv4lconvert0 i386 
1.12.5-1 [77.2 kB]
Get:12 http://archive.ubuntu.com/ubuntu artful/main i386 libv4l-0 i386 1.12.5-1 
[41.8 kB]
Get:13 http://archive.ubuntu.com/ubuntu artful/universe amd64 libcapi20-3 amd64 
1:3.27-2 [28.5 kB]
Get:14 http://archive.ubuntu.com/ubuntu artful/universe i386 libcapi20-3 i386 
1:3.27-2 [29.2 kB]
Get:15 https://dl.winehq.org/wine-builds/ubuntu artful/main i386 
wine-stable-i386 i386 3.0.0~artful [20.2 MB]                                    
                              
93% [15 wine-stable-i386:i386 19.5 MB/20.2 MB 96%]                              
                                                                                
    973 kB/s 1s^Get:16 https://dl.winehq.org/wine-builds/ubuntu artful/main 
amd64 wine-stable amd64 3.0.0~artful [1,113 kB]                                 
                                   
Get:17 https://dl.winehq.org/wine-builds/ubuntu artful/main amd64 winehq-stable 
amd64 3.0.0~artful [3,132 B]                                                    
               
Fetched 45.9 MB in 35s (1,283 kB/s)                                             
                                                                                
               
Selecting previously unselected package wine-stable-amd64.
(Reading database ... 300616 files and directories currently installed.)
Preparing to unpack .../00-wine-stable-amd64_3.0.0~artful_amd64.deb ...
Unpacking wine-stable-amd64 (3.0.0~artful) ...
Selecting previously unselected package libexif12:i386.
Preparing to unpack .../01-libexif12_0.6.21-2.1_i386.deb ...
Unpacking libexif12:i386 (0.6.21-2.1) ...
Selecting previously unselected package libwebp6:i386.
Preparing to unpack .../02-libwebp6_0.6.0-3_i386.deb ...
Unpacking libwebp6:i386 (0.6.0-3) ...
Selecting previously unselected package libxpm4:i386.
Preparing to unpack .../03-libxpm4_1%3a3.5.12-1_i386.deb ...
Unpacking libxpm4:i386 (1:3.5.12-1) ...
Selecting previously unselected package libgd3:i386.
Preparing to unpack .../04-libgd3_2.2.5-3_i386.deb ...
Unpacking libgd3:i386 (2.2.5-3) ...
Selecting previously unselected package libusb-1.0-0:i386.
Preparing to unpack .../05-libusb-1.0-0_2%3a1.0.21-2_i386.deb ...
Unpacking libusb-1.0-0:i386 (2:1.0.21-2) ...
Selecting previously unselected package libgphoto2-port12:i386.
Preparing to unpack .../06-libgphoto2-port12_2.5.14-1_i386.deb ...
Unpacking libgphoto2-port12:i386 (2.5.14-1) ...
Selecting previously unselected package libgphoto2-6:i386.
Preparing to unpack .../07-libgphoto2-6_2.5.14-1_i386.deb ...
Unpacking libgphoto2-6:i386 (2.5.14-1) ...
Selecting previously unselected package wine-stable-i386:i386.
Preparing to unpack .../08-wine-stable-i386_3.0.0~artful_i386.deb ...
Unpacking wine-stable-i386:i386 (3.0.0~artful) ...
Preparing to unpack .../09-wine-stable_3.0.0~artful_amd64.deb ...
Unpacking wine-stable (3.0.0~artful) over (2.0.2-2ubuntu1) ...
Selecting previously unselected package libieee1284-3:i386.
Preparing to unpack .../10-libieee1284-3_0.2.11-13_i386.deb ...
Unpacking libieee1284-3:i386 (0.2.11-13) ...
Selecting previously unselected package libsane1:i386.
Preparing to unpack .../11-libsane1_1.0.27-1~experimental2ubuntu2.1_i386.deb ...
Unpacking libsane1:i386 (1.0.27-1~experimental2ubuntu2.1) ...
dpkg: error processing archive 
/tmp/apt-dpkg-install-bi0tJk/11-libsane1_1.0.27-1~experimental2ubuntu2.1_i386.deb
 (--unpack):
 trying to overwrite shared '/lib/udev/hwdb.d/20-sane.hwdb', which is different 
from other instances of package libsane1:i386
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Selecting previously unselected package libv4lconvert0:i386.
Preparing to unpack .../12-libv4lconvert0_1.12.5-1_i386.deb ...
Unpacking libv4lconvert0:i386 (1.12.5-1) ...
Selecting previously unselected package libv4l-0:i386.
Preparing to unpack .../13-libv4l-0_1.12.5-1_i386.deb ...
Unpacking libv4l-0:i386 (1.12.5-1) ...
Selecting previously unselected package winehq-stable.
Preparing to unpack .../14-winehq-stable_3.0.0~artful_amd64.deb ...
Unpacking winehq-stable (3.0.0~artful) ...
Selecting previously unselected package libcapi20-3:amd64.
Preparing to unpack .../15-libcapi20-3_1%3a3.27-2_amd64.deb ...
Unpacking libcapi20-3:amd64 (1:3.27-2) ...
Selecting previously unselected package libcapi20-3:i386.
Preparing to unpack .../16-libcapi20-3_1%3a3.27-2_i386.deb ...
Unpacking libcapi20-3:i386 (1:3.27-2) ...
Errors were encountered while processing:
 
/tmp/apt-dpkg-install-bi0tJk/11-libsane1_1.0.27-1~experimental2ubuntu2.1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 17.10
Package: libsane1 1.0.27-1~experimental2ubuntu2.1
ProcVersionSignature: Ubuntu 4.13.0-32.35-generic 4.13.13
Uname: Linux 4.13.0-32-generic x86_64
ApportVersion: 2.20.7-0ubuntu3.7
Architecture: amd64
Date: Mon Feb 12 13:24:36 2018
DuplicateSignature:
 package:libsane1:1.0.27-1~experimental2ubuntu2.1
 Unpacking libsane1:i386 (1.0.27-1~experimental2ubuntu2.1) ...
 dpkg: error processing archive 
/tmp/apt-dpkg-install-bi0tJk/11-libsane1_1.0.27-1~experimental2ubuntu2.1_i386.deb
 (--unpack):
  trying to overwrite shared '/lib/udev/hwdb.d/20-sane.hwdb', which is 
different from other instances of package libsane1:i386
ErrorMessage: trying to overwrite shared '/lib/udev/hwdb.d/20-sane.hwdb', which 
is different from other instances of package libsane1:i386
InstallationDate: Installed on 2017-03-23 (325 days ago)
InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2)
Python3Details: /usr/bin/python3.6, Python 3.6.3, python3-minimal, 
3.6.3-0ubuntu2
PythonDetails: /usr/bin/python2.7, Python 2.7.14, python-minimal, 
2.7.14-2ubuntu1
RelatedPackageVersions:
 dpkg 1.18.24ubuntu1
 apt  1.5.1
SourcePackage: sane-backends
Title: package libsane1 1.0.27-1~experimental2ubuntu2.1 failed to 
install/upgrade: trying to overwrite shared '/lib/udev/hwdb.d/20-sane.hwdb', 
which is different from other instances of package libsane1:i386
UpgradeStatus: Upgraded to artful on 2017-12-04 (69 days ago)

** Affects: sane-backends (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package artful package-conflict

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1748835

Title:
  package libsane1 1.0.27-1~experimental2ubuntu2.1 failed to
  install/upgrade: trying to overwrite shared
  '/lib/udev/hwdb.d/20-sane.hwdb', which is different from other
  instances of package libsane1:i386

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1748835/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to