我该如何重新安装 wine?

我该如何重新安装 wine?

在我的 ubuntu 17.10 全新安装中,我尝试安装 wine staging。结果出现错误,原本应该运行良好的应用程序完全无法运行。如何重新安装 wine 到稳定版本?我试过了

wine apt-get --remove purge wine

sudo apt-get --remove purge winehq-staging

进而

sudo apt install winehq-stable

到目前为止什么都没起作用。看来我无法先移除 wine。

编辑。错误:

pkg: error processing archive /tmp/apt-dpkg-install-s9gNMn/39-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

Errors were encountered while processing:
 /tmp/apt-dpkg-install-s9gNMn/39-libsane1_1.0.27-1~experimental2ubuntu2.1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

相关内容