Wine install problem and software install problem

hi , i have problem big problem
i cant install wine with apt install wine32 or 64
and i cant install any apps in software
for wine my problem :

the following packages have unmet dependencies:
wine32:i386 : Depends: libwine:i386 (= 6.0.3~repack-1+zorin2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

and my problem is software store its say that :

unable to install "my app":
the following packages have unmet dependencies

its like every apps in software store
please help me :smiley:

Please post the output of sudo apt update

We need to check your sources.

I cant install that from software store and with command

E: Could not get lock /var/lib/apt/lists/lock. It is held by process 1505 (packagekitd)
N: Be aware that removing the lock file is not a solution and may break your system.
E: Unable to lock directory /var/lib/apt/lists/

i fixed that with sudo kill 1505

and now my new output :slight_smile:

This is almost always caused by the user having more than one package manager open at a time.

You can see that you have added the Focal Wine Repository (Which is the one you need) and you have also added the Jammy Wine Repository. The Jammy is going to offer packages incompatible with your distro. You must open Software & Updates, move to the Other Software tab and click on the Jammy Wine Repository, then click the Remove button.

2 Likes

i have another question
where is a jammy wine ?


If you do not see it in that list, you can directly access the sources directory.
First, elevate to Root:

sudo -i

Launch your file manager:

nautilus

In the left pane, select "Other Locations" and then in the right pane, select "Computer."
You will now be in the Root Directory. Navigate to /etc/apt/sources.list.d
You will see four files for Wine on Jammy:
...focal.list and focal.list.save which you want to keep.
And
jammy.list and jammy.list.save which you want to remove.

Right click the Jammy's and delete them.
Once done, exit out of the elevated file manager. In the terminal you elevated to root, type

exit

Now, run

sudo apt update

to refresh your sources.
Try installing Wine again.

you are the best men
you are the best for ever

and another question , how i can install .net 6.0 for wine apps ?

For work purposes, I installed .NET directly on Linux:

However, if you need it In WINE... you can install WineTricks

sudo apt install winetricks

then run

winetricks -q dotnetdesktop6

1 Like

dont work and output is :

Executing mkdir -p /home/nima
Using winetricks 20210206 - sha256sum: 420d6252e0cdd8a35e0df3366c2f0989a368999a26ef358062d4c5c31326b411 with wine-6.0.3 (Ubuntu 6.0.3~repack-1+zorin2) and WINEARCH=win32
Unknown arg dotnetdesktop6

and another problem i dont have wine windows program loader in application list after i select .exe flie

i fixed everyone with install winehq

thanks a lot @Aravisian :slight_smile:

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.