wine 8 Bullseye on new 64 debian

Questions about Wine on Linux
Locked
WineTaster
Level 1
Level 1
Posts: 7
Joined: Sat Jan 04, 2025 12:31 pm

wine 8 Bullseye on new 64 debian

Post by WineTaster »

hello,

i've been using wine for a while and everything is perfect, after i backed up my ~/.wine folder.
on my new laptop , ive installed wine then added the repo of bullseye with cert on my apt sources.

however, i can only install wine without the stable branch and others.

synaptic says i have broken links, yet everything is ok, after a long search and tries , its seems i need to downgrade some libraries for wine to work on this new laptop.

can someone assist me to that challenge ?

wine version
wine-8.0 (Debian 8.0~repack-4)
trying to install wine32:i368
sudo apt install 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:
libdbus-1-3:i386 : Depends: libsystemd0:i386
libgphoto2-6:i386 : Depends: libcurl4:i386 (>= 7.16.2) but it is not going to be installed
libgstreamer1.0-0:i386 : Depends: libdw1:i386 (>= 0.126) but it is not going to be installed
libpulse0:i386 : Depends: libsystemd0:i386
libusb-1.0-0:i386 : Depends: libudev1:i386 (>= 183) but it is not going to be installed
libwine:i386 : Depends: libudev1:i386 (>= 183) but it is not going to be installed
Recommends: libcups2:i386 (>= 1.4.0) but it is not installable
Recommends: libgl1:i386 but it is not installable
Recommends: libgssapi-krb5-2:i386 (>= 1.6.dfsg.2) but it is not installable
Recommends: libkrb5-3:i386 (>= 1.6.dfsg.2) but it is not installable
Recommends: libosmesa6:i386 (>= 10.2~) but it is not installable
Recommends: libsdl2-2.0-0:i386 (>= 2.0.12) but it is not installable
Recommends: libgl1-mesa-dri:i386 but it is not going to be installed
Recommends: libasound2-plugins:i386 but it is not installable
Recommends: gstreamer1.0-plugins-good:i386 but it is not installable
E: Unable to correct problems, you have held broken packages.
best regards
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: wine 8 Bullseye on new 64 debian

Post by jkfloris »

Please, post the output of

Code: Select all

apt policy
WineTaster
Level 1
Level 1
Posts: 7
Joined: Sat Jan 04, 2025 12:31 pm

Re: wine 8 Bullseye on new 64 debian

Post by WineTaster »

hello thank you for the reply
jkfloris wrote: Sun Jan 05, 2025 2:58 am Please, post the output of

Code: Select all

