[SOLVED] Can't install Wine on amd64

Archived topics about LMDE 1 and LMDE 2
Locked
MeV

[SOLVED] Can't install Wine on amd64

Post by MeV »

Hi,

I've got my first dependencies problem on LMDE.
I would like to install wine and tried both methodes listed in this topic : http://forums.linuxmint.com/viewtopic.php?f=141&t=76928

Each time, I've got the same error :
wine is not installable because ia32-libs is not installable,
ia32libs is not installable because libc6-i386 is not installable,
and libc6-i386 is not installable because it depends on libc6 which is in the wrong version (2.13-10 instead of 2.13-7).

The problem is that when I try to force libc6 version to 2.13-7, synaptic wants to uninstall many packages.
Some of them are really important such as apt, bash, linux-headers, linux-image, ... :shock:

The worst is that I don't know from which repository comes this version 2.13-10 of libc6. In synaptic, it appears to be a local package...

I don't know what I'm supposed to do to correct the problem.

Did I do something wrong ?

Thanks for your help

PS : I'm tracking the "Mint Latest" repo but on first update I was tracking "Debian testing"
My sources.list :

Code: Select all

deb http://packages.linuxmint.com/ debian main upstream import
deb-src http://packages.linuxmint.com/ debian main upstream import #Added by software-properties
# deb http://ftp.debian.org/debian testing main contrib non-free
deb http://security.debian.org/ testing/updates main contrib non-free #Debian Security
deb-src http://security.debian.org/ testing/updates main contrib non-free #Debian Security (Source)
# deb http://debian.linuxmint.com/incoming testing main contrib non-free #LMDE Incoming
# deb-src http://debian.linuxmint.com/incoming testing main contrib non-free #LMDE Incoming (Source)
deb http://debian.linuxmint.com/latest testing main contrib non-free #LMDE Latest (Source)
deb-src http://debian.linuxmint.com/latest testing main contrib non-free #LMDE Latest (Source)
# deb http://www.debian-multimedia.org sid main non-free #Debian Multimedia Sid
# deb-src http://www.debian-multimedia.org sid main non-free #Debian Multimedia Sid (Source)
deb http://www.debian-multimedia.org testing main non-free #Debian Multimedia Testing
deb-src http://www.debian-multimedia.org testing main non-free #Debian Multimedia Testing (Source)
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
MeV

Re: Can't install Wine on amd64

Post by MeV »

Yes like I said, I tried all methods listed in this topic.
Each time I have this error...
samriggs

Re: Can't install Wine on amd64

Post by samriggs »

