How to run Wine after installing libgl1-mesa-glx?

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
v_mil
Level 1
Level 1
Posts: 7
Joined: Sat Nov 05, 2011 2:56 pm

How to run Wine after installing libgl1-mesa-glx?

Post by v_mil »

When I could not plot by SciLab I installed Xorg-Edgers video. And WineHQ worked normally.
WineHQ can't start after I installed the library libgl1-mesa-glx ( a workaround of the bug https://bugs.launchpad.net/ubuntu/+sour ... bug/876195 ) and reverted to official Xorg by the command
"sudo ppa-purge xorg-edgers":

user@Notebook:~$ wine
bash: /usr/bin/wine: Нет такого файла или каталога
user@Notebook:~$

(This russian text means "No such file or folder")
What package(s) is now missing or incompatible???
Please help me! Many thanks for the assistance!
Soulcage
Level 3
Level 3
Posts: 67
Joined: Tue Jun 16, 2009 4:02 am

Post by Soulcage »

vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: How to run Wine after installing libgl1-mesa-glx?

Post by vitamin »

v_mil wrote:user@Notebook:~$ wine
bash: /usr/bin/wine: No such file or directory
Whatever you did uninstalled Wine. You'll have to ask your distro and read some manuals about how to use package manager.
v_mil
Level 1
Level 1
Posts: 7
Joined: Sat Nov 05, 2011 2:56 pm

Post by v_mil »

Yes, I do. I deleted a prefix .wine, removed all Wine applications by Ubuntu Software Center, uninstalled all packets related to WineHQ and finally use sudo apt-get purge, sudo apt-get autoremove. When I opened Ubuntu Software Center I lost all WineHQ entries. I verified /usr/bin/wine - and no such file.
And finally I reinstalled WineHQ usual way.
And the result is:

user@Notebook:~$ invalid
invalid: команду не знайдено
user@Notebook:~$ export WINEPREFIX=$HOME/.wine/
user@Notebook:~$ winecfg
exec: 29: /usr/bin/wine: not found

The first command is fully invalid. I test OS reaction.
The result translation is:
invalid: Command not found

But creating of wine prefix failed with absolutely different result.
The file /usr/bin/wine is PRESENT!

WineHQ works until my Xorg packets manipulations So, what is missing???
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

v_mil wrote:user@Notebook:~$ winecfg
exec: 29: /usr/bin/wine: not found
You managed to uninstall Wine. Install it back.
v_mil
Level 1
Level 1
Posts: 7
Joined: Sat Nov 05, 2011 2:56 pm

Post by v_mil »

I installed WineHQ usual way by apt://wine1.3.
I verified presence of a file /usr/bin/wine. It is present!
But when I try to run it anyway it answers: bash: /usr/bin/wine: Нет такого файла или каталога.
DaVince
Level 8
Level 8
Posts: 1099
Joined: Wed Oct 29, 2008 4:53 pm

Post by DaVince »

I've encountered something similar just once, but it worked after rebooting (or maybe even relogging in). Tried that?
v_mil
Level 1
Level 1
Posts: 7
Joined: Sat Nov 05, 2011 2:56 pm

Post by v_mil »

DaVince wrote:I've encountered something similar just once, but it worked after rebooting (or maybe even relogging in). Tried that?
Yes, I did. I performed shutdown and boot many times without any result.
v_mil
Level 1
Level 1
Posts: 7
Joined: Sat Nov 05, 2011 2:56 pm

YESS! Solved!

Post by v_mil »

I find a solution in a Bug 852111:
https://bugs.launchpad.net/ubuntu/+sour ... bug/852101

The workaround is a command:
sudo apt-get install --reinstall libc6-i386
Locked