Wine 3.0

Ubuntu各种衍生版本
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: Wine 3.0

#31

帖子 poloshiao » 2018-02-28 17:56

mint17.2側からやっても大丈夫という意味か
Does it mean that it will be okay if I do it from mint 17.2 side?
1. Swap is something relating to console system, not relating to desktop sessions.
2. Since linux mint console system is based on Ubuntu, it will be ok both in ubuntu and linux mint.
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: Wine 3.0

#32

帖子 寺島聰子 » 2018-03-01 12:51

1. Swap is something relating to console system, not relating to desktop sessions.
'console system'と'desktop sessions'
の両概念が把握できません。
'控制台系統'和'桌面會話'
我無法理解這兩個概念。
it will be ok
ということだけ、わかりました。
只有我明白。

代码: 全选

m@m ~ $ gksu gparted &
[1] 15467
m@m ~ $ ======================
libparted : 2.3
======================
gksu gedit /etc/fstab &
[2] 15688
m@m ~ $ gksu pluma /etc/fstab &
[3] 15709
[2]   終了 1                gksu gedit /etc/fstab
m@m ~ $ 
参考ページ、geditが使われていることが多く、置換がめんどくさいから、plumaをアンインストールして、geditをインストールした方が価値的ではないか?と閃いたが、どうでしょうか?
Since the reference page, gedit is used in many cases and it is awkward to replace, is it more valuable for you to uninstall pluma and install gedit? I thought, but what about?
附件
Screenshot-fstab (-etc) - pluma.png
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: Wine 3.0

#33

帖子 poloshiao » 2018-03-01 20:43

'console system'と'desktop sessions'
1. console system
https://en.wikipedia.org/wiki/Linux_console
for example : ubuntu server edition

2. desktop sessions
https://en.wikipedia.org/wiki/Compariso ... s_packaged
Default programs packaged
X session manager :
ksmserver
gnome-session
mate-session
Xfce4-session
LXSession
ROX-Session
2-1. https://en.wikipedia.org/wiki/Linux_Mint#Ubuntu_Mint
Ubuntu Mint :
Cinnamon
MATE
...
参考ページ、geditが使われていることが多く、置換がめんどくさいから、plumaをアンインストールして、geditをインストールした方が価値的ではないか?と閃いたが、どうでしょうか?
Since the reference page, gedit is used in many cases and it is awkward to replace, is it more valuable for you to uninstall pluma and install gedit? I thought, but what about?
3. That depends on which desktop session you were logging in.
3-1. http://manpages.ubuntu.com/manpages/xen ... dit.1.html
gedit - text editor for the GNOME Desktop
3-2. http://manpages.ubuntu.com/manpages/xen ... uma.1.html
Pluma - The MATE Text Editor
m@m ~ $ gksu gparted &
m@m ~ $ gksu pluma /etc/fstab &
4. Not all gksu commands are suitable for executing from terminal.
4-1. for example
In Gnome desktop session
press alt + f2
then keyin
gksu gparted
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: Wine 3.0

#34

帖子 寺島聰子 » 2018-03-03 11:01

https://help.ubuntu.com/community/SwapF ... ange_it.3F
what partition your swap is on and what its UUID is
現在の、/etc/fstab です。
----------------------------------------------
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>

#Entry for /dev/sda1 :
UUID=3fb1c77c-7d46-4243-a955-790755e6023b / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
# UUID=b27697f1-613f-485f-be6e-e1e5b65f1b14 none swap sw 0 0

# swap file
/mnt/1GiB.swap none swap sw 0 0
----------------------------------------------------------------
mnt/1GiB.swap は
参照
https://help.ubuntu.com/community/SwapF ... ap_file.3F
How do I add a swap file?
1.Swapの利用状況
代碼:
m@m ~ $ swapon -s
Filename Type Size Used Priority
/dev/sda5 partition 2091004 100236 -1

2.Create the Swap File:
2-1.We will create a 1 GiB file (/mnt/1GiB.swap) to use as swap:
代碼:
m@m ~ $ sudo fallocate -l 1g /mnt/1GiB.swap
[sudo] password for m:

2-2.We need to set the swap file permissions to 600 to prevent other users from being able to read potentially sensitive information from the swap file.
代碼:
m@m ~ $ sudo chmod 600 /mnt/1GiB.swap
m@m ~ $