Weird, I installed it on the wifes computer no problem.
I downloaded all the deb files form HERE
for the Binary packages amd64 packages and installed them all no problem.
Mind you I had to start with installing libwine-unstable_1.3.21-0.1 first I think it was that one or else it came up warning me to install which package first.
Did you try and get it through the repos or did you download the debs instead?
(just in case you didn't try this method)
Maybe check out wine and ask them also if you still have issues, wine forum just some added ways of trying to help you find an answer.
Plus that source list looks huge :shock:
Maybe this will help with your source list http://forums.linuxmint.com/viewtopic.php?f=141&t=76556
unless you want sid in there for some other reason.
MeV

Re: Can't install Wine on amd64

Post by MeV »

Thanks for your answer samriggs,

I will have a look at the wine forum but I don't think it is a wine related problem but just a dependencies problem with libc6.

For my sources.list, I checked in the thread you gave me and I have the same repos.
I have some repos deactivated like "Debian testing" which I use before or Debian security Sid because I had a problem with 2ManDVD : the package was broken in Testing and I had to install it from Sid (anyway it did not install anything than 2mandvd and 2mandvd-data packages from this repo).
And I have also activated source repos to have the changelog in Mint Update.

I'm not saying that everything I did is OK because it is not : I have this libc6 problem.
But I don't unterstand why this version of libc6 had been installed and why I can't come back to the old version.
samriggs

Re: Can't install Wine on amd64

Post by samriggs »

ya its a weird one I just checked and I have libc6 version 2.13-10 installed on mine but I just updated and am running a 32 bit machine the wifes is a 64 bit but has version 2.13-7 hmmm maybe I should tell her not to update if its gona mess up wine that way, but mine works fine with the updated libc6, maybe its just a 64 issue. very strange but I had wine installed before it updated on me so maybe thats why its ok.

I just googled this here is some others having issues also maybe you can get more help here also by asking
http://forums.debian.net/viewtopic.php?f=5&t=65911
an ubuntu one but might be helpful
http://ubuntuforums.org/showthread.php?t=1711629
Either way it seems like a bug in the machine with that version as I googled it it seems a lot of folks are having issues with this version for various things besides wine, hopefully this will get fix, one person actually did a reinstall and that fixed it, but you shouldn't have to go that far.
Hopefully the debian forum can help out since it came from testing.
GregE

Re: Can't install Wine on amd64

Post by GregE »

MeV

You should have testing active as that is the final resting place for all packages before moving to stable. So even with sid active you still need testing. The system will always take the newest version unless you make it do otherwise.

from a terminal run
sudo apt-get clean

Then activate testing in your list.

sudo apt-get update

Download all the 64bit debs into a folder from the repo Sam linked above then from a term change into that folder and run
sudo dpkg -i *.deb

You will get errors but let it run

then run this command
sudo apt-get -f install

This will fix the missing bits.

If wine will still not install open Synaptic and click on the errant libc6 and use the force version command from the menus -> package -> Force version. When there are multiple versions available it will let you force an older one without uninstalling half your system

good luck
samriggs

Re: Can't install Wine on amd64

Post by samriggs »

Thanks Greg
I'll save this one for myself in case I run into this problem also
MeV

Re: Can't install Wine on amd64

Post by MeV »

Thanks GregE for your help.

I tried to follow your process :

Code: Select all

sudo apt-get clean
sudo apt-get update
Downlad all 64 bits wine packages from http://frickelplatz.de/debian/
sudo dpkg - i *.deb
sudo apt-get -f install
Here are the outputs :

Code: Select all

$ sudo dpkg -i wine_1.3.26-0.frickel.1_amd64.deb 
Selecting previously deselected package wine.
(Reading database ... 191610 files and directories currently installed.)
Unpacking wine (from wine_1.3.26-0.frickel.1_amd64.deb) ...
dpkg: dependency problems prevent configuration of wine:
 wine depends on ia32-libs (>= 1.6); however:
  Package ia32-libs is not installed.
 wine depends on lib32asound2 (>> 1.0.14); however:
  Package lib32asound2 is not installed.
 wine depends on libc6-i386 (>= 2.6-1); however:
  Package libc6-i386 is not installed.
dpkg: error processing wine (--install):
 dependency problems - leaving unconfigured
Processing triggers for gnome-menus ...
Processing triggers for desktop-file-utils ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for man-db ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Errors were encountered while processing:
 wine

Code: Select all

$ sudo aptitude -f install
The following NEW packages will be installed:
  firefox-l10n-en-us{b} live-initramfs live-installer{b} mint-meta-debian{b} ntfsprogs startupmanager 
  thunderbird-l10n-en-us{b} 
The following packages will be REMOVED:
  debhelper{u} docbook-xsl{u} docbook-xsl-doc-html{u} gir1.2-gconf-2.0{u} html2text{u} icoutils{u} intltool-debian{u} 
  libart-2.0-dev{u} libatk1.0-dev{u} libavahi-common-dev{u} libavahi-glib-dev{u} libbonobo2-dev{u} 
  libcairo-script-interpreter2{u} libcairo2-dev{u} libcanberra-dev{u} libexpat1-dev{u} libffi-dev{u} libfontconfig1-dev{u} 
  libfreetype6-dev{u} libgcrypt11-dev{u} libglib2.0-bin{u} libglib2.0-dev{u} libgnome-keyring-dev{u} libgnutlsxx26{u} 
  libgpg-error-dev{u} libice-dev{u} libidl-dev{u} libmail-sendmail-perl{u} liborbit2-dev{u} libpango1.0-dev{u} 
  libpixman-1-dev{u} libpng12-dev{u} libpopt-dev{u} libselinux1-dev{u} libsepol1-dev{u} libsm-dev{u} 
  libsys-hostname-long-perl{u} libvncserver0{u} libxcb-render0-dev{u} libxcb-shm0-dev{u} libxcomposite-dev{u} 
  libxcursor-dev{u} libxdamage-dev{u} libxfixes-dev{u} libxft-dev{u} libxi-dev{u} libxinerama-dev{u} libxml2-dev{u} 
  libxrandr-dev{u} libxrender-dev{u} orbit2{u} po-debconf{u} python-gtk2-doc{u} unzip{u} virtualbox-dkms{u} 
  x11proto-composite-dev{u} x11proto-damage-dev{u} x11proto-fixes-dev{u} x11proto-randr-dev{u} x11proto-render-dev{u} 
  x11proto-xinerama-dev{u} zlib1g-dev{u} 
The following partially installed packages will be configured:
  wine{b} 
The following packages are RECOMMENDED but will NOT be installed:
  cryptsetup 
0 packages upgraded, 7 newly installed, 62 to remove and 1 not upgraded.
Need to get 5559 kB of archives. After unpacking 89.3 MB will be freed.
The following packages have unmet dependencies:
  thunderbird-l10n-fr: Conflicts: thunderbird-l10n which is a virtual package.
  mint-meta-debian: Depends: mint-meta-common but it is not going to be installed.
                    Depends: mint-meta-codecs but it is not going to be installed.
  thunderbird-l10n-en-us: Conflicts: thunderbird-l10n which is a virtual package.
  live-installer: Depends: python-geoip but it is not going to be installed.
  firefox-l10n-fr: Conflicts: firefox-l10n which is a virtual package.
  wine: Depends: ia32-libs (>= 1.6) but it is not going to be installed.
        Depends: lib32asound2 (> 1.0.14) but it is not going to be installed.
        Depends: libc6-i386 (>= 2.6-1) but it is not going to be installed.
  firefox-l10n-en-us: Conflicts: firefox-l10n which is a virtual package.
  ntfs-3g: Conflicts: ntfsprogs but 2.0.0-1+b1 is to be installed.
The following actions will resolve these dependencies:

     Remove the following packages:                       
1)     wine                                               

     Keep the following packages at their current version:
