Wine installation problem

yes, please tell me which ones to be removed

I also found those. Maybe they are helpful in finding the problem.

sandipan@sandipan-Inspiron-15-3567:~$ apt-cache depends winehq-stable | grep Depends
Depends: wine-stable
sandipan@sandipan-Inspiron-15-3567:~$ apt-cache depends wine-stable | grep Depends
PreDepends: dpkg
|Depends: debconf
Depends: <debconf-2.0>
Depends: libc6
Depends:
Depends: wine-stable-amd64

now what is the meaning of those
example: <debconf-2.0>

sandipan@sandipan-Inspiron-15-3567:~$ sudo apt-get install debconf-2.0
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package debconf-2.0 is a virtual package provided by:
debconf 1.5.66ubuntu1
cdebconf 0.213ubuntu1
You should explicitly select one to install.

E: Package 'debconf-2.0' has no installation candidate

The WineHQ Repository near the top - there is only one.

Please remove the repository.
Then in your Home Folder, look for a hidden directory titled WINE. ~/.wine (You can reveal hidden directories and files by hitting the ctrl+h keyboard shortcut.)
Then in terminal run:

sudo apt remove --purge wine

sudo apt install zorin-windows-app-support

If that works... Then run

sudo apt install winetricks playonlinux

1 Like

I removed the ppa and run the purge command which returned this

sandipan@sandipan-Inspiron-15-3567:~$ sudo apt remove --purge wine
[sudo] password for sandipan:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Virtual packages like 'wine' can't be removed
0 upgraded, 0 newly installed, 0 to remove and 13 not upgraded.

Then I also tried to run the 2nd command which returned this

sandipan@sandipan-Inspiron-15-3567:~$ sudo apt install zorin-windows-app-supportReading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
zorin-windows-app-support : Depends: winehq-stable but it is not going to be installed
Recommends: playonlinux but it is not going to be installed
Recommends: winetricks but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

I ran the apt-mark showhold command to check for broken packages or held packages which returned nothing

sandipan@sandipan-Inspiron-15-3567:~$ apt-mark showhold
sandipan@sandipan-Inspiron-15-3567:~$

Thanks for your support. Please tell me what to do next.

what does

apt list -u

show? It seems you have packages need upgrading... Is that just Firefox wanting its language packs?

In terminal, please run

sudo apt remove ^wine

and relay the output here

1 Like