2-3.Format the file as swap:
代碼:
m@m ~ $ sudo mkswap /mnt/1GiB.swap
スワップ空間バージョン1を設定します、サイズ = 1048572 KiB
ラベルはありません, UUID=b8d3ba24-8335-43a6-b212-c845a78c8b14

3.Enable use of Swap File
代碼:
m@m ~ $ sudo swapon /mnt/1GiB.swap

3-1.The additional swap is now available and verified with: cat /proc/swaps
代碼:
m@m ~ $ cat /proc/swaps
Filename Type Size Used Priority
/dev/sda5 partition 2091004 179612 -1
/mnt/1GiB.swap file 1048572 0 -2
m@m ~ $
によって作成されたものです。
附件
Screenshot--dev-sda - GParted.png
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: Wine 3.0

#35

帖子 寺島聰子 » 2018-04-11 9:03

PlayOnLinuxでwineを管理するので、別途インストールした3.0を完全削除。
Since wine is managed by PlayOnLinux, 3.0 which was separately installed is completely deleted.

(synaptic:8576): GLib-CRITICAL **: g_child_watch_add_full: assertion 'pid > 0' failed
(データベースを読み込んでいます ... 現在 321733 個のファイルとディレクトリがインストールされています。)
winehq-stable (3.0.0~trusty) を削除しています ...
wine-stable (3.0.0~trusty) を削除しています ...
wine-stable-amd64 (3.0.0~trusty) を削除しています ...
wine-stable-amd64 (3.0.0~trusty) の設定ファイルを削除しています ...
wine-stable-i386 (3.0.0~trusty) を削除しています ...
wine-stable-i386 (3.0.0~trusty) の設定ファイルを削除しています ...
man-db (2.6.7.1-1ubuntu1) のトリガを処理しています ...
desktop-file-utils (0.22-1ubuntu1.1) のトリガを処理しています ...
mime-support (3.54ubuntu1.1) のトリガを処理しています ...
libc-bin (2.19-0ubuntu6.14) のトリガを処理しています ...
(synaptic:8576): GLib-CRITICAL **: g_child_watch_add_full: assertion 'pid > 0' failed
(データベースを読み込んでいます ... 現在 321733 個のファイルとディレクトリがインストールされています。)
winehq-stable (3.0.0~trusty) を削除しています ...
wine-stable (3.0.0~trusty) を削除しています ...
wine-stable-amd64 (3.0.0~trusty) を削除しています ...
wine-stable-amd64 (3.0.0~trusty) の設定ファイルを削除しています ...
wine-stable-i386 (3.0.0~trusty) を削除しています ...
wine-stable-i386 (3.0.0~trusty) の設定ファイルを削除しています ...
man-db (2.6.7.1-1ubuntu1) のトリガを処理しています ...
desktop-file-utils (0.22-1ubuntu1.1) のトリガを処理しています ...
mime-support (3.54ubuntu1.1) のトリガを処理しています ...
libc-bin (2.19-0ubuntu6.14) のトリガを処理しています ...
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: Wine 3.0

#36

帖子 寺島聰子 » 2018-04-11 9:38

viewtopic.php?f=175&t=486780&start=30#
PlayOnLinuxでwineを管理するので、別途インストールした3.0を完全削除。
Since wine is managed by PlayOnLinux, 3.0 which was separately installed is completely deleted.
上記をしたら、PlayOnLinux起動時にエラーメッセージ。
PlayOnLinuxを再インストールしたら直るかな?と思い
完成上述操作後,啟動PlayOnLinux時出現錯誤信息。
重新安裝PlayOnLinux後會修復嗎? 一個想法
m@m ~ $ wget -q "http://deb.playonlinux.com/public.gpg" -O- | sudo apt-key add -[sudo] password for m:
[sudo] password for m:
OK
m@m ~ $
m@m ~ $ sudo wget http://deb.playonlinux.com/playonlinux_trusty.list -O /etc/apt/sources.list.d/playonlinux.list
--2018-04-11 10:13:17-- http://deb.playonlinux.com/playonlinux_trusty.list
deb.playonlinux.com (deb.playonlinux.com) をDNSに問いあわせています... 51.254.83.230, 2001:41d0:2:37ca::1e
deb.playonlinux.com (deb.playonlinux.com)|51.254.83.230|:80 に接続しています... 接続しました。
HTTP による接続要求を送信しました、応答を待っています... 200 OK
長さ: 44
`/etc/apt/sources.list.d/playonlinux.list' に保存中

100%[======================================>] 44 --.-K/s 時間 0s

2018-04-11 10:13:17 (5.27 MB/s) - `/etc/apt/sources.list.d/playonlinux.list' へ保存完了 [44/44]

