[PC周辺] util-linux 2.13~rc2-2 から arch が消える (20070802)

ある商用 Linux プログラムを動かしたら

arch: Command not found.

とかで唐突に落ちて悩む.どうやら util-linux に /bin/arch が含まれなくなったのが原因で,changelog によると

util-linux (2.13~rc2-2) experimental; urgency=low

  * arch is dealt with upstream now.
(snip)

とのこと(2.13~rc2-2 以降では arch が無いっぽい).DEPRECATED という file によると

The following is a list of commands or features that are going to be
removed in the util-linux-ng source tree.
(snip)
What:   arch(1) command
When:   2.14
Why:    deprecated in favor of uname(1) or arch(1) from coreutils

        The arch(1) has been added (during 2.13 development cycle) to coreutuls
        where it will be maintained as an alias for uname(1) command.

ということらしい.がしかしまだ coreutil (今の version は 5.97-5.3) には含まれていないっぽくて,とりあえず,

% apt-get source util-linux
% cd util-linux-2.13\~rc2/sys-utils
% make arch
% sudo cp arch /bin

といった感じでやるきなしなし対応.

このページのインデックス


Last-modified: Thu Aug 02 15:00:57 +0900 2007

全インデックス