2)     firefox-l10n-en-us [Not Installed]                 
3)     live-installer [Not Installed]                     
4)     mint-meta-debian [Not Installed]                   
5)     ntfsprogs [Not Installed]                          
6)     thunderbird-l10n-en-us [Not Installed]             



Accept this solution? [Y/n/q/?]
Then I tried to force version 2.13-7 of libc6 using synaptic but, like I said in my first post, synaptic wanted to remove nearly all packages from my system.
So I tried to downgrade libc6 from 2.13-10 to 2.13-7 using aptitude. He first wanted to remove wine but I said no and he came with another solution :

Code: Select all

$ sudo aptitude install libc6=2.13-7 -V
The following packages will be DOWNGRADED:
  libc6{b} [2.13-10 -> 2.13-7]  
The following partially installed packages will be configured:
  wine{b}  
0 packages upgraded, 0 newly installed, 1 downgraded, 0 to remove and 1 not upgraded.
Need to get 4314 kB of archives. After unpacking 4096 B will be freed.
The following packages have unmet dependencies:
  wine: Depends: ia32-libs (>= 1.6) but it is not going to be installed.
        Depends: lib32asound2 (> 1.0.14) but it is not going to be installed.
        Depends: libc6-i386 (>= 2.6-1) but it is not going to be installed.
  libc6-dev: Depends: libc6 (= 2.13-10) but 2.13-7 is to be installed.
  libc6: Depends: libc-bin (= 2.13-7) but 2.13-10 is installed.
The following actions will resolve these dependencies:

     Remove the following packages:                       
1)     wine                                               

     Keep the following packages at their current version:
2)     libc6 [2.13-10 (now)]                              



Accept this solution? [Y/n/q/?] n
The following actions will resolve these dependencies:

      Install the following packages:                   
1)      ia32-libs [20110609 (testing)]                  
2)      lib32asound2 [1.0.23-4 (testing)]               
3)      lib32bz2-1.0 [1.0.5-6 (testing)]                
4)      lib32gcc1 [1:4.6.1-4 (testing)]                 
5)      lib32ncurses5 [5.9-1 (testing)]                 
6)      lib32stdc++6 [4.6.1-4 (testing)]                
7)      lib32v4l-0 [0.8.4-3 (testing)]                  
8)      lib32z1 [1:1.2.3.4.dfsg-3 (testing)]            
9)      libc6-i386 [2.13-7 (testing)]                   

      Downgrade the following packages:                 
