コマンドが見つかりませんが、適切な場所に存在します。

コマンドが見つかりませんが、適切な場所に存在します。

私はdebian 12をインストールしましたが、ほとんどすべてのコマンドが見つかりませんでした。

root@debian:/# dpkg-reconfigure keyboard-configuration
bash: dpkg-reconfigure: command not found

ここで見つけました。

root@debian:/home/lm# find /usr -type f -name debconf
/usr/bin/debconf
/usr/lib/tasksel/tests/debconf
/usr/share/bash-completion/completions/debconf
/usr/share/lintian/overrides/debconf

再インストールしたのに耐えません。

root@debian:/home/lm# apt-get install dpkg
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
dpkg is already the newest version (1.21.22

しかし、まだ発見されていません

root@debian:/home/lm# dpkg-reconfigure keyboard-configuration
bash: dpkg-reconfigure: command not found
root@debian:/home/lm# apt-get install debconf
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
debconf is already the newest version (1.5.82).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


この後もまだ見つかりません。PATHは次のようになります。

if [ "$(id -u)" -eq 0 ]; then
  PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
else
  PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games"

それでは、今キーボードをどのように再構成するのかわかりません。

Linux debian 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.38-2 (2023-07-27) x86_64 GNU/Linux

ベストアンサー1

おすすめ記事