Page 1 of 1

[Solved] Wine32 Installation - error

Posted: 2023-12-09 17:41
by darek015
Hello everyone,

This is my first post on this forum, thank you in advance for your help.
I need help with the installation of wine32, I tried the method from Debian Wiki and WineHQ, both proved unsuccessful and ended with the error below, I’ll add that Wine64 works without any problem.

After typing the command:

Code: Select all

 sudo apt install wine32 
Error

Code: Select all

 
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:
 apt : Depends: adduser but it is not going to be installed
       Depends: gpgv or
                gpgv2 but it is not going to be installed or
                gpgv1
       Depends: libapt-pkg6.0 (>= 2.6.1) but it is not going to be installed
       Depends: libc6 (>= 2.34) but it is not installable
       Depends: libgnutls30 (>= 3.7.5) but it is not going to be installed
       Depends: libseccomp2 (>= 2.4.2) but it is not going to be installed
       Depends: libstdc++6 (>= 11) but it is not installable
       Depends: libsystemd0
       Recommends: ca-certificates but it is not going to be installed
 base-files : PreDepends: awk
 base-passwd : Depends: libc6 (>= 2.34) but it is not installable
               Depends: libdebconfclient0 (>= 0.145) but it is not going to be installed
               Depends: libselinux1 (>= 3.1~) but it is not going to be installed
 bash : PreDepends: libc6 (>= 2.36) but it is not installable
        PreDepends: libtinfo6 (>= 6) but it is not going to be installed
 bsdutils : PreDepends: libc6 (>= 2.34) but it is not installable
            PreDepends: libsystemd0
            Recommends: bsdextrautils
 coreutils : PreDepends: libacl1 (>= 2.2.23) but it is not going to be installed
             PreDepends: libattr1 (>= 1:2.4.44) but it is not going to be installed
             PreDepends: libc6 (>= 2.34) but it is not installable
             PreDepends: libgmp10 (>= 2:6.2.1+dfsg1) but it is not installable
             PreDepends: libselinux1 (>= 3.1~) but it is not going to be installed
 dash : PreDepends: libc6 (>= 2.34) but it is not installable
 debianutils : PreDepends: libc6 (>= 2.34) but it is not installable
 diffutils : PreDepends: libc6 (>= 2.34) but it is not installable
 dpkg : PreDepends: libbz2-1.0 but it is not going to be installed
        PreDepends: libc6 (>= 2.34) but it is not installable
        PreDepends: liblzma5 (>= 5.4.0) but it is not going to be installed
        PreDepends: libmd0 (>= 0.0.0) but it is not going to be installed
        PreDepends: libselinux1 (>= 3.1~) but it is not going to be installed
        PreDepends: libzstd1 (>= 1.5.5) but it is not installable
        PreDepends: zlib1g (>= 1:1.1.4) but it is not going to be installed
 e2fsprogs : PreDepends: libblkid1 (>= 2.36) but it is not going to be installed
             PreDepends: libc6 (>= 2.34) but it is not installable
             PreDepends: libcom-err2 (>= 1.43.9) but it is not going to be installed
             PreDepends: libext2fs2 (= 1.47.0-2) but it is not going to be installed
             PreDepends: libss2 (>= 1.38) but it is not going to be installed
             PreDepends: libuuid1 (>= 2.16) but it is not going to be installed
             Depends: logsave
             Recommends: e2fsprogs-l10n but it is not going to be installed
 findutils : PreDepends: libc6 (>= 2.34) but it is not installable
             PreDepends: libselinux1 (>= 3.1~) but it is not going to be installed
 grep : PreDepends: libc6 (>= 2.34) but it is not installable
        PreDepends: libpcre2-8-0 (>= 10.32) but it is not going to be installed
 gzip : PreDepends: libc6 (>= 2.33) but it is not installable
 hostname : PreDepends: libc6 (>= 2.34) but it is not installable
 init : PreDepends: systemd-sysv or
                    sysvinit-core but it is not installable
 libc-bin : Depends: libc6 (> 2.37) but it is not installable
            Depends: libc6 (< 2.38) but it is not installable
 libcrypt1 : Depends: libc6 (>= 2.36) but it is not installable
 libgcc-s1 : Depends: libc6 (>= 2.35) but it is not installable
             Breaks: libgcc-s1:i386 (!= 13.2.0-7) but 12.2.0-14 is to be installed
 libgcc-s1:i386 : Breaks: libgcc-s1 (!= 12.2.0-14) but 13.2.0-7 is to be installed
 login : PreDepends: libaudit1 (>= 1:2.2.1) but it is not going to be installed
         PreDepends: libc6 (>= 2.34) but it is not installable
         PreDepends: libpam0g (>= 0.99.7.1) but it is not going to be installed
         PreDepends: libpam-runtime but it is not going to be installed
         PreDepends: libpam-modules but it is not going to be installed
 ncurses-bin : PreDepends: libc6 (>= 2.34) but it is not installable
               PreDepends: libtinfo6 (>= 6.3) but it is not going to be installed
 perl-base : PreDepends: libc6 (>= 2.35) but it is not installable
 sed : PreDepends: libacl1 (>= 2.2.23) but it is not going to be installed
       PreDepends: libc6 (>= 2.34) but it is not installable
       PreDepends: libselinux1 (>= 3.1~) but it is not going to be installed
 sysvinit-utils : Depends: libc6 (>= 2.34) but it is not installable
 tar : PreDepends: libacl1 (>= 2.2.23) but it is not going to be installed
       PreDepends: libc6 (>= 2.34) but it is not installable
       PreDepends: libselinux1 (>= 3.1~) but it is not going to be installed
 util-linux : PreDepends: libblkid1 (>= 2.37.2) but it is not going to be installed
              PreDepends: libc6 (>= 2.34) but it is not installable
              PreDepends: libcap-ng0 (>= 0.7.9) but it is not going to be installed
              PreDepends: libmount1 (>= 2.38) but it is not going to be installed
              PreDepends: libpam0g (>= 0.99.7.1) but it is not going to be installed
              PreDepends: libselinux1 (>= 3.1~) but it is not going to be installed
              PreDepends: libsmartcols1 (>= 2.38) but it is not going to be installed
              PreDepends: libsystemd0
              PreDepends: libtinfo6 (>= 6) but it is not going to be installed
              PreDepends: libudev1 (>= 183) but it is not going to be installed
              PreDepends: libuuid1 (>= 2.16) but it is not going to be installed
              PreDepends: zlib1g (>= 1:1.1.4) but it is not going to be installed
              Depends: util-linux-extra
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
 