m@m ~ $ sudo apt-get update
無視 http://extra.linuxmint.com rafaela InRelease


パッケージリストを読み込んでいます... 完了
W: Ignoring Provides line with DepCompareOp for package pypy-cffi
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-min
W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-min
W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-min
W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-min
W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-min
W: これらの問題を解決するためには apt-get update を実行する必要があるかもしれません
m@m ~ $ sudo apt-get install playonlinux
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています
状態情報を読み取っています... 完了
playonlinux はすでに最新版です。
以下のパッケージが自動でインストールされましたが、もう必要とされていません:
libasn1-8-heimdal:i386 libcapi20-3 libgsm1:i386 libgssapi3-heimdal:i386
libhcrypto4-heimdal:i386 libheimbase1-heimdal:i386 libheimntlm0-heimdal:i386
libhx509-5-heimdal:i386 libkrb5-26-heimdal:i386 liblcms2-2:i386
libldap-2.4-2:i386 libodbc1 libosmesa6 libosmesa6:i386 libpcap0.8:i386
libroken18-heimdal:i386 libsasl2-2:i386 libsasl2-modules-db:i386
libwind0-heimdal:i386
これを削除するには 'apt-get autoremove' を利用してください。
アップグレード: 0 個、新規インストール: 0 個、削除: 0 個、保留: 5 個。

m@m ~ $ sudo apt-get autoremove
パッケージリストを読み込んでいます... 完了

以下略
附件
Screenshot-Error.png
Screenshot-Synaptic パッケージマネージャ .png
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: Wine 3.0

#37

帖子 寺島聰子 » 2018-04-11 9:59

viewtopic.php?f=175&t=486780#
代碼:
$ sudo dpkg --add-architecture i386 [Enable 32-bit Arch]
$ wget -nc https://dl.winehq.org/wine-builds/Release.key
$ sudo apt-key add Release.key
$ sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ trusty main'
$ sudo apt-get update
$ sudo apt-get install --install-recommends winehq-stable
sudo apt-get install --install-recommends winehq-stable 以外は不必要と推測した。
m@m ~ $ sudo apt-get install --install-recommends winehq-stable
パッケージリストを読み込んでいます... 完了

libc-bin (2.19-0ubuntu6.14) のトリガを処理しています ...
m@m ~ $
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: Wine 3.0

#38

帖子 寺島聰子 » 2018-04-11 10:13

エラーメッセージ「PlayOnLinux cannot find wine 」は消えました。ありがとうございました。
kindle for pc の起動が凄く遅いので、PlayOnLinux_4.2.12.debをインストール。
The error message "PlayOnLinux can not find wine" disappeared. Thank you very much.
Since kindle for pc's startup is very slow, I installed PlayOnLinux_4.2.12.deb.

(Reading database ... 321734 files and directories currently installed.)
Preparing to unpack .../PlayOnLinux_4.2.12.deb ...
Unpacking playonlinux (4.2.12) over (4.2.11) ...
Setting up playonlinux (4.2.12) ...
gconf-schemas is /usr/sbin/gconf-schemas
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for gconf2 (3.2.6-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1.1) ...
Processing triggers for mime-support (3.54ubuntu1.1) ...
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: Wine 3.0

#39

帖子 poloshiao » 2018-04-11 10:21

(synaptic: 8576): GLib-CRITICAL **: g_child_watch_add_full: assertion 'pid> 0' failed
1. Search with keyword "fix" in the following webpages :
1-1. https://bugs.launchpad.net/ubuntu/+sour ... ug/1282542
1-2. https://ubuntuforums.org/showthread.php ... st13578205
sudo apt-get install --install-recommends winehq-stable
2. In Ubuntu (Including Linux Mint), install recommends is by default.
i.e. it is not necesarry to add --install-recommends

代码: 全选

sudo apt-get install winehq-stable
would be OK.

2-1. it is necesarry to add --no-install-recommends if you do not want to install recommends.

代码: 全选

sudo apt-get install --no-install-recommends winehq-stable
2-1-1. Refer to :
http://manpages.ubuntu.com/manpages/xen ... get.8.html
--no-install-recommends
Do not consider recommended packages as a dependency for installing.
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: Wine 3.0

#40

帖子 寺島聰子 » 2018-04-11 18:22

