[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[debian-users:30046] Re: update of xlibs
ä½é‡Žï¼ 浜æ¾ã§ã™ã€‚
In <20010930154243O.1000@xxxxxxxxxxxxxxxxxxxxxxx>,
on "Sun, 30 Sep 2001 15:42:50 +0900',
with "[debian-users:30036] Re: update of xlibs",
TSUCHIYA Masatoshi <tsuchiya@xxxxxxxxxxxxxxxxxxxxxxx> ã•ã‚“ wrote:
> >> On Sun, 30 Sep 2001 14:41:17 +0900
> >> kohda@xxxxxxxxxxxxxxxxxxxx (Atsuhito Kohda) said as follows:
>
> > ã—ã‹ã— tgif を削除ã™ã‚Œã° xlibs ãŒæ›´æ–°ã§ãã¦ï¼Œæ–°ã—ã„ tgif ã¯
> > /usr/X11R6/lib/X11/app-defaults/ ã‚’å«ã‚“ã§ãªã㦠/etc/X11/ ã«ç§»è¡Œã—ã¦
> > ã‚‹ã®ã§æ›´æ–°ã§ãる,ã¨ã„ã†ã“ã¨ã ã¨æ€ã„ã¾ã™ãŒï¼Œæ°—ã«ã•ã‚Œã¦ã‚‹ã®ã¯ãã†ã„ã†
> > 話ã§ã¯ãªã„???
>
> ã„ãˆã€testing ã® tgif ãªã®ã§ã€ä»¥ä¸‹ã®ã‚ˆã†ã« app-defaults ã¯å«ã¾ã‚Œã¦ã„ã‚‹
> ã¾ã¾ãªã®ã§ã™ã‚ˆã€‚
>
> [amaru:~]$ dpkg -L tgif | grep app-defaults
> /usr/X11R6/lib/X11/app-defaults
> /usr/X11R6/lib/X11/app-defaults/Tgif
> /usr/X11R6/lib/X11/ja_JP.ujis/app-defaults
> /usr/X11R6/lib/X11/ja_JP.ujis/app-defaults/Tgif
> /usr/X11R6/lib/X11/ru/app-defaults
> /usr/X11R6/lib/X11/ru/app-defaults/Tgif
ã¡ã‚‡ã£ã¨å®Ÿé¨“ã—ã¦ã¿ãŸã®ã§ã™ãŒã€ä¸‹ã®éšŽå±¤ã«ãƒ•ã‚¡ã‚¤ãƒ«ãŒ
å˜åœ¨ã™ã‚‹ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã‚’ symlink ã§ç½®ãæ›ãˆã‚ˆã†ã¨ã™ã‚‹ã¨
エラーã«ãªã‚Šã¾ã™ã‘ã©ã€symlink をディレクトリã§ç½®ãæ›ãˆã‚‹
å ´åˆã¯ã‚¨ãƒ©ãƒ¼ã«ãªã‚‰ãªã„よã†ã§ã™ã。
$ touch 1
$ ln -s 1 2
$ ls -lsa
åˆè¨ˆ 8
4 drwxrwxrwx 2 root root 4096 Oct 2 00:25 .
4 drwxrwxrwt 9 root root 4096 Oct 2 00:25 ..
0 -rw-rw-r-- 1 sano sano 0 Oct 2 00:25 1
0 lrwxrwxrwx 1 sano sano 1 Oct 2 00:25 2 -> 1
$ tar -cvzf test.tgz ./1 ./2
./1
./2
$ tar -tvzf test.tgz
-rw-rw-r-- sano/sano 0 2001-10-02 00:25:46 ./1
lrwxrwxrwx sano/sano 0 2001-10-02 00:25:48 ./2 -> 1
$ ls -ls
åˆè¨ˆ 4
0 -rw-rw-r-- 1 sano sano 0 Oct 2 00:25 1
0 lrwxrwxrwx 1 sano sano 1 Oct 2 00:25 2 -> 1
4 -rw-rw-r-- 1 sano sano 140 Oct 2 00:25 test.tgz
$ rm 2
$ mkdir 2
$ touch 2/3
$ tar -cvzf chk.tgz ./1 ./2 ./2/3
./1
./2/
./2/3
./2/3
$ tar -tvzf chk.tgz
-rw-rw-r-- sano/sano 0 2001-10-02 00:25:46 ./1
drwxrwxr-x sano/sano 0 2001-10-02 00:26:17 ./2/
-rw-rw-r-- sano/sano 0 2001-10-02 00:26:17 ./2/3
-rw-rw-r-- sano/sano 0 2001-10-02 00:26:17 ./2/3
$ ls -lsa
åˆè¨ˆ 20
4 drwxrwxrwx 3 root root 4096 Oct 2 00:26 .
4 drwxrwxrwt 9 root root 4096 Oct 2 00:25 ..
0 -rw-rw-r-- 1 sano sano 0 Oct 2 00:25 1
4 drwxrwxr-x 2 sano sano 4096 Oct 2 00:26 2
4 -rw-rw-r-- 1 sano sano 158 Oct 2 00:26 chk.tgz
4 -rw-rw-r-- 1 sano sano 140 Oct 2 00:25 test.tgz
$ rm 1
$ rmdir 2
rmdir: 2: ディレクトリã¯ç©ºã§ã¯ã‚ã‚Šã¾ã›ã‚“
$ rm -rf 2
$ ls -lsa
åˆè¨ˆ 16
4 drwxrwxrwx 2 root root 4096 Oct 2 00:26 .
4 drwxrwxrwt 9 root root 4096 Oct 2 00:25 ..
4 -rw-rw-r-- 1 sano sano 158 Oct 2 00:26 chk.tgz
4 -rw-rw-r-- 1 sano sano 140 Oct 2 00:25 test.tgz
$ tar -xvzf chk.tgz
./1
./2/
./2/3
./2/3
$ ls -lsa
åˆè¨ˆ 20
4 drwxrwxrwx 3 root root 4096 Oct 2 00:26 .
4 drwxrwxrwt 9 root root 4096 Oct 2 00:25 ..
0 -rw-rw-r-- 1 sano sano 0 Oct 2 00:25 1
4 drwxrwxr-x 2 sano sano 4096 Oct 2 00:26 2
4 -rw-rw-r-- 1 sano sano 158 Oct 2 00:26 chk.tgz
4 -rw-rw-r-- 1 sano sano 140 Oct 2 00:25 test.tgz
$ tar -xvzf test.tgz
./1
./2
tar: ./2: ``1'' ã¸ã®ã‚·ãƒ³ãƒœãƒªãƒƒã‚¯ãƒªãƒ³ã‚¯ãŒä½œã‚Œã¾ã›ã‚“: ファイルãŒå˜åœ¨ã—ã¾ã™
tar: エラー終了ãŒå‰ã®ã‚¨ãƒ©ãƒ¼ã‹ã‚‰é…ã‚Œã¾ã—ãŸ
$ ls -lsa
åˆè¨ˆ 20
4 drwxrwxrwx 3 root root 4096 Oct 2 00:26 .
4 drwxrwxrwt 9 root root 4096 Oct 2 00:25 ..
0 -rw-rw-r-- 1 sano sano 0 Oct 2 00:25 1
4 drwxrwxr-x 2 sano sano 4096 Oct 2 00:26 2
4 -rw-rw-r-- 1 sano sano 158 Oct 2 00:26 chk.tgz
4 -rw-rw-r-- 1 sano sano 140 Oct 2 00:25 test.tgz
$ rm -rf 1 2
$ tar -xvzf test.tgz
./1
./2
$ ls -lsa
åˆè¨ˆ 16
4 drwxrwxrwx 2 root root 4096 Oct 2 00:27 .
4 drwxrwxrwt 9 root root 4096 Oct 2 00:25 ..
0 -rw-rw-r-- 1 sano sano 0 Oct 2 00:25 1
0 lrwxrwxrwx 1 sano sano 1 Oct 2 00:27 2 -> 1
4 -rw-rw-r-- 1 sano sano 158 Oct 2 00:26 chk.tgz
4 -rw-rw-r-- 1 sano sano 140 Oct 2 00:25 test.tgz
$ rm 1
$ mkdir 1
$ ls -lsa
åˆè¨ˆ 20
4 drwxrwxrwx 3 root root 4096 Oct 2 00:27 .
4 drwxrwxrwt 9 root root 4096 Oct 2 00:25 ..
4 drwxrwxr-x 2 sano sano 4096 Oct 2 00:27 1
0 lrwxrwxrwx 1 sano sano 1 Oct 2 00:27 2 -> 1
4 -rw-rw-r-- 1 sano sano 158 Oct 2 00:26 chk.tgz
4 -rw-rw-r-- 1 sano sano 140 Oct 2 00:25 test.tgz
$ tar -xvzf chk.tgz
./1
./2/
./2/3
./2/3
$ ls -lsa
åˆè¨ˆ 20
4 drwxrwxrwx 3 root root 4096 Oct 2 00:27 .
4 drwxrwxrwt 9 root root 4096 Oct 2 00:25 ..
0 -rw-rw-r-- 1 sano sano 0 Oct 2 00:25 1
4 drwxrwxr-x 2 sano sano 4096 Oct 2 00:26 2
4 -rw-rw-r-- 1 sano sano 158 Oct 2 00:26 chk.tgz
4 -rw-rw-r-- 1 sano sano 140 Oct 2 00:25 test.tgz
ãã†ã„ã†ã“ã¨ãªã®ã‹ã‚‚。
手㧠/etc/X11/app-defaults 以下ã«ç§»å‹•ã—㦠symlink ã‚’
張り直ã—ã¦ãŠã„ãŸã»ã†ãŒã„ã„ã‹ã‚‚ã—ã‚Œã¾ã›ã‚“。
ã‚ã‚‹ã„㯠sid ã® tgif ã‚’æŒã£ã¦ãã‚‹ã‹ã€‚
ã“ã®å ´åˆã§ã‚‚ symlink を張り直ã™å¿…è¦ã¯ã‚ã‚‹ã‹ã‚‚ã—ã‚Œã¾ã›ã‚“ãŒã€‚
BTS ã™ã¹ããªã‚“ã ã‚ã†ã‹ã€ã€ã€ã£ã¦ã©ã“ã« ?
--
# (ã‚ãŸã—ã®ãŠã†ã¡ã¯æµœæ¾å¸‚ã€ã‚¢ã‚«ã‚¦ãƒŸã‚¬ãƒ¡ã®ãµã‚‹ã•ã¨ã®è¡—)
<kgh12351@xxxxxxxxxxx> : Taketoshi Sano (ä½é‡Žã€€æ¦ä¿Š)