apt policy
ackage files:
100 /var/lib/dpkg/status
release a=now
500 https://dl.winehq.org/wine-builds/debian bookworm/main all Packages
release o=dl.winehq.org,a=stable,n=bookworm,l=winehq,c=main,b=all
origin dl.winehq.org
500 https://dl.winehq.org/wine-builds/debian bookworm/main i386 Packages
release o=dl.winehq.org,a=stable,n=bookworm,l=winehq,c=main,b=i386
origin dl.winehq.org
500 https://dl.winehq.org/wine-builds/debian bookworm/main amd64 Packages
release o=dl.winehq.org,a=stable,n=bookworm,l=winehq,c=main,b=amd64
origin dl.winehq.org
599 https://deb.parrot.sh/parrot lory-backports/non-free-firmware i386 Packages
release o=Parrot,a=parrot6-backports,n=lory-backports,l=Parrot 6 Lorikeet backports Repository,c=non-free-firmware,b=i386
origin deb.parrot.sh
599 https://deb.parrot.sh/parrot lory-backports/non-free-firmware amd64 Packages
release o=Parrot,a=parrot6-backports,n=lory-backports,l=Parrot 6 Lorikeet backports Repository,c=non-free-firmware,b=amd64
origin deb.parrot.sh
599 https://deb.parrot.sh/parrot lory-backports/non-free i386 Packages
release o=Parrot,a=parrot6-backports,n=lory-backports,l=Parrot 6 Lorikeet backports Repository,c=non-free,b=i386
origin deb.parrot.sh
599 https://deb.parrot.sh/parrot lory-backports/non-free amd64 Packages
release o=Parrot,a=parrot6-backports,n=lory-backports,l=Parrot 6 Lorikeet backports Repository,c=non-free,b=amd64
origin deb.parrot.sh
599 https://deb.parrot.sh/parrot lory-backports/contrib i386 Packages
release o=Parrot,a=parrot6-backports,n=lory-backports,l=Parrot 6 Lorikeet backports Repository,c=contrib,b=i386
origin deb.parrot.sh
599 https://deb.parrot.sh/parrot lory-backports/contrib amd64 Packages
release o=Parrot,a=parrot6-backports,n=lory-backports,l=Parrot 6 Lorikeet backports Repository,c=contrib,b=amd64
origin deb.parrot.sh
599 https://deb.parrot.sh/parrot lory-backports/main i386 Packages
release o=Parrot,a=parrot6-backports,n=lory-backports,l=Parrot 6 Lorikeet backports Repository,c=main,b=i386
origin deb.parrot.sh
599 https://deb.parrot.sh/parrot lory-backports/main amd64 Packages
release o=Parrot,a=parrot6-backports,n=lory-backports,l=Parrot 6 Lorikeet backports Repository,c=main,b=amd64
origin deb.parrot.sh
600 https://deb.parrot.sh/direct/parrot lory-security/non-free-firmware i386 Packages
release o=Parrot,a=parrot6-security,n=lory-security,l=Parrot 6 Lorikeet security updates Repository,c=non-free-firmware,b=i386
origin deb.parrot.sh
600 https://deb.parrot.sh/direct/parrot lory-security/non-free-firmware amd64 Packages
release o=Parrot,a=parrot6-security,n=lory-security,l=Parrot 6 Lorikeet security updates Repository,c=non-free-firmware,b=amd64
origin deb.parrot.sh
600 https://deb.parrot.sh/direct/parrot lory-security/contrib amd64 Packages
release o=Parrot,a=parrot6-security,n=lory-security,l=Parrot 6 Lorikeet security updates Repository,c=contrib,b=amd64
origin deb.parrot.sh
600 https://deb.parrot.sh/direct/parrot lory-security/main i386 Packages
release o=Parrot,a=parrot6-security,n=lory-security,l=Parrot 6 Lorikeet security updates Repository,c=main,b=i386
origin deb.parrot.sh
600 https://deb.parrot.sh/direct/parrot lory-security/main amd64 Packages
release o=Parrot,a=parrot6-security,n=lory-security,l=Parrot 6 Lorikeet security updates Repository,c=main,b=amd64
origin deb.parrot.sh
600 https://deb.parrot.sh/parrot lory/non-free-firmware i386 Packages
release o=Parrot,a=parrot6,n=lory,l=Parrot 6 Lorikeet Repository,c=non-free-firmware,b=i386
origin deb.parrot.sh
600 https://deb.parrot.sh/parrot lory/non-free-firmware amd64 Packages
release o=Parrot,a=parrot6,n=lory,l=Parrot 6 Lorikeet Repository,c=non-free-firmware,b=amd64
origin deb.parrot.sh
600 https://deb.parrot.sh/parrot lory/non-free i386 Packages
release o=Parrot,a=parrot6,n=lory,l=Parrot 6 Lorikeet Repository,c=non-free,b=i386
origin deb.parrot.sh
600 https://deb.parrot.sh/parrot lory/non-free amd64 Packages
release o=Parrot,a=parrot6,n=lory,l=Parrot 6 Lorikeet Repository,c=non-free,b=amd64
origin deb.parrot.sh
600 https://deb.parrot.sh/parrot lory/contrib i386 Packages
release o=Parrot,a=parrot6,n=lory,l=Parrot 6 Lorikeet Repository,c=contrib,b=i386
origin deb.parrot.sh
600 https://deb.parrot.sh/parrot lory/contrib amd64 Packages
release o=Parrot,a=parrot6,n=lory,l=Parrot 6 Lorikeet Repository,c=contrib,b=amd64
origin deb.parrot.sh
600 https://deb.parrot.sh/parrot lory/main i386 Packages
release o=Parrot,a=parrot6,n=lory,l=Parrot 6 Lorikeet Repository,c=main,b=i386
origin deb.parrot.sh
600 https://deb.parrot.sh/parrot lory/main amd64 Packages
release o=Parrot,a=parrot6,n=lory,l=Parrot 6 Lorikeet Repository,c=main,b=amd64
origin deb.parrot.sh
500 file:/var/cuda-repo-debian11-12-6-local Packages
release o=NVIDIA,l=NVIDIA CUDA,c=
Pinned packages:
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: wine 8 Bullseye on new 64 debian

Post by jkfloris »

