Wine suddenly failing to start any of my bottles

Questions about Wine on Linux
Post Reply
Detzi
Newbie
Newbie
Posts: 2
Joined: Tue Mar 05, 2024 3:32 am

Wine suddenly failing to start any of my bottles

Post by Detzi »

Hi,
my wine installation suddently broke with these error messages:

Code: Select all

WINEARCH=win32 WINEPREFIX=~/tools/ise82/ winecfg
Fontconfig error: failed reading config file: /etc/fonts/conf.avail: Is a directory (errno 21)
wine: could not open working directory L"unix\\home\\matthias\\Downloads\\EDK82\\EDK8.2\\platform\\lin\\", starting in the Windows directory.
Fontconfig error: failed reading config file: /etc/fonts/conf.avail: Is a directory (errno 21)
Fontconfig error: failed reading config file: /etc/fonts/conf.avail: Is a directory (errno 21)
Fontconfig error: failed reading config file: /etc/fonts/conf.avail: Is a directory (errno 21)
0048:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hr 0x80004002
0048:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, hr 0x80004002
0048:err:ole:apartment_get_local_server_stream Failed: 0x80004002
I have several wine "bottles" that i have created myself and without any special tool. Each of them is broken and wont start the respective application. I Create my bottles/install the programms usually something along the lines of this:

Code: Select all

mkdir ~/.wine/LTspice
WINEARCH=win32 WINEPREFIX=~/.wine/LTspice/ winecfg
WINEPREFIX=~/.wine/LTspice/ wine ./LTspiceXVII.exe
adjusting just the dpi setting with winecfg. How can i fix this?

I tried to remove wine completely with:

Code: Select all

sudo apt-get --purge remove wine wine64 libwine fonts-wine
and

Code: Select all

sudo apt remove --purge wine
i also tried to reconfigure the fonts

Code: Select all

dpkg --force-depends --purge fontconfig-config
aptitude install fontconfig-config
dpkg-reconfigure fontconfig-config
in winecfg i can see under "Drives" that the mount manager failed to start as described here viewtopic.php?t=34631 and here https://forums.linuxmint.com/viewtopic.php?t=198356. The wine bottles all worked before and just stopped working. I cant remember what could have triggered that.
Detzi
Newbie
Newbie
Posts: 2
Joined: Tue Mar 05, 2024 3:32 am

Re: Wine suddenly failing to start any of my bottles

Post by Detzi »

Oh and i forgott to add that i am using Ubuntu 22.04 LTS with:

Code: Select all

wine --version
wine-6.0.3 (Ubuntu 6.0.3~repack-1)
Last edited by Detzi on Tue Mar 05, 2024 8:10 am, edited 1 time in total.
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: Wine suddenly failing to start any of my bottles

Post by jkfloris »

Which Wine packages do you have installed?

Code: Select all

dpkg -l | grep wine
If you are using Debian/Ubuntu packages, make sure you have the following packages installed:

Code: Select all

fonts-wine 
libwine:amd64
libwine:i386
wine
wine32:i386
wine32-preloader:i386
wine64
wine64-preloader
Do you have the same problem when you use the WineHQ Wine Packages?
Detzi
Newbie
Newbie
Posts: 2
Joined: Tue Mar 05, 2024 3:32 am

Re: Wine suddenly failing to start any of my bottles

Post by Detzi »

I had the packages installed but the preloader ones. I installed them but with no effect. Using the WineHQ Wine Packages fixed the problem leaving just the font errors.

Code: Select all

Fontconfig error: failed reading config file: /etc/fonts/conf.avail: Is a directory (errno 21)
Fontconfig error: failed reading config file: /etc/fonts/conf.avail: Is a directory (errno 21)
Fontconfig error: failed reading config file: /etc/fonts/conf.avail: Is a directory (errno 21)
Fontconfig error: failed reading config file: /etc/fonts/conf.avail: Is a directory (errno 21)
can i also somehow fix those? Thanks a lot for helping me out.
Post Reply