Below is information on the system version and repos:

Code: Select all

Debian GNU/Linux 12 (bookworm) 64-bit

Code: Select all

$ cat /etc/debian_version
12.3

Code: Select all

sudo dpkg --print-foreign-architectures
i386

Code: Select all

cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

Code: Select all

sources.list
deb http://deb.debian.org/debian/ bookworm main non-free-firmware
deb-src http://deb.debian.org/debian/ bookworm main non-free-firmware

deb http://security.debian.org/debian-security bookworm-security main non-free->
deb-src http://security.debian.org/debian-security bookworm-security main non-f>

deb http://deb.debian.org/debian/ bookworm-updates main non-free-firmware
deb-src http://deb.debian.org/debian/ bookworm-updates main non-free-firmware

Re: [Software] Wine32 Installation - error

Posted: 2023-12-09 18:05
by Aki
Hello,
According to Debian Wiki [1]:
Attention!

This procedure works only if the following requirements are met:

1 - Packages migrated to new versions (stable-security) that modify the C libraries have not been installed.

2 - No packages from deb-multimedia have been installed.

Otherwise, dependency non-compliance issues will occur.
I don’t know if it is the cause, but according to the apt configuration you sent in previous post, the stable-security repository is configured (and its packages perhaps installed):

Code: Select all

deb http://security.debian.org/debian-security bookworm-security main non-free->
deb-src http://security.debian.org/debian-security bookworm-security main non-f>
---
[1] Debian Wiki - Wine

Re: [Software] Wine32 Installation - error

Posted: 2023-12-09 18:14
by darek015
My system is a new installation, the system was installed using an iso image downloaded from the official Debian site.

Is there any possibility to install wine32 in this case.

Re: [Software] Wine32 Installation - error

Posted: 2023-12-10 07:08
by bin

Code: Select all

sudo dpkg --add-architecture i386
sudo apt update
sudo apt install wine wine32 fonts-wine
This will give you a 32 bit wine system.

When creating a prefix

Code: Select all

WINEARCH=win32 WINEPREFX=path to where you put your prefix

Re: [Software] Wine32 Installation - error