Probably the Parrot OS repository is causing problems somewhere.
The 32-bit version of a package must be exactly the same as the 64-bit version.

Try to install the dependencies manually.

For example, for libudev1:

See which versions are available for your system:

Code: Select all

apt policy libudev1:{amd64,i386}

### Example output ###
libudev1:
  Installed: 257.1-7
  Candidate: 257.1-7
  Version table:
 *** 257.1-7 500
        500 http://ftp.nl.debian.org/debian unstable/main amd64 Packages
        100 /var/lib/dpkg/status
libudev1:i386:
  Installed: (none)
  Candidate: 258.1-9
  Version table:
     257.1-7 500
        500 http://ftp.nl.debian.org/debian unstable/main i386 Packages
     258.1-9 600
        500 http://some_other_url/debian unstable/main i386 Packages
This will list all available versions.
Under "libudev1" it says which 64-bit version is installed.
It should also appear under "libudev1:i386" in the "Version table".

Try to install this version with:

Code: Select all

sudo apt install libudev1:i386=257.1-7
WineTaster
Level 1
Level 1
Posts: 7
Joined: Sat Jan 04, 2025 12:31 pm

Re: wine 8 Bullseye on new 64 debian

Post by WineTaster »

jkfloris wrote: Mon Jan 06, 2025 12:25 pm Probably the Parrot OS repository is causing problems somewhere.
The 32-bit version of a package must be exactly the same as the 64-bit version.

Try to install the dependencies manually.

For example, for libudev1:

See which versions are available for your system:

Code: Select all

apt policy libudev1:{amd64,i386}

### Example output ###
libudev1:
  Installed: 257.1-7
  Candidate: 257.1-7
  Version table:
 *** 257.1-7 500
        500 http://ftp.nl.debian.org/debian unstable/main amd64 Packages
        100 /var/lib/dpkg/status
libudev1:i386:
  Installed: (none)
  Candidate: 258.1-9
  Version table:
     257.1-7 500
        500 http://ftp.nl.debian.org/debian unstable/main i386 Packages
     258.1-9 600
        500 http://some_other_url/debian unstable/main i386 Packages
This will list all available versions.
Under "libudev1" it says which 64-bit version is installed.
It should also appear under "libudev1:i386" in the "Version table".

Try to install this version with:

Code: Select all

sudo apt install libudev1:i386=257.1-7

thank you for the reply.
yes correct its seems the distro repo's have a problem however, the apt policy is :
libudev1:
Installed: 254.22-1~bpo12+1
Candidate: 254.22-1~bpo12+1
Version table:
*** 254.22-1~bpo12+1 599
599 https://deb.parrot.sh/parrot lory-backports/main amd64 Packages
100 /var/lib/dpkg/status
252.31-1~deb12u1 600
600 https://deb.parrot.sh/parrot lory/main amd64 Packages
libudev1:i386:
Installed: (none)
Candidate: 252.31-1~deb12u1
Version table:
254.22-1~bpo12+1 599
599 https://deb.parrot.sh/parrot lory-backports/main i386 Packages
252.31-1~deb12u1 600
600 https://deb.parrot.sh/parrot lory/main i386 Packages
as for the i386 of the lib shows as :
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package libudev1:i386 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libudev1

E: Version '257.1-7' for 'libudev1:i386' was not found
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: wine 8 Bullseye on new 64 debian

Post by jkfloris »

In your case, the version numbers are different.
You have installed version 254.22-1~bpo12+1 of libudev1. So the 32-bit version should also have that number.
libudev1:
Installed: 254.22-1~bpo12+1
Candidate: 254.22-1~bpo12+1
Version table:
*** 254.22-1~bpo12+1 599
599 https://deb.parrot.sh/parrot lory-backports/main amd64 Packages
100 /var/lib/dpkg/status
252.31-1~deb12u1 600
600 https://deb.parrot.sh/parrot lory/main amd64 Packages
libudev1:i386:
Installed: (none)
Candidate: 252.31-1~deb12u1
Version table:
254.22-1~bpo12+1 599
599 https://deb.parrot.sh/parrot lory-backports/main i386 Packages
252.31-1~deb12u1 600
600 https://deb.parrot.sh/parrot lory/main i386 Packages
This version is not automatically installed. Because "lory/main" has a higher priority (600) than "lory-backports/main" (599).
So apt wants to install version 252.31-1~deb12u1

Try to install libudev1 with:

Code: Select all

sudo apt install libudev1:i386=254.22-1~bpo12+1
WineTaster
Level 1
Level 1
Posts: 7
Joined: Sat Jan 04, 2025 12:31 pm