ありがとうございます
(synaptic: 8576): GLib-CRITICAL **: g_child_watch_add_full: assertion 'pid> 0' failed

1. Search with keyword "fix" in the following webpages :
1-1. https://bugs.launchpad.net/ubuntu/+sour ... ug/1282542
******************** available patch : https://bugs.debian.org/cgi-bin/bugrepo ... cess.patch ******************
以上をダウンロードしたが、このテキストファイル?の使い方がわかりません。
I downloaded the above, but this text file? I do not know how to use.
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: Wine 3.0

#41

帖子 poloshiao » 2018-04-11 18:43

available patch : https://bugs.debian.org/cgi-bin/bugrepo ... cess.patch

以上をダウンロードしたが、このテキストファイル?の使い方がわかりません。
I downloaded the above, but this text file? I do not know how to use.
1. https://blog.longwin.com.tw/2013/08/lin ... note-2013/
Diff 和 Patch 的簡易操作使用筆記

2. https://askubuntu.com/questions/11249/c ... our-kernel
Correct way to apply patches to your kernel?

3. http://manpages.ubuntu.com/manpages/tru ... tch.1.html
patch - apply a diff file to an original

4. https://www.thegeekstuff.com/2014/12/pa ... d-examples
7 Patch Command Examples to Apply Diff Patch Files in Linux

5. 4. https://www.cyberciti.biz/faq/appy-patc ... h-command/
HowTo Apply a Patch File To My Linux / UNIX Source Code
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: Wine 3.0

#42

帖子 寺島聰子 » 2018-04-11 19:25

2. In Ubuntu (Including Linux Mint), install recommends is by default.
i.e. it is not necesarry to add --install-recommends
了解。次回から削除します。 我將在下次刪除它。
既にインストールしてしまった「install-recommends」を、今からアンインストールする方法はないのでしょうか?
Is there no way to uninstall "install - recommends" that I have already installed from now?
寺島聰子
帖子: 688
注册时间: 2016-06-03 14:39
系统: debian11 mate

Re: Wine 3.0

#43

帖子 寺島聰子 » 2018-04-11 20:29

http://d.hatena.ne.jp/mrgoofy33/20101019/1287500809
patch [-u(または -c)] [適用するファイル名] < パッチファイル名

patch -u < 26_avoid-call-to-vte_terminal_watch_child-in-child-process.patch

代码: 全选

m@m ~/Downloads $ patch -u < 26_avoid-call-to-vte_terminal_watch_child-in-child-process.patch
can't find file to patch at input line 10
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|Description: Avoid call to vte_terminal_watch_child in child process
|Author: Bernhard Übelacker <bernhardu@vr-web.de>
|
|Bug-Debian: https://bugs.debian.org/743995
|Bug-Ubuntu: https://launchpad.net/bugs/1282542
|Last-Update: <2014-11-17>
|
|--- vte3-0.36.3.orig/src/vte.c
|+++ vte3-0.36.3/src/vte.c
--------------------------
File to patch: 
これ以上、理解できなかった。残念。参考ページも理解できなかった。こういう世界が有るということ。Linuxの森厳さに思いを深めただけであった。
我再也不能理解了。不幸的是。 我無法理解參考頁面。這樣的世界存在。 我只想到Linux的輝煌。
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: Wine 3.0

#44

帖子 poloshiao » 2018-04-12 0:10

Is there no way to uninstall "install - recommends" that I have already installed from now?
Not necesarry to uninstall those recommends packages that you have already installed.
これ以上、理解できなかった。残念。参考ページも理解できなかった。こういう世界が有るということ。Linuxの森厳さに思いを深めただけであった。
我再也不能理解了。不幸的是。 我無法理解參考頁面。這樣的世界存在。 我只想到Linux的輝煌。
Take what you can do and let other parts you can't afford to unload
承担你所能做的事,让其他無法承擔的部份卸下吧
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: Wine 3.0

#45

帖子 poloshiao » 2018-04-12 9:01

https://bugs.launchpad.net/ubuntu/+sour ... ug/1282542
GLib-CRITICAL **: g_child_watch_add_full: assertion 'pid > 0' failed
available patch :
https://bugs.debian.org/cgi-bin/bugrepo ... cess.patch
Linux kernels in Ubuntu operation system are specially recompiled by The Ubuntu kernel team.
Their patch ways are more suitable for Ubuntu linux kernels (including linux mint):

https://wiki.ubuntu.com/Kernel/Dev/KernelPatches
KernelPatches
回复