Posted: 2023-12-10 08:52
by darek015
Thank you for your reply, however, as I mentioned I have wine installed according to the Debian Wiki materials, below are the command results for the system architecture:

Code: Select all

$ sudo dpkg --print-architecture
amd64

Code: Select all

$ sudo sudo dpkg --print-foreign-architectures
i386
When I try to install wine32, the following message appears, I am a novice user, but I suspect it is because apt does not want to install the libraries for the 32 version of wine.

Code: Select all

$ sudo apt install wine wine32 fonts-wine
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
wine is already the newest version (8.0~repack-4).
fonts-wine is already the newest version (8.0~repack-4).
fonts-wine set to manually installed.
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:
 apt : Depends: adduser but it is not going to be installed
       Depends: gpgv or
                gpgv2 but it is not going to be installed or
                gpgv1
       Depends: libapt-pkg6.0 (>= 2.6.1) but it is not going to be installed
       Depends: libc6 (>= 2.34) but it is not installable
       Depends: libgnutls30 (>= 3.7.5) but it is not going to be installed
       Depends: libseccomp2 (>= 2.4.2) but it is not going to be installed
       Depends: libstdc++6 (>= 11) but it is not installable
       Depends: libsystemd0
       Recommends: ca-certificates but it is not going to be installed
 base-files : PreDepends: awk
 base-passwd : Depends: libc6 (>= 2.34) but it is not installable
               Depends: libdebconfclient0 (>= 0.145) but it is not going to be installed
               Depends: libselinux1 (>= 3.1~) but it is not going to be installed
 bash : PreDepends: libc6 (>= 2.36) but it is not installable
        PreDepends: libtinfo6 (>= 6) but it is not going to be installed
 bsdutils : PreDepends: libc6 (>= 2.34) but it is not installable
            PreDepends: libsystemd0
            Recommends: bsdextrautils
 coreutils : PreDepends: libacl1 (>= 2.2.23) but it is not going to be installed
             PreDepends: libattr1 (>= 1:2.4.44) but it is not going to be installed
             PreDepends: libc6 (>= 2.34) but it is not installable
             PreDepends: libgmp10 (>= 2:6.2.1+dfsg1) but it is not installable
             PreDepends: libselinux1 (>= 3.1~) but it is not going to be installed
 dash : PreDepends: libc6 (>= 2.34) but it is not installable
 debianutils : PreDepends: libc6 (>= 2.34) but it is not installable
 diffutils : PreDepends: libc6 (>= 2.34) but it is not installable
 dpkg : PreDepends: libbz2-1.0 but it is not going to be installed
        PreDepends: libc6 (>= 2.34) but it is not installable
        PreDepends: liblzma5 (>= 5.4.0) but it is not going to be installed
        PreDepends: libmd0 (>= 0.0.0) but it is not going to be installed
        PreDepends: libselinux1 (>= 3.1~) but it is not going to be installed
        PreDepends: libzstd1 (>= 1.5.5) but it is not installable
        PreDepends: zlib1g (>= 1:1.1.4) but it is not going to be installed
 e2fsprogs : PreDepends: libblkid1 (>= 2.36) but it is not going to be installed
             PreDepends: libc6 (>= 2.34) but it is not installable
             PreDepends: libcom-err2 (>= 1.43.9) but it is not going to be installed
             PreDepends: libext2fs2 (= 1.47.0-2) but it is not going to be installed
             PreDepends: libss2 (>= 1.38) but it is not going to be installed
             PreDepends: libuuid1 (>= 2.16) but it is not going to be installed
             Depends: logsave
             Recommends: e2fsprogs-l10n but it is not going to be installed
 findutils : PreDepends: libc6 (>= 2.34) but it is not installable
             PreDepends: libselinux1 (>= 3.1~) but it is not going to be installed
 grep : PreDepends: libc6 (>= 2.34) but it is not installable
        PreDepends: libpcre2-8-0 (>= 10.32) but it is not going to be installed
 gzip : PreDepends: libc6 (>= 2.33) but it is not installable
 hostname : PreDepends: libc6 (>= 2.34) but it is not installable
 init : PreDepends: systemd-sysv or
                    sysvinit-core but it is not installable
 libc-bin : Depends: libc6 (> 2.37) but it is not installable
            Depends: libc6 (< 2.38) but it is not installable
 libcrypt1 : Depends: libc6 (>= 2.36) but it is not installable
 libgcc-s1 : Depends: libc6 (>= 2.35) but it is not installable
             Breaks: libgcc-s1:i386 (!= 13.2.0-7) but 12.2.0-14 is to be installed
 libgcc-s1:i386 : Breaks: libgcc-s1 (!= 12.2.0-14) but 13.2.0-7 is to be installed
 login : PreDepends: libaudit1 (>= 1:2.2.1) but it is not going to be installed
         PreDepends: libc6 (>= 2.34) but it is not installable
         PreDepends: libpam0g (>= 0.99.7.1) but it is not going to be installed
         PreDepends: libpam-runtime but it is not going to be installed
         PreDepends: libpam-modules but it is not going to be installed
 ncurses-bin : PreDepends: libc6 (>= 2.34) but it is not installable
               PreDepends: libtinfo6 (>= 6.3) but it is not going to be installed
 perl-base : PreDepends: libc6 (>= 2.35) but it is not installable
 sed : PreDepends: libacl1 (>= 2.2.23) but it is not going to be installed
       PreDepends: libc6 (>= 2.34) but it is not installable
       PreDepends: libselinux1 (>= 3.1~) but it is not going to be installed
 sysvinit-utils : Depends: libc6 (>= 2.34) but it is not installable
 tar : PreDepends: libacl1 (>= 2.2.23) but it is not going to be installed
       PreDepends: libc6 (>= 2.34) but it is not installable
       PreDepends: libselinux1 (>= 3.1~) but it is not going to be installed
 util-linux : PreDepends: libblkid1 (>= 2.37.2) but it is not going to be installed
              PreDepends: libc6 (>= 2.34) but it is not installable
              PreDepends: libcap-ng0 (>= 0.7.9) but it is not going to be installed
              PreDepends: libmount1 (>= 2.38) but it is not going to be installed
              PreDepends: libpam0g (>= 0.99.7.1) but it is not going to be installed
              PreDepends: libselinux1 (>= 3.1~) but it is not going to be installed
              PreDepends: libsmartcols1 (>= 2.38) but it is not going to be installed
              PreDepends: libsystemd0
              PreDepends: libtinfo6 (>= 6) but it is not going to be installed
              PreDepends: libudev1 (>= 183) but it is not going to be installed
              PreDepends: libuuid1 (>= 2.16) but it is not going to be installed
              PreDepends: zlib1g (>= 1:1.1.4) but it is not going to be installed
              Depends: util-linux-extra
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

