I have a problem installing on Peppermint OS

Questions about Wine on Linux
Locked
Bruno142
Newbie
Newbie
Posts: 3
Joined: Thu Jun 23, 2022 5:32 pm

I have a problem installing on Peppermint OS

Post by Bruno142 »

brun@bruno142:~/Desktop$ sudo apt install wine64 wine32
Reading package lists... Done
Building dependency tree... Done
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:
libcurl4:i386 : Depends: libldap-2.4-2:i386 (>= 2.4.7) but it is not installable
libvkd3d1 : Depends: libc6 (>= 2.34) but 2.31-13+deb11u3 is to be installed
Depends: libvkd3d-shader1 (>= 1.2) but it is not going to be installed
libvkd3d1:i386 : Depends: libc6:i386 (>= 2.34) but 2.31-13+deb11u3 is to be installed
Depends: libvkd3d-shader1:i386 (>= 1.2) but it is not going to be installed
libwine:i386 : Depends: libldap-2.4-2:i386 (>= 2.4.7) but it is not installable
Recommends: libcups2:i386 (>= 1.4.0) but it is not going to be installed
Recommends: libsane1:i386 (>= 1.0.27) but it is not installable
E: Unable to correct problems, you have held broken packages.
brun@bruno142:~/Desktop$
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: I have a problem installing on Peppermint OS

Post by jkfloris »

This line is strange:

Code: Select all

libvkd3d1 : Depends: libc6 (>= 2.34) but 2.31-13+deb11u3 is to be installed
This version of libc6 is not in Debian. Also, the Debian or WineHQ package of libvkd3d1 does not have this version as a dependency.

What is the output of:

Code: Select all

find /etc/apt/ -type f \( -name "*.list" -o -name "*.sources" \) -print -exec nl {} \;
# and
apt policy libvkd3d1
Bruno142
Newbie
Newbie
Posts: 3
Joined: Thu Jun 23, 2022 5:32 pm

Re: I have a problem installing on Peppermint OS

Post by Bruno142 »

brun@bruno142:~/Desktop$ apt policy libvkd3d1
libvkd3d1:
Installed: (none)
Candidate: 1.3~jammy-1
Version table:
1.3~jammy-1 500
500 https://dl.winehq.org/wine-builds/ubuntu jammy/main amd64 Packages
1.3~bullseye-1 500
500 https://dl.winehq.org/wine-builds/debian bullseye/main amd64 Packages
1.2~bullseye-1 500
500 https://dl.winehq.org/wine-builds/debian bullseye/main amd64 Packages
1.1-5 500
500 http://deb.debian.org/debian bullseye/main amd64 Packages
500 http://ftp.debian.org/debian stable/main amd64 Packages
brun@bruno142:~/Desktop$
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: I have a problem installing on Peppermint OS

Post by jkfloris »

1.3~jammy-1 500
500 https://dl.winehq.org/wine-builds/ubuntu jammy/main amd64 Packages
Somehow you accidentally added the wrong repository too.
Remove this repository from /etc/apt/sources(.d/*.list) and try again.

If this still does not give you an improvement, post the output of:

Code: Select all

find /etc/apt/ -type f \( -name "*.list" -o -name "*.sources" \) -print -exec nl {} \;
Bruno142
Newbie
Newbie
Posts: 3
Joined: Thu Jun 23, 2022 5:32 pm

Re: I have a problem installing on Peppermint OS

Post by Bruno142 »

brun@bruno142:~$ sudo apt install wine32 wine64
Reading package lists... Done
Building dependency tree... Done
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:
libcurl4:i386 : Depends: libldap-2.4-2:i386 (>= 2.4.7) but it is not installable
libwine:i386 : Depends: libldap-2.4-2:i386 (>= 2.4.7) but it is not installable
Recommends: libcups2:i386 (>= 1.4.0) but it is not going to be installed
Recommends: libsane1:i386 (>= 1.0.27) but it is not installable
E: Unable to correct problems, you have held broken packages.
brun@bruno142:~$
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: I have a problem installing on Peppermint OS

Post by jkfloris »

Which repositories do you have on your system?

Code: Select all

find /etc/apt/ -type f \( -name "*.list" -o -name "*.sources" \) -print -exec nl {} \;
You can also try to install the missing dependencies by hand.
- Check if the 32 and 64-bit versions are the same.

Code: Select all

apt policy libldap-2.4-2:i386 libldap-2.4-2
- Install the version that appears by both packages.
For example:

Code: Select all

sudo apt install libldap-2.4-2:i386=2.4.57+dfsg-3 libldap-2.4-2=2.4.57+dfsg-3
mivanchev
Level 2
Level 2
Posts: 14
Joined: Sat Jun 25, 2022 5:13 am

Re: I have a problem installing on Peppermint OS

Post by mivanchev »

If you can't resolve the dependency issue you might want to try out my project static-wine32. You need to build it yourself but it doesn't require dynamic dependencies.
Locked