Wine ne fonctionne plus

Bonjour,

Depuis quelques temps wine semble ne plus fonctionner sur ma sid.
Je ne l’utilise pas souvent donc je ne sais plus vraiment depuis quand et après avoir fait quoi.

Enfin en tout cas ici j’ai essayé d’installer Tropico et voici le message que j’ai :

debian@mart-laptop:~$ wine /cdrom/_SETUP/Setup.exe Wine cannot find the FreeType font library. To enable Wine to use TrueType fonts please install a version of FreeType greater than or equal to 2.0.5. http://www.freetype.org err:module:load_builtin_dll failed to load .so lib for builtin L"winex11.drv": libSM.so.6: cannot open shared object file: No such file or directory err:module:load_builtin_dll failed to load .so lib for builtin L"winex11.drv": libSM.so.6: cannot open shared object file: No such file or directory Application tried to create a window, but no driver could be loaded. Unknown error (127). err:ole:apartment_createwindowifneeded CreateWindow failed with error 0

Si je veux lancer Spotify

debian@mart-laptop:~$ wine .wine/drive_c/Program\ Files/Spotify/spotify.exe Wine cannot find the FreeType font library. To enable Wine to use TrueType fonts please install a version of FreeType greater than or equal to 2.0.5. http://www.freetype.org err:module:load_builtin_dll failed to load .so lib for builtin L"winex11.drv": libSM.so.6: cannot open shared object file: No such file or directory fixme:reg:GetNativeSystemInfo (0x6ea114) using GetSystemInfo() fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot fixme:thread:NtSetInformationThread info class 17 not supported yet fixme:imagehlp:CheckSumMappedFile (0x25f0000, 1957884, 0x730735, 0x730739): stub fixme:debugstr:CheckRemoteDebuggerPresent (0xffffffff)->(0x737260): Stub! err:module:load_builtin_dll failed to load .so lib for builtin L"winex11.drv": libSM.so.6: cannot open shared object file: No such file or directory Application tried to create a window, but no driver could be loaded. Unknown error (127).

ou même plus simplement

debian@mart-laptop:~$ winecfg Wine cannot find the FreeType font library. To enable Wine to use TrueType fonts please install a version of FreeType greater than or equal to 2.0.5. http://www.freetype.org err:module:load_builtin_dll failed to load .so lib for builtin L"winex11.drv": libSM.so.6: cannot open shared object file: No such file or directory err:module:load_builtin_dll failed to load .so lib for builtin L"winex11.drv": libSM.so.6: cannot open shared object file: No such file or directory Application tried to create a window, but no driver could be loaded. Unknown error (127). err:ole:apartment_createwindowifneeded CreateWindow failed with error 127

Il y a donc un probleme avec ce libSM.so.6 et le TrueType apparement. Mais je ne sais pas ce que c’est pour aucun des deux.
En cherchant un peu j’ai l’impression que c’est lié au 64 bit mais je ne trouve rien de conséquent

Merci d’avance

Salut,

Pour ton fichier manquant, fais un (et croise les doigts pour que ça résolve ton problème) :

