GNU Stow衝突処理

GNU Stow衝突処理

推奨されるアプローチは何ですか?GNUストー紛争?

縮小しようとしましたが、次readline-6.2の警告が表示されました。

> stow readline-6.2
Loading defaults from /home/josh/.stowrc
WARNING! stowing readline-6.2 would cause conflicts:
  * existing target is stowed to a different package: share/info/dir =>  
../../../stow_dir/stow_2.2.0_canonical_paths/share/info/dir
All operations aborted.

パッケージとの競合はstow_2.2.0_canonical_paths次のとおりです。パッケージディレクトリfor stow(ストレージを起動したためです)。

紛争目標には以下が含まれます。

> cat ~/local/share/info/dir 
This is the file .../info/dir, which contains the
topmost node of the Info hierarchy, called (dir)Top.
The first time you invoke Info you start off looking at this node.

File: dir,      Node: Top       This is the top of the INFO tree

  This (the Directory node) gives a menu of major topics.
  Typing "q" exits, "?" lists all Info commands, "d" returns here,
  "h" gives a primer for first-timers,
  "mEmacs<Return>" visits the Emacs manual, etc.

  In Emacs, you can click mouse button 2 on a menu item or cross reference
  to select it.

* Menu:

System administration
* Stow: (stow).                 GNU Stow.

この競合を解決するために推奨される方法は何ですか?

ベストアンサー1

このdirファイルは自動的に作成/拡張され、install-info利用可能な文書に関する情報が含まれています。texinfo文書化システム

簡単にファイルを削除できます。そのシステムを使用したい場合は、他の以前のシステムとinfoマージしてみてください。dirまたはディレクトリ内のすべてのファイルをinstall-infoinstall-info --info-dir=$PWD time.info.gzshare/infostow

もう一つのオプションは、次に切り替えることです。xstowxstow.ini.

[exec]
match = dir # GNU info index file
exec = merge-info %t %s -o %t
exec-unstow = merge-info -u %t %s -o %t

おすすめ記事