How to solve the unmet dependencies issue when to install wine32?

Questions about Wine on Linux
Locked
luofeiyu
Newbie
Newbie
Posts: 1
Joined: Mon Apr 27, 2020 11:37 pm

How to solve the unmet dependencies issue when to install wine32?

Post by luofeiyu »

Show my wine's version info:

Code: Select all

    wine --version
    it looks like wine32 is missing, you should install it.
    as root, please execute "apt-get install wine32"
    wine-1.8.7 (Debian 1.8.7-2)
Install wine32 according to the info.

Code: Select all

    sudo apt-get install -y wine32
    Reading 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:
     wine32:i386 : Depends: libwine:i386 (= 1.8.7-2) but it is not going to be installed
    E: Unable to correct problems, you have held broken packages.
Show more unmet dependencies when to install libwine:i386:

Code: Select all

    sudo apt install -y libwine:i386
    Reading 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:
     libwine:i386 : Depends: libglu1-mesa:i386 but it is not going to be installed or
                             libglu1:i386
                    Recommends: libgl1-mesa-glx:i386 but it is not going to be installed or
                                libgl1:i386
                    Recommends: libgl1-mesa-dri:i386 but it is not going to be installed
                    Recommends: libasound2-plugins:i386 but it is not going to be installed
    E: Unable to correct problems, you have held broken packages.
Try to install with `f` argument.

Code: Select all

    sudo apt-get -f install
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Does all dependencies install?

Code: Select all

    wine --version
    it looks like wine32 is missing, you should install it.
    as root, please execute "apt-get install wine32"
    wine-1.8.7 (Debian 1.8.7-2)
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: How to solve the unmet dependencies issue when to install wine32?

Post by jkfloris »

Save the trouble of installing version 1.8. This version of Wine is no longer supported.
You can use the WineHQ repo to install the latest version.
If you also have problems with this, post the output of:

Code: Select all

grep -R ^deb /etc/apt/sources.list*
Locked