The error is:
Code: Select all
Errors were encountered while processing:
/tmp/apt-dpkg-install-1mLFIQ/086-wine-stable-i386_3.0.2~bionic_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Code: Select all
$ lsb_release -a
No LSB modules are available.
Distributor ID: LinuxMint
Description: Linux Mint 19 Tara
Release: 19
Codename: tara
Code: Select all
$ uname -a
Linux lauren-HP-Compaq-6830s 4.15.0-24-generic #26-Ubuntu SMP Wed Jun 13 08:44:47 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Code: Select all
$ sudo dpkg --add-architecture i386
Code: Select all
$ wget -nc https://dl.winehq.org/wine-builds/Release.key
--2018-07-17 14:02:15-- https://dl.winehq.org/wine-builds/Release.key
Resolving dl.winehq.org (dl.winehq.org)... 151.101.32.69
Connecting to dl.winehq.org (dl.winehq.org)|151.101.32.69|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3122 (3.0K) [application/pgp-keys]
Saving to: ‘Release.key’
Release.key 100%[===================>] 3.05K --.-KB/s in 0s
2018-07-17 14:02:15 (17.4 MB/s) - ‘Release.key’ saved [3122/3122]
$ sudo apt-key add Release.key
OK
$ sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
Code: Select all
$ sudo apt-get update
Hit:1 http://ppa.launchpad.net/morphis/anbox-support/ubuntu bionic InRelease
Hit:2 http://archive.linux.duke.edu/ubuntu bionic InRelease
Get:3 http://security.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB]
Hit:4 http://archive.canonical.com/ubuntu bionic InRelease
Hit:5 http://archive.linux.duke.edu/ubuntu bionic-updates InRelease
Get:6 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease [4,677 B]
Ign:7 http://mirrors.advancedhosters.com/linuxmint/packages tara InRelease
Hit:8 http://mirrors.advancedhosters.com/linuxmint/packages tara Release
Hit:9 http://archive.linux.duke.edu/ubuntu bionic-backports InRelease
Hit:10 http://linux.teamviewer.com/deb stable InRelease
Hit:11 http://linux.teamviewer.com/deb preview InRelease
Get:12 https://dl.winehq.org/wine-builds/ubuntu bionic/main amd64 Packages [5,860 B]
Get:13 https://dl.winehq.org/wine-builds/ubuntu bionic/main i386 Packages [5,820 B]
Fetched 99.6 kB in 2s (41.2 kB/s)
Reading package lists... Done
Code: Select all
$ sudo apt-get install --install-recommends winehq-stable
Code: Select all
$ sudo apt-get update
Ign:1 http://mirrors.advancedhosters.com/linuxmint/packages tara InRelease
Hit:2 http://archive.linux.duke.edu/ubuntu bionic InRelease
Hit:3 http://mirrors.advancedhosters.com/linuxmint/packages tara Release
Get:4 http://security.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB]
Hit:5 http://archive.canonical.com/ubuntu bionic InRelease
Hit:6 http://ppa.launchpad.net/morphis/anbox-support/ubuntu bionic InRelease
Hit:7 http://archive.linux.duke.edu/ubuntu bionic-updates InRelease
Hit:8 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease
Hit:9 http://archive.linux.duke.edu/ubuntu bionic-backports InRelease
Hit:10 http://linux.teamviewer.com/deb stable InRelease
Hit:11 http://linux.teamviewer.com/deb preview InRelease
Fetched 83.2 kB in 2s (35.9 kB/s)
Reading package lists... Done
Code: Select all
$ sudo apt-get install --install-recommends winehq-stable
Reading package lists... Done
Building dependency tree
Reading state information... Done
winehq-stable is already the newest version (3.0.2~bionic).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
wine-stable : Depends: wine-stable-i386 (= 3.0.2~bionic)
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Code: Select all
$ apt --fix-broken install
apt
Usage: apt command [options]
apt help command [options]
Commands:
add-repository - Add entries to apt sources.list
autoclean - Erase old downloaded archive files
autoremove - Remove automatically all unused packages
build - Build binary or source packages from sources
build-dep - Configure build-dependencies for source packages
changelog - View a package's changelog
check - Verify that there are no broken dependencies
clean - Erase downloaded archive files
contains - List packages containing a file
content - List files contained in a package
deb - Install a .deb package
depends - Show raw dependency information for a package
dist-upgrade - Upgrade the system by removing/installing/upgrading packages
download - Download the .deb file for a package
edit-sources - Edit /etc/apt/sources.list with your preferred text editor
dselect-upgrade - Follow dselect selections
full-upgrade - Same as 'dist-upgrade'
held - List all held packages
help - Show help for a command
hold - Hold a package
install - Install/upgrade packages
list - List packages based on package names
policy - Show policy settings
purge - Remove packages and their configuration files
recommends - List missing recommended packages for a particular package
rdepends - Show reverse dependency information for a package
reinstall - Download and (possibly) reinstall a currently installed package
remove - Remove packages
search - Search for a package by name and/or expression
show - Display detailed information about a package
showhold - Same as 'held'
source - Download source archives
sources - Same as 'edit-sources'
unhold - Unhold a package
update - Download lists of new/upgradable packages
upgrade - Perform a safe upgrade
version - Show the installed version of a package
Code: Select all
$ sudo apt-get install wine-stable-i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
wine-stable-i386:i386
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
153 not fully installed or removed.
Need to get 0 B/20.3 MB of archives.
After this operation, 184 MB of additional disk space will be used.
(Reading database ... 313970 files and directories currently installed.)
Preparing to unpack .../wine-stable-i386_3.0.2~bionic_i386.deb ...
Unpacking wine-stable-i386:i386 (3.0.2~bionic) ...
dpkg: error processing archive /var/cache/apt/archives/wine-stable-i386_3.0.2~bionic_i386.deb (--unpack):
unable to open '/opt/wine-stable/lib/wine/ieframe.dll.so.dpkg-new': Operation not permitted
Errors were encountered while processing:
/var/cache/apt/archives/wine-stable-i386_3.0.2~bionic_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Thx
Gary
p.s. Went to software manager and it shows Wine-stable, Wine-stable-amd64 and Winehq-stable as installed, but no menus appear for wine at all from the menu.
Also before attempting to install winehq-stable, sudo apt update and sudo apt upgrade had been run, so system was up to date...