This is the output. Oh yeah, it was a firefox update
sandipan@sandipan-Inspiron-15-3567:~$ sudo apt remove ^wine
[sudo] password for sandipan:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'winetricks' for regex '^wine'
Note, selecting 'wine1.9-amd64' for regex '^wine'
Note, selecting 'winefish' for regex '^wine'
Note, selecting 'wine-binfmt' for regex '^wine'
Note, selecting 'wine32-preloader:i386' for regex '^wine'
Note, selecting 'wine32-development-tools' for regex '^wine'
Note, selecting 'wine64-development' for regex '^wine'
Note, selecting 'wine-stable-dbg' for regex '^wine'
Note, selecting 'wine-stable-dev' for regex '^wine'
Note, selecting 'wine1.9-i386:i386' for regex '^wine'
Note, selecting 'wine1.4-amd64' for regex '^wine'
Note, selecting 'wine64-preloader' for regex '^wine'
Note, selecting 'wine1.8-dev' for regex '^wine'
Note, selecting 'wine64-development-tools' for regex '^wine'
Note, selecting 'wine1.6-dev' for regex '^wine'
Note, selecting 'wine1.8-i386:i386' for regex '^wine'
Note, selecting 'wine1.0' for regex '^wine'
Note, selecting 'wine1.2' for regex '^wine'
Note, selecting 'wine1.3' for regex '^wine'
Note, selecting 'wine1.4' for regex '^wine'
Note, selecting 'wine1.5' for regex '^wine'
Note, selecting 'wine1.6' for regex '^wine'
Note, selecting 'wine1.7' for regex '^wine'
Note, selecting 'wine1.8' for regex '^wine'
Note, selecting 'wine1.9' for regex '^wine'
Note, selecting 'wine1.5-amd64' for regex '^wine'
Note, selecting 'wine2.0' for regex '^wine'
Note, selecting 'wine32-development' for regex '^wine'
Note, selecting 'wine1.4-dev' for regex '^wine'
Note, selecting 'wine-dev' for regex '^wine'
Note, selecting 'wine1.7-i386' for regex '^wine'
Note, selecting 'wine1.6-amd64' for regex '^wine'
Note, selecting 'wine-development' for regex '^wine'
Note, selecting 'wine32-tools' for regex '^wine'
Note, selecting 'wine1.6-i386' for regex '^wine'
Note, selecting 'wine-stable' for regex '^wine'
Note, selecting 'wine32' for regex '^wine'
Note, selecting 'wine64' for regex '^wine'
Note, selecting 'wine1.5-i386' for regex '^wine'
Note, selecting 'winehq-stable' for regex '^wine'
Note, selecting 'wine-i386' for regex '^wine'
Note, selecting 'wine1.4-i386' for regex '^wine'
Note, selecting 'wine64-development-preloader' for regex '^wine'
Note, selecting 'wine-stable-i386' for regex '^wine'
Note, selecting 'wine1.7-amd64' for regex '^wine'
Note, selecting 'wine' for regex '^wine'
Note, selecting 'wine1.9-dev' for regex '^wine'
Note, selecting 'wine-stable-amd64' for regex '^wine'
Note, selecting 'wine-amd64' for regex '^wine'
Note, selecting 'wine1.7-dev' for regex '^wine'
Note, selecting 'wine1.5-dev' for regex '^wine'
Note, selecting 'wine64-tools' for regex '^wine'
Note, selecting 'wine1.8-amd64' for regex '^wine'
Note, selecting 'wine32-development-preloader:i386' for regex '^wine'
Note, selecting 'wine32-tools:i386' instead of 'wine32-tools'
Note, selecting 'wine32-development-tools:i386' instead of 'wine32-development-tools'
Note, selecting 'wine1.6' instead of 'wine1.8'
Package 'wine1.9' is not installed, so not removed
Package 'wine2.0' is not installed, so not removed
Note, selecting 'wine32-development:i386' instead of 'wine32-development'
Package 'wine1.0' is not installed, so not removed
Package 'wine1.2' is not installed, so not removed
Package 'wine1.3' is not installed, so not removed
Note, selecting 'winehq-stable' instead of 'wine1.5'
Note, selecting 'wine1.6-amd64' instead of 'wine1.8-amd64'
Package 'wine1.9-amd64' is not installed, so not removed
Note, selecting 'wine1.6-dev' instead of 'wine-dev'
Note, selecting 'wine1.6-dev' instead of 'wine1.4-dev'
Package 'wine1.5-dev' is not installed, so not removed
Note, selecting 'wine1.6-dev' instead of 'wine1.7-dev'
Note, selecting 'wine1.6-dev' instead of 'wine1.8-dev'
Package 'wine1.9-dev' is not installed, so not removed
Note, selecting 'wine1.6-i386:i386' instead of 'wine1.8-i386:i386'
Package 'wine1.9-i386:i386' is not installed, so not removed
Note, selecting 'wine-stable-i386:i386' instead of 'wine-stable-i386'
Package 'wine-binfmt' is not installed, so not removed
Package 'wine1.6' is not installed, so not removed
Package 'wine1.6-amd64' is not installed, so not removed
Package 'wine1.6-dev' is not installed, so not removed
Package 'wine64-development-preloader' is not installed, so not removed
Package 'wine64-development-tools' is not installed, so not removed
Package 'wine64-preloader' is not installed, so not removed
Package 'wine64-tools' is not installed, so not removed
Package 'winefish' is not installed, so not removed
Package 'wine32-development-preloader:i386' is not installed, so not removed
Package 'wine32-preloader:i386' is not installed, so not removed
Package 'wine-stable' is not installed, so not removed
Package 'wine-stable-dbg' is not installed, so not removed
Package 'wine-stable-dev' is not installed, so not removed
Package 'winehq-stable' is not installed, so not removed
The following packages were automatically installed and are no longer required:
fonts-wine icoutils libcapi20-3 libwine libwine-development
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
playonlinux wine-development wine-stable-amd64 wine64 wine64-development
winetricks
0 upgraded, 0 newly installed, 6 to remove and 0 not upgraded.
After this operation, 529 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 437728 files and directories currently installed.)
Removing playonlinux (4.3.4-1+zorin1) ...
Removing winetricks (0.0+20180217-1) ...
Removing wine-development (3.6-1) ...
Removing wine-stable-amd64 (6.0.1~bionic-1) ...
Removing wine64 (3.0-1ubuntu1) ...
Removing wine64-development (3.6-1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2+zorin1) ...
Processing triggers for libc-bin (2.28-0ubuntu1+zorin4) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for mime-support (3.60ubuntu1) ...

