[root@localhost ~]# wine a
err:process:init_windows_dirs directory L"C://windows" could not be created, error 2
err:process:init_windows_dirs directory L"C://windows//system32" could not be 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 be created, error 2
err:process:init_windows_dirs directory L"C://windows//system32" could not be 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 be created, error 2
err:process:init_windows_dirs directory L"C://windows//system32" could not be 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 be created, error 2
err:process:init_windows_dirs directory L"C://windows//system32" could not be 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
出現上面的錯誤
(2)然後我就運行下列命令([root@localhost ~]# 後為命令)
[root@localhost ~]# sudo rm -rf ~/.wine
[root@localhost ~]# apt-get remove --purge
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get --fix-broken install' to correct these.
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 might want to run `apt-get --fix-broken install' to correct these.
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 will 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 will be freed.
Do you 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)再運行[root@localhost ~]# wine a
出現:
wine: created the configuration directory '/root/.wine'
Could not load Mozilla. HTML rendering will be disabled.
wine: configuration in '/root/.wine' has been updated.
wine: could not load L"C://windows//system32//a.exe": Module not found