Installed wine from the Software Center and kept getting errors when trying to load Windows programs.
Uninstalled and did the apt-get installation of the latest version (1. 5. 7)
Ran Wine configuration and get a "Failed to connect to the mount manager, the drive configuration cannot be edited"
If I try to install a program it immediately goes to "Internal error".
Ran winecfg and got the following:
Getting server_pid from lock 2457
wine: cannot get pid from lock (lock isn't locked)
Err: processtart_wineboot failed to start wineboot, err 1359
P11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file:
No such file or directory
Getting server_pid from lock 2457
Wine: cannot get pid from lock (lock isn't locked)
Err: winecfg: WinMain failed to restart 64-bit L"C:\\Windows\\system32\\winecfg.exe", err 1359
Getting server_pid from lock 2457
Wine: cannot get pid from lock (lock isn't locked) 6 5 Answers
I was running Wine 1.5.7 perfectly well on 12.04 but after an upgrade this morning I started getting the errors you describe. It was the 1.5.7-0ubuntu3-pulse18 versions that were the problem.
(EDIT: Thanks to swift work on the part of the Wine packaging team, you can now upgrade away from the troublesome version. Try that first before attempting the downgrade method below.)
Fortunately I still had the 0ubuntu2 versions in my cache so I could downgrade like so (I'm on 64-bit, so if you're on 32-bit the dpkg line will be different).
cd /var/cache/apt/archives/
sudo dpkg -i wine1.5_1.5.7-0ubuntu2~pulse18_amd64.deb wine1.5-amd64_1.5.7-0ubuntu2~pulse18_amd64.deb wine1.5-i386_1.5.7-0ubuntu2~pulse18_i386.deb
sudo apt-get -f installHaving done so Wine is working again. If you don't have these packages you can get them here:
In which case, run the dpkg command from where you downloaded them, rather than your apt cache.
6I have had much success with crossover () and my coworkers have found success with oracle's virtual machine virtual box ( ) As far as completely open source wares go, I haven't gotten Ubuntu to install office 2007 using the standard wine distro.
2Have you tried to install the WINE Launchpad PPA yet? This is different from the Software Center. Updates to WINE are delivered via their PPA.
After doing that, try installing again.
And be sure to NOT be installing or removing any other packages during the install. Applications have to get a "lock" to prevent other packages from installing/uninstalling when it is trying to install/uninstall.
1I've run into the same problem. Looking at your error output it looks like Wine can't find the gnome-keyring-pkcs11.so file which should be located in /usr/lib/i386-linux-gnu/pkcs11.
In the terminal try typing
sudo find / -name gnome-keyring-pkcs11.soThe sudo will allow you to look inside folders that you may not normally have access to. If it can't find gnome-keyring-pkcs11.so then the problem is just that the file doesn't exist and as a Linux noob I'm not sure where to go from there. If it DOES exist but isn't in that folder then you will need to either copy the file to that location or create a link to it and put the link in /usr/lib/i386-linux-gnu/pkcs11.
I haven't tried this out yet but I will as soon as I get a chance.
1This is due to multiarch, unless it will break some stuff , just try this once multiarch set :
apt-file search gnome-keyring-pkcs11.so
#| gnome-keyring: /usr/lib/x86_64-linux-gnu/pkcs11/gnome-keyring-pkcs11.so
sudo aptitude install gnome-keyring:i386--