Found a FIX for this issue here:
https://askubuntu.com/questions/976187/dpkg-error-message-with-libsane-while-installing-winehq-stable

~ Step-by-step Guide for the Fix (using Terminal commands) ~
1. Remove wine
sudo apt-add-repository --remove ppa:ubuntu-wine/ppa
sudo apt purge winehq-stable wine-mono wine-gecko winetricks 
sudo rm -rf /var/lib/apt/lists/*
sudo apt clean
sudo apt autoremove
sudo apt update

2. Install libsane1:i386
sudo apt-get -o Dpkg::Options::="--force-overwrite" install libsane1:i386
sudo dpkg --configure -a

3. Re-Install wine-staging
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 install --install-recommends winehq-stable
sudo apt-get install --install-recommends winehq-devel
sudo apt-get install --install-recommends winehq-staging
winecfg
sudo apt update

No error messages reported. Worked great.

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

Title:
  package libsane1 1.0.27-1~experimental2ubuntu2.1 failed to
  install/upgrade while installing winehq-staging: 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/1795330/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to