Linux wine install successfully under Err:process:init_windows_dirs directory L "C://windows__linux

Source: Internet
Author: User
Tags globs
(1) Suppose I want to run a program under Windows

[Root@localhost ~]# Wine A
Err:process:init_windows_dirs directory L "C://windows" could not is created, error 2
Err:process:init_windows_dirs directory L "C://windows//system32" could not is created, error 3
Warning:could not find DOS drive for current working directory '/root ', starting in the Windows directory.
Err:process:init_windows_dirs directory L "C://windows" could not is created, error 2
Err:process:init_windows_dirs directory L "C://windows//system32" could not is created, error 3
Warning:could not find DOS drive for current working directory '/', starting in the Windows directory.

Err:wineboot:main cannot set the dir to L "C://windows" (2)
Err:process:init_windows_dirs directory L "C://windows" could not is created, error 2
Err:process:init_windows_dirs directory L "C://windows//system32" could not is created, error 3
Warning:could not find DOS drive for current working directory '/', starting in the Windows directory.
Err:process:init_windows_dirs directory L "C://windows" could not is created, error 2
Err:process:init_windows_dirs directory L "C://windows//system32" could not is created, error 3
Warning:could not find DOS drive for current working directory '/', starting in the Windows directory.
Wine:could not load L ' C://windows//system32//a.exe ': Module not found

The above error occurred

(2) Then I run the following command ([root@localhost ~]# after command)
[root@localhost ~]# sudo rm-rf ~/.wine
[Root@localhost ~]# apt-get Remove--purge
Reading Package Lists ... Done
Building Dependency Tree ... Done
You are might want to run ' apt-get--fix-broken install ' to correct.
The following packages have unmet dependencies:
BOOTY:DEPENDS:RHPL but it is not installable
Hplip-gui:depends:hplip (= 1.7.2-1)
Redoffice-redhat-menus:depends:redhat-release but it is not installable
E:unmet dependencies. Try using--fix-broken.
[root@localhost ~]# sudo apt-get remove wine
Reading Package Lists ... Done
Building Dependency Tree ... Done
E:couldn ' t find package wine
[root@localhost ~]# sudo apt-get remove--purge
Reading Package Lists ... Done
Building Dependency Tree ... Done
You are might want to run ' apt-get--fix-broken install ' to correct.
The following packages have unmet dependencies:
BOOTY:DEPENDS:RHPL but it is not installable
Hplip-gui:depends:hplip (= 1.7.2-1)
Redoffice-redhat-menus:depends:redhat-release but it is not installable
E:unmet dependencies. Try using--fix-broken.
[root@localhost ~]# apt-get--fix-broken Install
Reading Package Lists ... Done
Building Dependency Tree ... Done
Correcting dependencies ... Done
The following packages would be removed:
Booty Hplip-gui Redoffice-redhat-menus
0 upgraded, 0 newly installed, 3 removed and 0 not upgraded.
Need to get 0B of archives.
After unpacking 2516kB disk space would be freed.
Do your want to continue? [y/n] Y
Committing changes ...
Preparing ... ########################################### [100%]
Could not parse file '/usr/share/applications/redoffice-3.0-math.desktop ': No su
CH File or directory
***
* Updating MIME database In/usr/share/mime ...
Wrote 474 strings at 20-2794
Wrote aliases at 2794-2968
Wrote parents at 2968-2fa8
wrote literal globs at 2fa8-3004
Wrote suffix globs at 3004-62FC
Wrote full globs at 62fc-6320
Wrote Magic at 6320-c248
Wrote namespace list at c248-c258
***
Done.

(3) re-running [root@localhost ~]# wine A
Appear:
wine:created The configuration directory '/root/.wine '
Could not load Mozilla. HTML rendering would be disabled.
Wine:configuration in '/root/.wine ' has been updated.
Wine:could not load L ' C://windows//system32//a.exe ': Module not found

(4) then put the Windows EXE program you want to install or run into the "/mnt/sda1/windows/system32" directory,
And then run it again.
[Root@localhost exe]# Wine qq2007ii/(7.1.643.400/). exe

It was a success ... Year .....

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.