I also don't understand the part about adding the prefix, but I assume this part should be added after installing the wine32 version.

Re: [Software] Wine32 Installation - error

Posted: 2023-12-10 13:17
by arzgi
You have to use the i386 postix, like

Code: Select all

sudo apt install wine:i386
and after installing foreign architecture,the package list should be updated

Code: Select all

sudo apt update

Re: [Software] Wine32 Installation - error

Posted: 2023-12-10 13:37
by darek015
I confirm, after installing the foreign architecture, the list of packages was updated (several times).

I checked the proposed method, below is the result of the command:

Code: Select all

$ sudo apt install wine:i386
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'wine' instead of 'wine:i386'
wine is already the newest version (8.0~repack-4).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
I also tried:

Code: Select all

$ sudo apt install wine32:i386
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:
but the attempt ends with the same error as before.

Re: [Software] Wine32 Installation - error

Posted: 2023-12-10 14:09
by Ardouos
Can you post:

Code: Select all

uname -a

Code: Select all

grep -r deb /etc/apt/sources.list{,.d/*}

Code: Select all

dpkg -l | grep libc6

Code: Select all

apt -v

Re: [Software] Wine32 Installation - error

Posted: 2023-12-10 14:21
by darek015
Yes, of course, below are the results of the commands:

Code: Select all

$ uname -a
Linux NASA 6.5.0-4-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.5.10-1 (2023-11-03) x86_64 GNU/Linux

Code: Select all

$ grep -r deb /etc/apt/sources.list
# deb cdrom:[Debian GNU/Linux 12.2.0 _Bookworm_ - Official amd64 DVD Binary-1 with firmware 20231007-10:29]/ bookworm main non-free-firmware
deb http://deb.debian.org/debian/ bookworm main non-free-firmware
deb-src http://deb.debian.org/debian/ bookworm main non-free-firmware
deb http://security.debian.org/debian-security bookworm-security main non-free-firmware
deb-src http://security.debian.org/debian-security bookworm-security main non-free-firmware
# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
deb http://deb.debian.org/debian/ bookworm-updates main non-free-firmware
deb-src http://deb.debian.org/debian/ bookworm-updates main non-free-firmware
#deb http://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware
# deb http://deb.debian.org/debian/ sid main contrib non-free non-free-firmware
# deb http://deb.debian.org/debian bullseye-backports main

Code: Select all

$ dpkg -l | grep libc6
ii  libc6:amd64                  2.37-12            amd64        GNU C Library: Shared libraries
ii  libc6-dev:amd64           2.37-12            amd64        GNU C Library: Development Libraries and Header Files

Code: Select all

$ apt -v
apt 2.6.1 (amd64)

Re: [Software] Wine32 Installation - error

Posted: 2023-12-10 14:50
by Ardouos
darek015 wrote: 2023-12-10 14:21 $ dpkg -l | grep libc6
ii libc6:amd64 2.37-12 amd64 GNU C Library: Shared libraries
ii libc6-dev:amd64 2.37-12 amd64 GNU C Library: Development Libraries and Header Files
Those aren't from bookworms repo, It looks like you installed/upgraded from the sid repo which is why apt cannot resolve dependencies.

Re: [Software] Wine32 Installation - error

Posted: 2023-12-10 15:03
by darek015
Packages from the sid repos may have been installed/updated during the installation of Nvidia drivers (525.147.05)

Is there any option to undo this change at this point?

Re: [Software] Wine32 Installation - error

Posted: 2023-12-10 16:15
by Ardouos
libc6 is a core package which can make downgrading very troublesome, it would save a headache to just re-install and use the backports repo to install the nvidia driver using bookworm-backports.

If you want to give it a go you would need to see what packages were installed from the install/upgrade and downgrade them manually. The tool apititude might be your best bet here as it can try to find the best was around your dependency problems.

Re: [Software] Wine32 Installation - error

Posted: 2023-12-10 17:33
by darek015
Thank you for your help, and guidance in solving the problem.

I installed wine32, using the Sid repositories. It may not be an entirely satisfactory solution, but it works.


Off topic:
I disabled the Sid repo again. I wonder if there will be further problems when installing other software or Debian 12.3 (without Sid repo).
I will test a bit more and see what happens next.

Thanks again and best regards.

Re: [Solved] Wine32 Installation - error

Posted: 2023-12-10 22:12
by Ardouos
I will assure you there will be future problems. I would recommend either reinstalling stable or committing to the full upgrade to sid (if you are up to it) instead of using a frankendebian system.

Re: [Solved] Wine32 Installation - error

Posted: 2023-12-10 23:45
by CwF
darek015 wrote: 2023-12-10 17:33 I disabled the Sid repo again. I wonder if there will be further problems when installing other software or Debian 12.3 (without Sid repo).
Possibly, possibly not. It is a good idea to disable sid from here on out. If you didn't get much, or at all into the rest of the system with sid contamination then mostly you will be upgrading stable and the wine/sid portion will be stagnant. The system will likely not break, wine may. You may need to bring in individual packages with a care. Possible, you have lost the oversight provided by 'stable' or 'sid', the oversight is yours.

Re: [Solved] Wine32 Installation - error

Posted: 2023-12-11 16:04
by darek015
Ardouos wrote: 2023-12-10 22:12 I will assure you there will be future problems. I would recommend either reinstalling stable or committing to the full upgrade to sid (if you are up to it) instead of using a frankendebian system.
CwF wrote: 2023-12-10 23:45
darek015 wrote: 2023-12-10 17:33 I disabled the Sid repo again. I wonder if there will be further problems when installing other software or Debian 12.3 (without Sid repo).
Possibly, possibly not. It is a good idea to disable sid from here on out. If you didn't get much, or at all into the rest of the system with sid contamination then mostly you will be upgrading stable and the wine/sid portion will be stagnant. The system will likely not break, wine may. You may need to bring in individual packages with a care. Possible, you have lost the oversight provided by 'stable' or 'sid', the oversight is yours.
As I mentioned earlier for the moment I'll leave the system in its current state as a frankendebian system, as a test and see what happens next with it. However, after testing and checking the features that may be useful, a fresh version of Debian will be installed and this invention will be left as a sandbox.

Thanks again for your suggestions.