[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-users:10033] Re: slink



香田@徳大です。ちょっと長いですが。

emacs20-dl のインストールと削除をやってみました。
やはり emacs-20.2-pure が変ですね?

{確かに diversion があることを確認(locate は pure を含む
ファイルを表示します)}

nsx:~$ grep "pure" /var/lib/dpkg/diversions
/usr/bin/emacs-20.2-pure
/usr/share/emacs/20.2/etc/DOC-20.2.1-pure
/usr/share/emacs/20.2/etc/DOC-20.2.2-pure
nsx:~$ locate pure
/usr/bin/emacs-20.2-pure
/usr/share/emacs/20.2/etc/DOC-20.2.1-pure
/usr/share/emacs/20.2/etc/DOC-20.2.2-pure

{インストール。emacs-20.2-pure だけ失敗?}

nsx:~$ sudo dpkg -i emacs20-dl_20.3-7.deb 

未選択パッケージ emacs20-dl を選択しています。
(データベースを読み込み中です ... 現在 46551 個のファイルとディレクトリがインストールされています。)
(emacs20-dl_20.3-7.deb から) emacs20-dl を展開中です ...
Adding `diversion of /usr/bin/emacs-20.3 to /usr/bin/emacs-20.3-pure by emacs20-dl'
Removing `diversion of /usr/share/emacs/20.2/etc/DOC-20.2.1 to /usr/share/emacs/20.2/etc/DOC-20.2.1-pure by emacs20-dl'
No diversion `diversion of /usr/share/emacs/20.2/etc/DOC-20.2.1 by emacs20-dl-wnn4', none removed
No diversion `diversion of /usr/share/emacs/20.2/etc/DOC-20.2.1 by emacs20-wnn4', none removed
No diversion `diversion of /usr/share/emacs/20.2/etc/DOC-20.2.1 by emacs20-dl-wnn6', none removed
No diversion `diversion of /usr/share/emacs/20.2/etc/DOC-20.2.1 by emacs20-wnn6', none removed
Removing `diversion of /usr/share/emacs/20.2/etc/DOC-20.2.2 to /usr/share/emacs/20.2/etc/DOC-20.2.2-pure by emacs20-dl'
No diversion `diversion of /usr/share/emacs/20.2/etc/DOC-20.2.2 by emacs20-dl-wnn4', none removed
No diversion `diversion of /usr/share/emacs/20.2/etc/DOC-20.2.2 by emacs20-wnn4', none removed
No diversion `diversion of /usr/share/emacs/20.2/etc/DOC-20.2.2 by emacs20-dl-wnn6', none removed
No diversion `diversion of /usr/share/emacs/20.2/etc/DOC-20.2.2 by emacs20-wnn6', none removed
No diversion `diversion of /usr/bin/emacs-20.2-pure by emacs20-dl', none removed
No diversion `diversion of /usr/bin/emacs-20.2-pure by emacs20-dl-wnn4', none removed
No diversion `diversion of /usr/bin/emacs-20.2-pure by emacs20-wnn4', none removed
No diversion `diversion of /usr/bin/emacs-20.2-pure by emacs20-dl-wnn6', none removed
No diversion `diversion of /usr/bin/emacs-20.2-pure by emacs20-wnn6', none removed
emacs20-dl (20.3-7)を設定中です ...
Checking available versions of emacs, updating links in /etc/alternatives ...
(You may modify the symlinks there yourself if desired - see `man ln'.)
Updating emacs (/usr/bin/emacs) to point to /usr/bin/emacs20-dl.
Removing emacs.1.gz (/usr/man/man1/emacs.1.gz), not appropriate with /usr/bin/emacs20-dl.

{/usr/bin/emacs-20.2-pure は消えてますが diversion としての
消去は失敗してるような。}

nsx:~$ ls -l /usr/bin/emacs*
lrwxrwxrwx   1 root     root           23 Aug  6 12:18 /usr/bin/emacs -> /etc/alternatives/emacs
lrwxrwxrwx   1 root     root           10 Nov 20 07:41 /usr/bin/emacs-20.3 -> emacs20-dl
-rwxr-xr-x   1 root     root      2970500 Nov  2 11:25 /usr/bin/emacs-20.3-pure
lrwxrwxrwx   1 root     root           19 Nov 20 07:41 /usr/bin/emacs20 -> /usr/bin/emacs20-dl
-rwxr-xr-x   1 root     root      3301344 Nov 19 01:22 /usr/bin/emacs20-dl
lrwxrwxrwx   1 root     root           29 Aug  6 12:18 /usr/bin/emacsclient -> /etc/alternatives/emacsclient
-rwxr-xr-x   1 root     root         5180 Nov  2 11:25 /usr/bin/emacsclient.emacs20
nsx:~$ grep "pure" /var/lib/dpkg/diversions
/usr/bin/emacs-20.2-pure
/usr/bin/emacs-20.3-pure
nsx:~$ dpkg -S emacs-20.2-pure
emacs20-dl による退避(diversion) 次から: /usr/bin/emacs-20.2
emacs20-dl による退避(diversion) 次へ: /usr/bin/emacs-20.2-pure
nsx:~$ dpkg -S emacs-20.3-pure
emacs20-dl による退避(diversion) 次から: /usr/bin/emacs-20.3
emacs20-dl による退避(diversion) 次へ: /usr/bin/emacs-20.3-pure

{削除。やはり emacs-20.2-pure が。。。}

nsx:~$ sudo dpkg --purge emacs20-dl

(データベースを読み込み中です ... 現在 47181 個のファイルとディレクトリがインストールされています。)
emacs20-dl を削除中です ...
Checking available versions of emacs, updating links in /etc/alternatives ...
(You may modify the symlinks there yourself if desired - see `man ln'.)
Updating emacs (/usr/bin/emacs) to point to /usr/bin/emacs20.
Updating emacs.1.gz (/usr/man/man1/emacs.1.gz) to point to /usr/man/man1/emacs.1emacs20.gz.
Removing `diversion of /usr/bin/emacs-20.3 to /usr/bin/emacs-20.3-pure by emacs20-dl'
emacs20-dl の設定ファイルを削除中です ...
No diversion `diversion of /usr/bin/emacs-20.3 to /usr/bin/emacs-20.3-pure by emacs20-dl', none removed
nsx:~$ grep "pure" /var/lib/dpkg/diversions
/usr/bin/emacs-20.2-pure
nsx:~$ dpkg -S emacs-20.2-pure
emacs20-dl による退避(diversion) 次から: /usr/bin/emacs-20.2
emacs20-dl による退避(diversion) 次へ: /usr/bin/emacs-20.2-pure
nsx:~$ dpkg -S emacs-20.3-pure
dpkg: *emacs-20.3-pure* が見付かりません。