10)     libc-bin [2.13-10 (now) -> 2.13-7 (testing)]    
11)     libc-dev-bin [2.13-10 (now) -> 2.13-7 (testing)]
12)     libc6-dev [2.13-10 (now) -> 2.13-7 (testing)]   
13)     libv4l-0 [0.8.5-1 (now) -> 0.8.4-3 (testing)]   



Accept this solution? [Y/n/q/?] y
The following packages will be DOWNGRADED:
  libc-bin [2.13-10 -> 2.13-7]  libc-dev-bin [2.13-10 -> 2.13-7]  libc6 [2.13-10 -> 2.13-7]  
  libc6-dev [2.13-10 -> 2.13-7]  libv4l-0 [0.8.5-1 -> 0.8.4-3]  
The following NEW packages will be installed:
  ia32-libs{a} [20110609]  lib32asound2{a} [1.0.23-4]  lib32bz2-1.0{a} [1.0.5-6]  lib32gcc1{a} [1:4.6.1-4]  
  lib32ncurses5{a} [5.9-1]  lib32stdc++6{a} [4.6.1-4]  lib32v4l-0{a} [0.8.4-3]  lib32z1{a} [1:1.2.3.4.dfsg-3]  
  libc6-i386{a} [2.13-7]  
The following partially installed packages will be configured:
  wine  
0 packages upgraded, 9 newly installed, 5 downgraded, 0 to remove and 1 not upgraded.
Need to get 43.8 MB/47.8 MB of archives. After unpacking 96.9 MB will be used.
Do you want to continue? [Y/n/?] y
Get:1 http://debian.linuxmint.com/latest/ testing/main libc6 amd64 2.13-7 [4314 kB]
Get:2 http://debian.linuxmint.com/latest/ testing/main libc6-i386 amd64 2.13-7 [3832 kB]
Get:3 http://debian.linuxmint.com/latest/ testing/main lib32bz2-1.0 amd64 1.0.5-6 [39.4 kB]                                    
Get:4 http://debian.linuxmint.com/latest/ testing/main lib32asound2 amd64 1.0.23-4 [376 kB]                                    
Get:5 http://debian.linuxmint.com/latest/ testing/main lib32gcc1 amd64 1:4.6.1-4 [54.1 kB]                                     
Get:6 http://debian.linuxmint.com/latest/ testing/main lib32ncurses5 amd64 5.9-1 [358 kB]                                      
Get:7 http://debian.linuxmint.com/latest/ testing/main lib32stdc++6 amd64 4.6.1-4 [352 kB]                                     
Get:8 http://debian.linuxmint.com/latest/ testing/main libv4l-0 amd64 0.8.4-3 [118 kB]                                         
Get:9 http://debian.linuxmint.com/latest/ testing/main lib32v4l-0 amd64 0.8.4-3 [89.5 kB]                                      
Get:10 http://debian.linuxmint.com/latest/ testing/main lib32z1 amd64 1:1.2.3.4.dfsg-3 [76.1 kB]                               
Get:11 http://debian.linuxmint.com/latest/ testing/main ia32-libs amd64 20110609 [34.2 MB]                                     
Fetched 40.9 MB in 1min 44s (392 kB/s)                                                                                         
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "en"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Preconfiguring packages ...
dpkg: warning: downgrading libc-dev-bin from 2.13-10 to 2.13-7.
(Reading database ... 192877 files and directories currently installed.)
Preparing to replace libc-dev-bin 2.13-10 (using .../libc-dev-bin_2.13-7_amd64.deb) ...
Unpacking replacement libc-dev-bin ...
dpkg: warning: downgrading libc6-dev from 2.13-10 to 2.13-7.
Preparing to replace libc6-dev 2.13-10 (using .../libc6-dev_2.13-7_amd64.deb) ...
Unpacking replacement libc6-dev ...
dpkg: warning: downgrading libc-bin from 2.13-10 to 2.13-7.
Preparing to replace libc-bin 2.13-10 (using .../libc-bin_2.13-7_amd64.deb) ...
Unpacking replacement libc-bin ...
Processing triggers for man-db ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Setting up libc-bin (2.13-7) ...
dpkg: warning: downgrading libc6 from 2.13-10 to 2.13-7.
(Reading database ... 192877 files and directories currently installed.)
Preparing to replace libc6 2.13-10 (using .../libc6_2.13-7_amd64.deb) ...
Unpacking replacement libc6 ...
Setting up libc6 (2.13-7) ...
Selecting previously deselected package libc6-i386.
(Reading database ... 192877 files and directories currently installed.)
Unpacking libc6-i386 (from .../libc6-i386_2.13-7_amd64.deb) ...
Setting up libc6-i386 (2.13-7) ...
Selecting previously deselected package lib32bz2-1.0.
(Reading database ... 193179 files and directories currently installed.)
Unpacking lib32bz2-1.0 (from .../lib32bz2-1.0_1.0.5-6_amd64.deb) ...
Selecting previously deselected package lib32asound2.
Unpacking lib32asound2 (from .../lib32asound2_1.0.23-4_amd64.deb) ...
Selecting previously deselected package lib32gcc1.
Unpacking lib32gcc1 (from .../lib32gcc1_1%3a4.6.1-4_amd64.deb) ...
Selecting previously deselected package lib32ncurses5.
Unpacking lib32ncurses5 (from .../lib32ncurses5_5.9-1_amd64.deb) ...
Selecting previously deselected package lib32stdc++6.
Unpacking lib32stdc++6 (from .../lib32stdc++6_4.6.1-4_amd64.deb) ...
dpkg: warning: downgrading libv4l-0 from 0.8.5-1 to 0.8.4-3.
Preparing to replace libv4l-0 0.8.5-1 (using .../libv4l-0_0.8.4-3_amd64.deb) ...
Unpacking replacement libv4l-0 ...
Selecting previously deselected package lib32v4l-0.
Unpacking lib32v4l-0 (from .../lib32v4l-0_0.8.4-3_amd64.deb) ...
Selecting previously deselected package lib32z1.
Unpacking lib32z1 (from .../lib32z1_1%3a1.2.3.4.dfsg-3_amd64.deb) ...
Selecting previously deselected package ia32-libs.
Unpacking ia32-libs (from .../ia32-libs_20110609_amd64.deb) ...
Setting up libc-dev-bin (2.13-7) ...
Setting up libc6-dev (2.13-7) ...
Setting up lib32bz2-1.0 (1.0.5-6) ...
Setting up lib32asound2 (1.0.23-4) ...
Setting up lib32gcc1 (1:4.6.1-4) ...
Setting up lib32ncurses5 (5.9-1) ...
Setting up lib32stdc++6 (4.6.1-4) ...
Setting up libv4l-0 (0.8.4-3) ...
Setting up lib32z1 (1:1.2.3.4.dfsg-3) ...
Setting up lib32v4l-0 (0.8.4-3) ...
Setting up ia32-libs (20110609) ...
Setting up wine (1.3.26-0.frickel.1) ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
                                         
