UbuntuStudio WineHQ doesn't work because system says the wineprefix is wrong

al flag

I use Ubuntu Studio 20.04.3 LTS 64 bit installation.

I uninstalled and re-installed Wine, yesterday (Sunday, Sept. 5, 2021), to try to fix some problems.

And... Yesterday all about Wine worked so fine!

Today (monday), I powered-on my PC, all the system started so fine, but... Wine doesn't work, here, now!

I just get this error message:

wine cmd.exe /c echo '%AppData%' returned empty string, error message "wine: WINEARCH set to win32 but '/home/jjpg/.wine' is a 64-bit installation."

That message is so weird because I tested the /etc/enviroment file and I can cleary read:


So, I opened a terminal and used the sudo privilege to change this with:

WINEPREFIX="home/.wine" WINEPREFIX=win64 wine wineboot

But... Even the fact I'm the only one SuperUser here, I got the following message:

wine: '/home/jjpg/.wine' is not owned by you


How could it be possible the system tells I'm not the owner of myself installation if I opened that terminal with my sudo privileges?

What's wrong here?

Is there some other way to change that "WINEPREFIX" from 32 to 64 bit? How?

waltinator avatar
it flag
Read carefully. It's complaining about "`WINEARCH`", not"`WINEPREFIX`" .
Juan avatar
al flag
@waltinator Thank You So Much!!! It was my fault. Sorry!!!

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.