Failure to wineboot every time

Questions about Wine on Linux
Locked
ckolivas
Newbie
Newbie
Posts: 1
Joined: Sat Aug 28, 2021 7:34 am

Failure to wineboot every time

Post by ckolivas »

Hi. For some time now I've had some kind of progressive corruption of my wine prefixes, predominantly with a failure to create the relevant directories when a new prefix is being created. I've tried uninstalling and reinstalling wine multiple times (Ubuntu LTS wine-5.0 (Ubuntu 5.0-3ubuntu1)) and using the winehq staging 6.15 version as well. Presumably there's some kind of permission problem but I'm baffled as to what it is.

Creating a new template with wine, winecfg, wineboot etc. results in the following error every time:

Code: Select all

WINEPREFIX=/home/con/.wine.template winecfg
wine: created the configuration directory '/home/con/.wine.template'
0012:err:shell:SHGetFolderPathAndSubDirW Failed to create directory L"C:\\users\\con\\Desktop".
0012:err:shell:SHGetFolderPathAndSubDirW Failed to create directory L"C:\\users\\con\\Desktop".
0012:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
0012:err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
0012:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
0012:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
0012:err:ole:get_local_server_stream Failed: 80004002
0014:err:shell:SHGetFolderPathAndSubDirW Failed to create directory L"C:\\users\\con\\Desktop".
0014:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
0014:err:ole:marshal_object couldn't get IPSFactory buffer for interface {6d5140c1-7436-11ce-8034-00aa006009fa}
0014:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
0014:err:ole:CoMarshalInterface Failed to marshal the interface {6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
0014:err:ole:get_local_server_stream Failed: 80004002
0010:err:shell:SHGetFolderPathAndSubDirW Failed to create directory L"C:\\users\\con\\Application Data".
0010:err:shell:SHGetFolderPathAndSubDirW Failed to create directory L"C:\\users\\con\\Local Settings\\Application Data".
0010:err:shell:SHGetFolderPathAndSubDirW Failed to create directory L"C:\\users\\con\\Desktop".
0010:err:shell:SHGetFolderPathAndSubDirW Failed to create directory L"C:\\users\\con\\Desktop".
0010:err:shell:SHGetFolderPathAndSubDirW Failed to create directory L"C:\\users\\con\\Start Menu\\Programs".
0017:err:shell:SHGetFolderPathAndSubDirW Failed to create directory L"C:\\users\\con\\Local Settings\\Temporary Internet Files".
0017:err:wininet:cache_containers_init Couldn't get path for default container 0
0017:err:shell:SHGetFolderPathAndSubDirW Failed to create directory L"C:\\users\\con\\Local Settings\\History".
0017:err:wininet:cache_containers_init Couldn't get path for default container 1
0017:err:shell:SHGetFolderPathAndSubDirW Failed to create directory L"C:\\users\\con\\Cookies".
0017:err:wininet:cache_containers_init Couldn't get path for default container 2
0017:err:mscoree:LoadLibraryShim error reading registry key for installroot
0017:err:mscoree:LoadLibraryShim error reading registry key for installroot
0017:err:mscoree:LoadLibraryShim error reading registry key for installroot
0017:err:mscoree:LoadLibraryShim error reading registry key for installroot
0019:err:shell:SHGetFolderPathAndSubDirW Failed to create directory L"C:\\users\\con\\Local Settings\\Temporary Internet Files".
0019:err:wininet:cache_containers_init Couldn't get path for default container 0
0019:err:shell:SHGetFolderPathAndSubDirW Failed to create directory L"C:\\users\\con\\Local Settings\\History".
0019:err:wininet:cache_containers_init Couldn't get path for default container 1
0019:err:shell:SHGetFolderPathAndSubDirW Failed to create directory L"C:\\users\\con\\Cookies".
0019:err:wininet:cache_containers_init Couldn't get path for default container 2
0019:err:mscoree:LoadLibraryShim error reading registry key for installroot
0019:err:mscoree:LoadLibraryShim error reading registry key for installroot
0019:err:mscoree:LoadLibraryShim error reading registry key for installroot
0019:err:mscoree:LoadLibraryShim error reading registry key for installroot
0010:err:shell:SHGetFolderPathAndSubDirW Failed to create directory L"C:\\users\\con\\Local Settings\\Temporary Internet Files".
0010:err:wininet:cache_containers_init Couldn't get path for default container 0
0010:err:shell:SHGetFolderPathAndSubDirW Failed to create directory L"C:\\users\\con\\Local Settings\\History".
0010:err:wininet:cache_containers_init Couldn't get path for default container 1
0010:err:shell:SHGetFolderPathAndSubDirW Failed to create directory L"C:\\users\\con\\Cookies".
0010:err:wininet:cache_containers_init Couldn't get path for default container 2
001f:err:shell:SHGetFolderPathAndSubDirW Failed to create directory L"C:\\users\\con\\Local Settings\\Temporary Internet Files".
001f:err:wininet:cache_containers_init Couldn't get path for default container 0
001f:err:shell:SHGetFolderPathAndSubDirW Failed to create directory L"C:\\users\\con\\Local Settings\\History".
001f:err:wininet:cache_containers_init Couldn't get path for default container 1
001f:err:shell:SHGetFolderPathAndSubDirW Failed to create directory L"C:\\users\\con\\Cookies".
001f:err:wininet:cache_containers_init Couldn't get path for default container 2
003c:err:shell:SHGetFolderPathAndSubDirW Failed to create directory L"C:\\users\\con\\Local Settings\\Temporary Internet Files".
003c:err:wininet:cache_containers_init Couldn't get path for default container 0
003c:err:shell:SHGetFolderPathAndSubDirW Failed to create directory L"C:\\users\\con\\Local Settings\\History".
003c:err:wininet:cache_containers_init Couldn't get path for default container 1
003c:err:shell:SHGetFolderPathAndSubDirW Failed to create directory L"C:\\users\\con\\Cookies".
003c:err:wininet:cache_containers_init Couldn't get path for default container 2
0010:err:shell:SHGetFolderPathAndSubDirW Failed to create directory L"C:\\users\\con\\Desktop".
0010:err:shell:SHGetFolderPathAndSubDirW Failed to create directory L"C:\\users\\con\\Desktop".
0048:err:shell:SHGetFolderPathAndSubDirW Failed to create directory L"C:\\users\\con\\My Documents".
0048:err:shell:SHGetFolderPathAndSubDirW Failed to create directory L"C:\\users\\con\\Local Settings\\Temporary Internet Files".
0048:err:wininet:cache_containers_init Couldn't get path for default container 0
0048:err:shell:SHGetFolderPathAndSubDirW Failed to create directory L"C:\\users\\con\\Local Settings\\History".
0048:err:wininet:cache_containers_init Couldn't get path for default container 1
0048:err:shell:SHGetFolderPathAndSubDirW Failed to create directory L"C:\\users\\con\\Cookies".
0048:err:wininet:cache_containers_init Couldn't get path for default container 2
004a:err:shell:SHGetFolderPathAndSubDirW Failed to create directory L"C:\\users\\con\\Local Settings\\Temporary Internet Files".
004a:err:wininet:cache_containers_init Couldn't get path for default container 0
004a:err:shell:SHGetFolderPathAndSubDirW Failed to create directory L"C:\\users\\con\\Local Settings\\History".
004a:err:wininet:cache_containers_init Couldn't get path for default container 1
004a:err:shell:SHGetFolderPathAndSubDirW Failed to create directory L"C:\\users\\con\\Cookies".
004a:err:wininet:cache_containers_init Couldn't get path for default container 2
0067:err:shell:SHGetFolderPathAndSubDirW Failed to create directory L"C:\\users\\con\\Local Settings\\Temporary Internet Files".
0067:err:wininet:cache_containers_init Couldn't get path for default container 0
0067:err:shell:SHGetFolderPathAndSubDirW Failed to create directory L"C:\\users\\con\\Local Settings\\History".
0067:err:wininet:cache_containers_init Couldn't get path for default container 1
0067:err:shell:SHGetFolderPathAndSubDirW Failed to create directory L"C:\\users\\con\\Cookies".
0067:err:wininet:cache_containers_init Couldn't get path for default container 2
wine: configuration in L"/home/con/.wine.template" has been updated.
000b:err:shell:SHGetFolderPathAndSubDirW Failed to create directory L"C:\\users\\con\\Application Data".
000b:err:shell:SHGetFolderPathAndSubDirW Failed to create directory L"C:\\users\\con\\Local Settings\\Application Data".
Furthermore, winetricks seems to be having even more trouble with my install than ever before after multiple installs/uninstalls in what appears to be a related error on ANY new prefix, and now even on my existing working prefix. This only recently started.

Code: Select all

mkdir -p /home/con
------------------------------------------------------
You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
------------------------------------------------------
WINEPREFIX INFO:
Drive C: total 108
drwxrwxr-x 13 con con  4096 Aug 25 13:04 .
drwxrwxr-x  4 con con  4096 Aug 28 21:41 ..
drwxrwxr-x  6 con con  4096 Aug 24 12:16 ProgramData
drwxrwxr-x 11 con con  4096 Aug 28 10:44 Program Files
drwxrwxr-x  9 con con  4096 Jun 29 10:54 Program Files (x86)
drwxrwxr-x  4 con con  4096 Aug 24 12:22 users
drwxrwxr-x 21 con con  4096 Aug 28 10:44 windows

Registry info:
/home/con/.wine/system.reg:#arch=win64
/home/con/.wine/user.reg:#arch=win64
/home/con/.wine/userdef.reg:#arch=win64
------------------------------------------------------
------------------------------------------------------
wine cmd.exe /c echo '%AppData%' returned unexpanded string 'C:\Program Files (x86)' ... this can be caused by a corrupt wineprefix (`wineboot -u` may help), by an old wine, or by not owning /home/con/.wine
------------------------------------------------------
If I use wine-staging (v6.15) by prefixing it with WINE=/opt/wine-staging/bin/wine , winetricks will start fine, but both fail to create a working wineprefix, as no users are ever installed in the users/ directory.

This directory structure problem is VERY long standing for me and I thought normal for wine, but increasing corruptness seems to have set in and now it's almost unusable. I also don't see anyone else suffering from it when googling.

Thanks for any help.
Locked