debian@mart-laptop:~$ ln -s /usr/lib/libSM.so.6.0.0 /usr/lib/libSM.so.6 ln: creating symbolic link `/usr/lib/libSM.so.6': File exists debian@mart-laptop:~$ ls -l /usr/lib/libSM* -rw-r--r-- 1 root root 49178 2009-02-16 01:42 /usr/lib/libSM.a lrwxrwxrwx 1 root root 14 2009-05-09 11:15 /usr/lib/libSM.so -> libSM.so.6.0.0 lrwxrwxrwx 1 root root 14 2009-05-09 01:31 /usr/lib/libSM.so.6 -> libSM.so.6.0.0 -rw-r--r-- 1 root root 31864 2009-02-16 01:42 /usr/lib/libSM.so.6.0.0

Malheureusement j’ai déjà ce lien

euh je n’y connais pas des masses mais ça viendrait pas du fait que wine va chercher des libs en 32 bits et que vu ta signature les libs que tu as dans /usr/lib sont en 64… donc a priori c’est pas celle la qu’il veut. Et pour installer libSM en 32bits il faut installer le paquet ia32-libs qui a l’air un peu cassé ces temps cis…

FkY_

[quote=“Rizzen Virnn”]Wine cannot find the FreeType font library. To enable Wine to use TrueType fonts please install a version of FreeType greater than or equal to 2.0.5.[/quote]

:arrow_right: Le paquet libfreetype6 est-il bien installé ?

oui libfreetype6 est bien installé (version 2.3.9-5)

par contre pas la version 32 bit (ia32-libfreetype6) mais si je veux l’installer il me demande de virer un peu trop de truc à mon gout :

[code]debian@mart-laptop:~$ sudo aptitude install ia32-libfreetype6
Reading package lists… Done
Building dependency tree
Reading state information… Done
Reading extended state information
Initializing package states… Done
Reading task descriptions… Done
The following packages are BROKEN:
ia32-libs-libidn11 ia32-libs-libnspr4 ia32-libs-libssh2 nspluginwrapper
picasa wine
The following NEW packages will be installed:
ia32-libfreetype6
The following packages will be REMOVED:
ia32-libs{a} ia32-libs-gtk{a}
0 packages upgraded, 1 newly installed, 2 to remove and 42 not upgraded.
Need to get 394kB of archives. After unpacking 668kB will be used.
The following packages have unmet dependencies:
nspluginwrapper: Depends: ia32-libs (>= 2.4) but it is not installable
Depends: ia32-libs-gtk but it is not installable
ia32-libs-libidn11: Depends: ia32-libs (>= 1.19) but it is not installable
ia32-libs-libssh2: Depends: ia32-libs (>= 1.19) but it is not installable
wine: Depends: ia32-libs but it is not installable
picasa: Depends: ia32-libs but it is not installable
ia32-libs-libnspr4: Depends: ia32-libs (>= 1.19) but it is not installable
open: 11; closed: 7; defer: 0; conflict: 4 .The following actions will resolve these dependencies:

Remove the following packages:
ia32-libs-libidn11
ia32-libs-libnspr4
ia32-libs-libssh2
nspluginwrapper
picasa
wine

Score is 466

Accept this solution? [Y/n/q/?] q
Abandoning all efforts to resolve these dependencies.
Abort.[/code]

dois je accepter ?

(si je passe par synaptic, il veut aussi me supprimer ia32-lib…)

pour le libSM, j’ai bien un ia32-libsm6 mais il me demande de supprimer la meme chose

Sachant que ton objectif, c’est d’utiliser wine, et non le désinstaller, je dirais non :smiley:

Essaie d’installer ia32-libs et ia32-libs-gtk pour voir ce qu’il te balance comme erreur. J’ai lu que le premier (donc le second aussi) entrait en conflit avec libc6.

[code]debian@mart-laptop:~$ sudo aptitude install ia32-libs ia32-libs-gtk
Reading package lists… Done
Building dependency tree
Reading state information… Done
Reading extended state information
Initializing package states… Done
Reading task descriptions… Done
The following packages are BROKEN:
ia32-apt-get ia32-libs-libidn11 ia32-libs-libnspr4 ia32-libs-libssh2
nspluginwrapper picasa wine
The following packages will be REMOVED:
ia32-libs{a}
The following packages will be upgraded:
ia32-libs-gtk
2 packages upgraded, 0 newly installed, 1 to remove and 3 not upgraded.
Need to get 23.3kB of archives. After unpacking 131kB will be freed.
The following packages have unmet dependencies:
nspluginwrapper: Depends: ia32-libs (>= 2.4) but it is not installable
ia32-apt-get: Conflicts: ia32-libs-gtk but 21 is to be installed.
ia32-libs-libidn11: Depends: ia32-libs (>= 1.19) but it is not installable
ia32-libs-libssh2: Depends: ia32-libs (>= 1.19) but it is not installable
wine: Depends: ia32-libs but it is not installable
picasa: Depends: ia32-libs but it is not installable
ia32-libs-libnspr4: Depends: ia32-libs (>= 1.19) but it is not installable
open: 5; closed: 3; defer: 0; conflict: 2 .The following actions will resolve these dependencies:

Remove the following packages:
ia32-libs-libidn11
ia32-libs-libnspr4
ia32-libs-libssh2
nspluginwrapper
picasa
wine

Keep the following packages at their current version:
ia32-apt-get [18 (now)]
ia32-libs-gtk [18 (now)]

Score is -9456

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

Remove the following packages:
ia32-libs-libidn11
ia32-libs-libnspr4
ia32-libs-libssh2
nspluginwrapper
picasa

Keep the following packages at their current version:
ia32-apt-get [18 (now)]
ia32-libs-gtk [18 (now)]

Downgrade the following packages:
wine [1.1.26~winehq1-1 (sid, now) -> 1.1.15~winehq1-1 (sid, sid)]

Score is -9497

Accept this solution? [Y/n/q/?] y
The following packages will be DOWNGRADED:
wine
The following packages have been kept back:
ia32-libs-gtk
The following packages will be REMOVED:
ia32-libs{a} ia32-libs-libidn11{a} ia32-libs-libnspr4{a} ia32-libs-libssh2{a} nspluginwrapper{a} picasa{a}
0 packages upgraded, 0 newly installed, 1 downgraded, 6 to remove and 5 not upgraded.
Need to get 7007kB of archives. After unpacking 117MB will be freed.
Do you want to continue? [Y/n/?] n
Abort.
[/code]

La deuxième proposition me semblait bonne mais en fin de compte il me demande quand même de retirer plein de truc. C’est quoi les paquets qui se finissent pas un {a} ou {u} ?

edit : je joins le log de la commande quand je fais un update et safe-upgrade parce que le résultat me semble étrange. Je mets aussi mon sources.list au cas où…
Je n’ai pas réussi a utiliser le service du forum qui me refusais mes fichiers mais j’ai trouvé ce site, je sais pas si c’est le mieux… pastebin.com/m379bfe8 (sources.list)

Oui ben alors c’est effectivement la même chose qui m’est arrivée et en faisant pas trop gaffe ça a supprimé ia32-libs et c’est pas tres cool. C’est un bug qui a l’air du au fait que la hiérarchie des libs 32 bits sont entrain d’être modifiées et posent des problèmes avec certains paquets pour l’instant.

Voir ce bug report : http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=535154 et http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=535097.

Donc “wait and see” ?