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?