Current status: 0 broken [-1].
I don't know why synaptic and aptitude don't use the same solution to resolve conflicts but, in this case, aptitude is way better !
Now I have Wine working fine and, when I launch synaptic, he don't ask to upgrade libc6 to 2.13-10.
I think the update has been made because, at this particular moment, no package installed were in conflict with libc6 2.13-10 but then I tried to install wine and it depends on ia32-libs which conflicts with libc6 2.13-10.

Am I wrong ? (I'm new, I want to understand what happened...)

Anyway, many thanks guys for your help
GregE

Re: [SOLVED] Can't install Wine on amd64

Post by GregE »

One last thing in this thread, often the simplest solution to wine problems is to install Playonlinux. Playonlinux downloads and installs it's own versions on wine and runs them from your home folder and allows multiple versions of wine. You can nominate a wine version for each executable. I have some old 1995 Directx3 games that run beautifully under Playonlinux using wine 1.2.5, but will not work with wine 1.3. Playonlinux has both 64bit and 32bit versions, but I have had better results with the 32bit version. Installation inside of Playonlinux can be a bit convoluted but you get there in the end.

Just for future reference.

@MeV

I think you analysis if the libc6 dependencies is correct. LMDE is meant to be run on testing so when you dip into sid or experimental you have to be careful not to introduce dependency hell. You could have solved the issue (maybe) by getting a newer version of ia32-libs from up the tree, but then possibly introduce new problems. Many people run sid as their system, but they also have to accept breakages as way of life. Testing can break too, just not as often. Anyway I am pleased you have resolved your problems.
Locked

Return to “LMDE Archive”