Ok, please run sudo apt autoremove, then install:

sudo dpkg --add-architecture i386

sudo apt update && sudo apt install wine64 wine32

Edit: Please note the ZorinGroup response in the following thread:

1 Like

Thank you for your help. I would try the same and update you about the results

It returned unmet dependency
Wine32:i386 depends libc6:i386(>=2.17) and libwine:i386(=3.0-1lubuntu)
Recommends : wine-stable:i386

Can you please try:

sudo apt-get install lib32z1

Then

sudo apt --fix-broken install

Like pulling teeth. Usually installation of Wine goes quite smoothly... You are getting Good Terminal Training on this one.

1 Like

Thats true, I haven't spent this much time and its fun and thank you for guiding me.
So while installing lib32z1 it returned depends on libc6-i386(>=2.4) and told i have broken packages
Fix broken install returned nothing like this. No mention of broken package

I also tried to run sudo apt-get install libc6-i386 which returned depends on libc6(=2.28-0ubuntuul+zorin4) but 2.28-10 is to be installed

Yes and Be Careful. IF you force the package, it will remove libc6 (64bit) and break the system.
I think we need to back out of this and try again.

I scrolled up to doublecheck the steps... everything looks right. It is acting as though you did not add the 32bit arch libraries. I do not understand...

1 Like

Actually that happened. To install citra emulator, libc6 2.31 has to be downloaded which broke the apt command, and I have to correct this from live media and a lot of things were deleted :sweat_smile::sweat_smile:

Are you running Zorin 15.3 or Zorin OS 16?

15.3 education version

Not something we want to just up and wipe and reload, then.
Have you fixed apt or still in the middle of that?

1 Like

Yeah apt was fixed and functioning perfectly

1 Like

So current standing is- Zorin OS 15.3 Education functional - midway through installing Wine which is throwing crazy dependency errors... Correct?

1 Like

Yes absolutely. All other tasks are functional, except the wine and sometimes libc6, like while installing qt5 or stuff like that for playing video games, it shows higher libc6 is required, but the default for zorin is 2.28(hope I am correct) so those can't be installed as many things depends on version 2.28.

1 Like

In this case, I would like to back up a bit and start over- partly due to Artyom Zorins post here:

I think opening Software & Updates app and removing any WineHQ repositories first... Then removing ~/.wine directory manually...
Then run

sudo apt remove --purge wine*

Get rid of anything that may be bungling up the pipes.
Then test if the package zorin-windows-app-support will now get you sorted out. This is not a pedestal action; I have learned in my time using Zorin OS that if an existing method or app exists, often ZorinGroup finds a way to do it thoroughly and better. So, fingers crossed...:

sudo apt install -y zorin-windows-app-support

1 Like

That did it!! Thanks a lot

1 Like