https://bugs.winehq.org/show_bug.cgi?id=42663
Bug ID: 42663 Summary: Wine fails to install on Ubuntu 16.10 Product: Wine Version: 2.3 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: seanaubin@gmail.com Distribution: ---
Created attachment 57610 --> https://bugs.winehq.org/attachment.cgi?id=57610 Error output
On a relatively clean install of Ubuntu 16.10 with Kernel 4.10, I am able to install wine using the recommended method of adding the staging ppa and installing the staging package with the recommended installs. However, when I try to test the installation with `wine notepad` I get the errors which have been added in the attachment. The errors seem to be related to a failure to create directories. However, running wine with `sudo` doesn't seem to improve the situation.
https://bugs.winehq.org/show_bug.cgi?id=42663
--- Comment #1 from Austin English austinenglish@gmail.com --- (In reply to Sean Aubin from comment #0)
Created attachment 57610 [details] Error output
On a relatively clean install of Ubuntu 16.10 with Kernel 4.10, I am able to install wine using the recommended method of adding the staging ppa and installing the staging package with the recommended installs. However, when I try to test the installation with `wine notepad` I get the errors which have been added in the attachment. The errors seem to be related to a failure to create directories. However, running wine with `sudo` doesn't seem to improve the situation.
Don't run wine with sudo, see: https://wiki.winehq.org/FAQ#Should_I_run_Wine_as_root.3F
those errors seem more about trying to run as root and not having access to a display. If you rm -rf ~/.wine (may need sudo), and run as your regular user, what output do you get?
https://bugs.winehq.org/show_bug.cgi?id=42663
--- Comment #2 from Sean Aubin seanaubin@gmail.com --- (In reply to Austin English from comment #1)
(In reply to Sean Aubin from comment #0)
Created attachment 57610 [details] Error output
On a relatively clean install of Ubuntu 16.10 with Kernel 4.10, I am able to install wine using the recommended method of adding the staging ppa and installing the staging package with the recommended installs. However, when I try to test the installation with `wine notepad` I get the errors which have been added in the attachment. The errors seem to be related to a failure to create directories. However, running wine with `sudo` doesn't seem to improve the situation.
Don't run wine with sudo, see: https://wiki.winehq.org/FAQ#Should_I_run_Wine_as_root.3F
those errors seem more about trying to run as root and not having access to a display. If you rm -rf ~/.wine (may need sudo), and run as your regular user, what output do you get?
That output was as a regular user, however your proposed solution worked. What I think happened: - Copied `.wine` during a restore from a backup after upgrading from 16.04 to 16.10. - `wine` no longer had access to `.wine` so I got the error messages I posted in the attachment.
Thank you for your help. I may have been able to fix this issue myself if the error message had been more clear. Something like `wine cannot access the .wine directory`. Should I make this a usability issue?