Re: wine 8 Bullseye on new 64 debian

Post by WineTaster »

jkfloris wrote: Tue Jan 07, 2025 3:03 pm In your case, the version numbers are different.
You have installed version 254.22-1~bpo12+1 of libudev1. So the 32-bit version should also have that number.
libudev1:
Installed: 254.22-1~bpo12+1
Candidate: 254.22-1~bpo12+1
Version table:
*** 254.22-1~bpo12+1 599
599 https://deb.parrot.sh/parrot lory-backports/main amd64 Packages
100 /var/lib/dpkg/status
252.31-1~deb12u1 600
600 https://deb.parrot.sh/parrot lory/main amd64 Packages
libudev1:i386:
Installed: (none)
Candidate: 252.31-1~deb12u1
Version table:
254.22-1~bpo12+1 599
599 https://deb.parrot.sh/parrot lory-backports/main i386 Packages
252.31-1~deb12u1 600
600 https://deb.parrot.sh/parrot lory/main i386 Packages
This version is not automatically installed. Because "lory/main" has a higher priority (600) than "lory-backports/main" (599).
So apt wants to install version 252.31-1~deb12u1

Try to install libudev1 with:

Code: Select all

sudo apt install libudev1:i386=254.22-1~bpo12+1
thank you for the support , it works now fine , but the new challange now , is that some programs with x86 wont work, so i tried to install wine64 and wine64-preloader, and still cant run them

any hint ?
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: wine 8 Bullseye on new 64 debian

Post by jkfloris »

Which Wine packages do you have installed now?

Code: Select all

dpkg -l | grep -i wine
You should see the following packages

Code: Select all

ii  fonts-wine
ii  libwine:amd64
ii  libwine:i386
ii  wine
ii  wine32:i386
ii  wine32-preloader:i386
ii  wine64
ii  wine64-preloader
and still cant run them
Please post the terminal output.
WineTaster
Level 1
Level 1
Posts: 7
Joined: Sat Jan 04, 2025 12:31 pm

Re: wine 8 Bullseye on new 64 debian

Post by WineTaster »

jkfloris wrote: Wed Jan 08, 2025 12:00 pm Which Wine packages do you have installed now?

Code: Select all

dpkg -l | grep -i wine
You should see the following packages

Code: Select all

ii  fonts-wine
ii  libwine:amd64
ii  libwine:i386
ii  wine
ii  wine32:i386
ii  wine32-preloader:i386
ii  wine64
ii  wine64-preloader
and still cant run them
Please post the terminal output.
hello thank you for the response ,
here is the output :
ii fonts-wine 8.0~repack-4 all Windows API implementation - fonts
ii libwine:amd64 8.0~repack-4 amd64 Windows API implementation - library
ii libwine:i386 8.0~repack-4 i386 Windows API implementation - library
ii libwine-dev:amd64 8.0~repack-4 amd64 Windows API implementation - development files
ii wine 8.0~repack-4 all Windows API implementation - standard suite
ii wine32:i386 8.0~repack-4 i386 Windows API implementation - 32-bit binary loader
ii wine32-preloader:i386 8.0~repack-4 i386 Windows API implementation - prelinked 32-bit binary loader
ii wine64 8.0~repack-4 amd64 Windows API implementation - 64-bit binary loader
ii wine64-preloader 8.0~repack-4 amd64 Windows API implementation - prelinked 64-bit binary loader
ii wine64-tools 8.0~repack-4 amd64 Windows API implementation - 64-bit developer tools
ii winetricks 20230212-2 all simple tool to work around common problems in Wine
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: wine 8 Bullseye on new 64 debian

Post by jkfloris »

That looks great!

You have now installed the Debian version of Wine.
If you want the WineHQ version, install:

Code: Select all

sudo apt install winehq-stable
(some Debian packages will be removed)
but the new challange now , is that some programs with x86 wont work, so i tried to install wine64 and wine64-preloader, and still cant run them
If Wine does work, open a new topic with an example of a program that does not work and the terminal output that you get when you run the program.
WineTaster
Level 1
Level 1
Posts: 7
Joined: Sat Jan 04, 2025 12:31 pm

Re: wine 8 Bullseye on new 64 debian

Post by WineTaster »

thanks for the reply , yes the wine issue worked fine after your walkthrough and instruction it was a new knowledge for me ill make a new post on the x86 and mention you in it
Locked