Error installing winehq-stable. Ubuntu 18.04

Questions about Wine on Linux
Locked
nik_11
Newbie
Newbie
Posts: 1
Joined: Sun Feb 09, 2020 1:16 pm

Error installing winehq-stable. Ubuntu 18.04

Post by nik_11 »

Installation according to instructions https://wiki.winehq.org/Ubuntu.
After sudo apt install --install-recommends winehq-stable ~ 50% progress get an error:
Errors occurred while processing the following packages:
/tmp/apt-dpkg-install-JdpUJE/106-libsane1_1.0.27-1~experimental3ubuntu2.2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Linux 5.3.0-28-generic #30~18.04.1-Ubuntu SMP Fri Jan 17 06:14:09 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

What am I doing wrong?
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: Error installing winehq-stable. Ubuntu 18.04

Post by jkfloris »

As the error indicates, there is a problem with installing libsane1.
This is not a package from Wine, so you will have to ask on a Ubuntu forum why you can't install this package.

A few tips that might help:
- check the log files for what went wrong. /var/log/dpkg.log, /var/log/apt/history.log and /var/log/apt/term.log
- An older version of libsane1 has a bug which prevents installing the 32 and 64 bit packages at the same time.
https://bugs.launchpad.net/ubuntu/+sour ... ug/1771068
Locked