LINUX.ORG.RU

bash: mkfs.vfat: command not found / fsck.fat: command not found ??

 ,


0

1

Как на guixsd заставить работать mkfs.vfat ? После установки dosfstools и linux-utils команды не работают `mkfs -t vfat /dev/sdb1` и `mkfs.vfat -F 32 /dev/sdb1` :

# guix package -i dosfstools
guix package: warning: Your Guix installation is 14 days old.
guix package: warning: Consider running 'guix pull' followed by
'guix package -u' to get up-to-date packages and security updates.

The following package will be upgraded:
   dosfstools	4.1 → 4.1	/gnu/store/4im5hyda53qjnkc869m0fxdi7dm5f0lg-dosfstools-4.1

nothing to be done

# guix package -i util-linux
guix package: warning: Your Guix installation is 14 days old.
guix package: warning: Consider running 'guix pull' followed by
'guix package -u' to get up-to-date packages and security updates.

substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0%
The following package will be installed:
   util-linux	2.32	/gnu/store/fbaawq3xvpqpnj4rdhbiq8kmkmf6biqv-util-linux-2.32

substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0%
The following derivations will be built:
   /gnu/store/jcng30i298cl3hqq53nh6wwbh2smxi5n-profile.drv
   /gnu/store/vg32722wkysmvaiyrff3hn59bcw0lizj-ca-certificate-bundle.drv
   /gnu/store/v1p570wyjh7w38a6znq84ji0nh5zif24-fonts-dir.drv
   /gnu/store/n2d3bv69a6a38zvma6xvbyfsc64dxcdc-info-dir.drv
   /gnu/store/9bj0aayjy2665h6w6mypvl95am5dnrmr-manual-database.drv
Creating manual page database...
126 entries processed in 0.7 s
4 packages in profile
The following environment variable definitions may be needed:
   export PATH="/root/.guix-profile/bin:/root/.guix-profile/sbin${PATH:+:}$PATH"



# mkfs.vfat -F 32 /dev/sdb1
bash: mkfs.vfat: command not found

# fsck.fat -F 32 /dev/sdb1
bash: fsck.fat: command not found

# mkfs.fat -F 32 /dev/sdb1
bash: mkfs.fat: command not found

# mkfs -t vfat /dev/sdb1
mkfs: failed to execute mkfs.vfat: No such file or directory
★★

Возможно, команда называется mkdosfs и вообще попробуй updatedb запустить, а затем locate mkfs, locate mkfs.dos и тд. Кстати mkfs.dos ты не пробовал.

Или как альтернатива, find /gnu -executable -name 'mk*fs*' попробуй

Xenius ★★★★★
()
Последнее исправление: Xenius (всего исправлений: 1)
Ответ на: комментарий от Xenius

mkfs работает, но она обращается к mkfs.vfat и не находит.



# mkfs.dos
bash: mkfs.dos: command not found

# mkdosfs
bash: mkdosfs: command not found

# updatedb
/gnu/store/cyw1s5q7s7ql0vwkf34rzjb0cr6w1qnp-findutils-4.6.0/bin/find: ‘/run/user/1000/gvfs’: Permission denied

# sudo updatedb
/gnu/store/cyw1s5q7s7ql0vwkf34rzjb0cr6w1qnp-findutils-4.6.0/bin/find: ‘/run/user/1000/gvfs’: Permission denied

# locate mkfs
/gnu/store/0149ikffk8y86yns9f338k2s93nv1vb1-e2fsprogs-1.43.6/sbin/mkfs.ext2
/gnu/store/0149ikffk8y86yns9f338k2s93nv1vb1-e2fsprogs-1.43.6/sbin/mkfs.ext3
/gnu/store/0149ikffk8y86yns9f338k2s93nv1vb1-e2fsprogs-1.43.6/sbin/mkfs.ext4
/gnu/store/0149ikffk8y86yns9f338k2s93nv1vb1-e2fsprogs-1.43.6/share/man/man8/mkfs.ext2.8
/gnu/store/0149ikffk8y86yns9f338k2s93nv1vb1-e2fsprogs-1.43.6/share/man/man8/mkfs.ext3.8
/gnu/store/0149ikffk8y86yns9f338k2s93nv1vb1-e2fsprogs-1.43.6/share/man/man8/mkfs.ext4.8
/gnu/store/4im5hyda53qjnkc869m0fxdi7dm5f0lg-dosfstools-4.1/sbin/mkfs.fat
/gnu/store/4im5hyda53qjnkc869m0fxdi7dm5f0lg-dosfstools-4.1/share/man/man8/mkfs.fat.8.gz
/gnu/store/8f7b6ilm2jbrwa61c6jsbcmfb983nirj-xfce-4.12.0/etc/bash_completion.d/mkfs
/gnu/store/8f7b6ilm2jbrwa61c6jsbcmfb983nirj-xfce-4.12.0/etc/bash_completion.d/mkfs.bfs
/gnu/store/8f7b6ilm2jbrwa61c6jsbcmfb983nirj-xfce-4.12.0/etc/bash_completion.d/mkfs.cramfs
/gnu/store/8f7b6ilm2jbrwa61c6jsbcmfb983nirj-xfce-4.12.0/etc/bash_completion.d/mkfs.minix
/gnu/store/8f7b6ilm2jbrwa61c6jsbcmfb983nirj-xfce-4.12.0/sbin/mkfs
/gnu/store/8f7b6ilm2jbrwa61c6jsbcmfb983nirj-xfce-4.12.0/sbin/mkfs.bfs
/gnu/store/8f7b6ilm2jbrwa61c6jsbcmfb983nirj-xfce-4.12.0/sbin/mkfs.cramfs
/gnu/store/8f7b6ilm2jbrwa61c6jsbcmfb983nirj-xfce-4.12.0/sbin/mkfs.minix
/gnu/store/8f7b6ilm2jbrwa61c6jsbcmfb983nirj-xfce-4.12.0/share/man/man8/mkfs.8.gz
/gnu/store/8f7b6ilm2jbrwa61c6jsbcmfb983nirj-xfce-4.12.0/share/man/man8/mkfs.bfs.8.gz
/gnu/store/8f7b6ilm2jbrwa61c6jsbcmfb983nirj-xfce-4.12.0/share/man/man8/mkfs.cramfs.8.gz
/gnu/store/8f7b6ilm2jbrwa61c6jsbcmfb983nirj-xfce-4.12.0/share/man/man8/mkfs.minix.8.gz
/gnu/store/91l95ys8s0kxallfz9zsiypp28mzgc62-profile/etc/bash_completion.d/mkfs
/gnu/store/91l95ys8s0kxallfz9zsiypp28mzgc62-profile/etc/bash_completion.d/mkfs.bfs
/gnu/store/91l95ys8s0kxallfz9zsiypp28mzgc62-profile/etc/bash_completion.d/mkfs.cramfs
/gnu/store/91l95ys8s0kxallfz9zsiypp28mzgc62-profile/etc/bash_completion.d/mkfs.minix
/gnu/store/91l95ys8s0kxallfz9zsiypp28mzgc62-profile/sbin/mkfs
/gnu/store/91l95ys8s0kxallfz9zsiypp28mzgc62-profile/sbin/mkfs.bfs
/gnu/store/91l95ys8s0kxallfz9zsiypp28mzgc62-profile/sbin/mkfs.cramfs
/gnu/store/91l95ys8s0kxallfz9zsiypp28mzgc62-profile/sbin/mkfs.ext2
/gnu/store/91l95ys8s0kxallfz9zsiypp28mzgc62-profile/sbin/mkfs.ext3
/gnu/store/91l95ys8s0kxallfz9zsiypp28mzgc62-profile/sbin/mkfs.ext4
/gnu/store/91l95ys8s0kxallfz9zsiypp28mzgc62-profile/sbin/mkfs.minix
/gnu/store/91l95ys8s0kxallfz9zsiypp28mzgc62-profile/share/man/man8/mkfs.8.gz
/gnu/store/91l95ys8s0kxallfz9zsiypp28mzgc62-profile/share/man/man8/mkfs.bfs.8.gz
/gnu/store/91l95ys8s0kxallfz9zsiypp28mzgc62-profile/share/man/man8/mkfs.cramfs.8.gz
/gnu/store/91l95ys8s0kxallfz9zsiypp28mzgc62-profile/share/man/man8/mkfs.ext2.8
/gnu/store/91l95ys8s0kxallfz9zsiypp28mzgc62-profile/share/man/man8/mkfs.ext3.8
/gnu/store/91l95ys8s0kxallfz9zsiypp28mzgc62-profile/share/man/man8/mkfs.ext4.8
/gnu/store/91l95ys8s0kxallfz9zsiypp28mzgc62-profile/share/man/man8/mkfs.minix.8.gz
/gnu/store/bql69cxrmwj05sb4wrz7ad507lkx9hhv-xfce-4.12.0/etc/bash_completion.d/mkfs
/gnu/store/bql69cxrmwj05sb4wrz7ad507lkx9hhv-xfce-4.12.0/etc/bash_completion.d/mkfs.bfs
/gnu/store/bql69cxrmwj05sb4wrz7ad507lkx9hhv-xfce-4.12.0/etc/bash_completion.d/mkfs.cramfs
/gnu/store/bql69cxrmwj05sb4wrz7ad507lkx9hhv-xfce-4.12.0/etc/bash_completion.d/mkfs.minix
/gnu/store/bql69cxrmwj05sb4wrz7ad507lkx9hhv-xfce-4.12.0/sbin/mkfs
/gnu/store/bql69cxrmwj05sb4wrz7ad507lkx9hhv-xfce-4.12.0/sbin/mkfs.bfs
/gnu/store/bql69cxrmwj05sb4wrz7ad507lkx9hhv-xfce-4.12.0/sbin/mkfs.cramfs
/gnu/store/bql69cxrmwj05sb4wrz7ad507lkx9hhv-xfce-4.12.0/sbin/mkfs.minix
/gnu/store/bql69cxrmwj05sb4wrz7ad507lkx9hhv-xfce-4.12.0/share/man/man8/mkfs.8.gz
/gnu/store/bql69cxrmwj05sb4wrz7ad507lkx9hhv-xfce-4.12.0/share/man/man8/mkfs.bfs.8.gz
/gnu/store/bql69cxrmwj05sb4wrz7ad507lkx9hhv-xfce-4.12.0/share/man/man8/mkfs.cramfs.8.gz
/gnu/store/bql69cxrmwj05sb4wrz7ad507lkx9hhv-xfce-4.12.0/share/man/man8/mkfs.minix.8.gz
/gnu/store/fbaawq3xvpqpnj4rdhbiq8kmkmf6biqv-util-linux-2.32/etc/bash_completion.d/mkfs
/gnu/store/fbaawq3xvpqpnj4rdhbiq8kmkmf6biqv-util-linux-2.32/etc/bash_completion.d/mkfs.bfs
/gnu/store/fbaawq3xvpqpnj4rdhbiq8kmkmf6biqv-util-linux-2.32/etc/bash_completion.d/mkfs.cramfs
/gnu/store/fbaawq3xvpqpnj4rdhbiq8kmkmf6biqv-util-linux-2.32/etc/bash_completion.d/mkfs.minix
/gnu/store/fbaawq3xvpqpnj4rdhbiq8kmkmf6biqv-util-linux-2.32/sbin/mkfs
/gnu/store/fbaawq3xvpqpnj4rdhbiq8kmkmf6biqv-util-linux-2.32/sbin/mkfs.bfs
/gnu/store/fbaawq3xvpqpnj4rdhbiq8kmkmf6biqv-util-linux-2.32/sbin/mkfs.cramfs
/gnu/store/fbaawq3xvpqpnj4rdhbiq8kmkmf6biqv-util-linux-2.32/sbin/mkfs.minix
/gnu/store/fbaawq3xvpqpnj4rdhbiq8kmkmf6biqv-util-linux-2.32/share/man/man8/mkfs.8.gz
/gnu/store/fbaawq3xvpqpnj4rdhbiq8kmkmf6biqv-util-linux-
...много всего...
/gnu/store/k1k6y5x4i87y61fj02lymvd74ns56lv3-profile/sbin/mkfs
/gnu/store/k1k6y5x4i87y61fj02lymvd74ns56lv3-profile/sbin/mkfs.bfs
/gnu/store/k1k6y5x4i87y61fj02lymvd74ns56lv3-profile/sbin/mkfs.cramfs
/gnu/store/k1k6y5x4i87y61fj02lymvd74ns56lv3-profile/sbin/mkfs.ext2
/gnu/store/k1k6y5x4i87y61fj02lymvd74ns56lv3-profile/sbin/mkfs.ext3
/gnu/store/k1k6y5x4i87y61fj02lymvd74ns56lv3-profile/sbin/mkfs.ext4
/gnu/store/k1k6y5x4i87y61fj02lymvd74ns56lv3-profile/sbin/mkfs.minix
/gnu/store/k1k6y5x4i87y61fj02lymvd74ns56lv3-profile/share/man/man8/mkfs.8.gz
/gnu/store/k1k6y5x4i87y61fj02lymvd74ns56lv3-profile/share/man/man8/mkfs.bfs.8.gz
/gnu/store/k1k6y5x4i87y61fj02lymvd74ns56lv3-profile/share/man/man8/mkfs.cramfs.8.gz
/gnu/store/k1k6y5x4i87y61fj02lymvd74ns56lv3-profile/share/man/man8/mkfs.ext2.8
/gnu/store/k1k6y5x4i87y61fj02lymvd74ns56lv3-profile/share/man/man8/mkfs.ext3.8
/gnu/store/k1k6y5x4i87y61fj02lymvd74ns56lv3-profile/share/man/man8/mkfs.ext4.8
/gnu/store/k1k6y5x4i87y61fj02lymvd74ns56lv3-profile/share/man/man8/mkfs.minix.8.gz
...
много всего
...
/1rz5b4zn644krmkfsi45qcyfkdjqxv35xz1rkh84dl80kbknax7y
/gnu/store/pqkqim2q4sygx9nf02ajbcy8zwr6c80v-profile/etc/bash_completion.d/mkfs
/gnu/store/pqkqim2q4sygx9nf02ajbcy8zwr6c80v-profile/etc/bash_completion.d/mkfs.bfs
/gnu/store/pqkqim2q4sygx9nf02ajbcy8zwr6c80v-profile/etc/bash_completion.d/mkfs.cramfs
/gnu/store/pqkqim2q4sygx9nf02ajbcy8zwr6c80v-profile/etc/bash_completion.d/mkfs.minix
/gnu/store/pqkqim2q4sygx9nf02ajbcy8zwr6c80v-profile/sbin/mkfs
/gnu/store/pqkqim2q4sygx9nf02ajbcy8zwr6c80v-profile/sbin/mkfs.bfs
/gnu/store/pqkqim2q4sygx9nf02ajbcy8zwr6c80v-profile/sbin/mkfs.cramfs
/gnu/store/pqkqim2q4sygx9nf02ajbcy8zwr6c80v-profile/sbin/mkfs.ext2
/gnu/store/pqkqim2q4sygx9nf02ajbcy8zwr6c80v-profile/sbin/mkfs.ext3
/gnu/store/pqkqim2q4sygx9nf02ajbcy8zwr6c80v-profile/sbin/mkfs.ext4
/gnu/store/pqkqim2q4sygx9nf02ajbcy8zwr6c80v-profile/sbin/mkfs.minix
/gnu/store/pqkqim2q4sygx9nf02ajbcy8zwr6c80v-profile/share/man/man8/mkfs.8.gz
/gnu/store/pqkqim2q4sygx9nf02ajbcy8zwr6c80v-profile/share/man/man8/mkfs.bfs.8.gz
...
много всего
...


# mkfs --help

Usage:
 mkfs [options] [-t <type>] [fs-options] <device> [<size>]

Make a Linux filesystem.

Options:
 -t, --type=<type>  filesystem type; when unspecified, ext2 is used
     fs-options     parameters for the real filesystem builder
     <device>       path to the device to be used
     <size>         number of blocks to be used on the device
 -V, --verbose      explain what is being done;
                      specifying -V more than once will cause a dry-run
 -h, --help         display this help
 -V, --version      display version

For more details see mkfs(8).


# mkfs.fat -F32 /dev/sdb1
bash: mkfs.fat: command not found

# mkfs.dos
bash: mkfs.dos: command not found


# mkfs -t vfat /dev/sdb1
mkfs: failed to execute mkfs.vfat: No such file or directory
znavko ★★
() автор топика
Ответ на: комментарий от Xenius

исполняемые:

# find /gnu -executable -name 'mk*fs*'
/gnu/store/bql69cxrmwj05sb4wrz7ad507lkx9hhv-xfce-4.12.0/sbin/mkfs.cramfs
/gnu/store/bql69cxrmwj05sb4wrz7ad507lkx9hhv-xfce-4.12.0/sbin/mkfs.bfs
/gnu/store/bql69cxrmwj05sb4wrz7ad507lkx9hhv-xfce-4.12.0/sbin/mkfs.minix
/gnu/store/bql69cxrmwj05sb4wrz7ad507lkx9hhv-xfce-4.12.0/sbin/mkfs
/gnu/store/fbaawq3xvpqpnj4rdhbiq8kmkmf6biqv-util-linux-2.32/sbin/mkfs.cramfs
/gnu/store/fbaawq3xvpqpnj4rdhbiq8kmkmf6biqv-util-linux-2.32/sbin/mkfs.bfs
/gnu/store/fbaawq3xvpqpnj4rdhbiq8kmkmf6biqv-util-linux-2.32/sbin/mkfs.minix
/gnu/store/fbaawq3xvpqpnj4rdhbiq8kmkmf6biqv-util-linux-2.32/sbin/mkfs
/gnu/store/k1k6y5x4i87y61fj02lymvd74ns56lv3-profile/sbin/mkfs.ext4
/gnu/store/k1k6y5x4i87y61fj02lymvd74ns56lv3-profile/sbin/mkfs.ext2
/gnu/store/k1k6y5x4i87y61fj02lymvd74ns56lv3-profile/sbin/mkfs.cramfs
/gnu/store/k1k6y5x4i87y61fj02lymvd74ns56lv3-profile/sbin/mkfs.bfs
/gnu/store/k1k6y5x4i87y61fj02lymvd74ns56lv3-profile/sbin/mkfs.minix
/gnu/store/k1k6y5x4i87y61fj02lymvd74ns56lv3-profile/sbin/mke2fs
/gnu/store/k1k6y5x4i87y61fj02lymvd74ns56lv3-profile/sbin/mkfs.ext3
/gnu/store/k1k6y5x4i87y61fj02lymvd74ns56lv3-profile/sbin/mkfs
/gnu/store/v4zvhiaajk0y4wiaxb318dnqvp7jpa7g-profile/sbin/mkfs.cramfs
/gnu/store/v4zvhiaajk0y4wiaxb318dnqvp7jpa7g-profile/sbin/mkfs.bfs
/gnu/store/v4zvhiaajk0y4wiaxb318dnqvp7jpa7g-profile/sbin/mkfs.fat
/gnu/store/v4zvhiaajk0y4wiaxb318dnqvp7jpa7g-profile/sbin/mkfs.minix
/gnu/store/v4zvhiaajk0y4wiaxb318dnqvp7jpa7g-profile/sbin/mkfs
/gnu/store/91l95ys8s0kxallfz9zsiypp28mzgc62-profile/sbin/mkfs.ext4
/gnu/store/91l95ys8s0kxallfz9zsiypp28mzgc62-profile/sbin/mkfs.ext2
/gnu/store/91l95ys8s0kxallfz9zsiypp28mzgc62-profile/sbin/mkfs.cramfs
/gnu/store/91l95ys8s0kxallfz9zsiypp28mzgc62-profile/sbin/mkfs.bfs
/gnu/store/91l95ys8s0kxallfz9zsiypp28mzgc62-profile/sbin/mkfs.minix
/gnu/store/91l95ys8s0kxallfz9zsiypp28mzgc62-profile/sbin/mke2fs
/gnu/store/91l95ys8s0kxallfz9zsiypp28mzgc62-profile/sbin/mkfs.ext3
/gnu/store/91l95ys8s0kxallfz9zsiypp28mzgc62-profile/sbin/mkfs
/gnu/store/0149ikffk8y86yns9f338k2s93nv1vb1-e2fsprogs-1.43.6/sbin/mkfs.ext4
/gnu/store/0149ikffk8y86yns9f338k2s93nv1vb1-e2fsprogs-1.43.6/sbin/mkfs.ext2
/gnu/store/0149ikffk8y86yns9f338k2s93nv1vb1-e2fsprogs-1.43.6/sbin/mke2fs
/gnu/store/0149ikffk8y86yns9f338k2s93nv1vb1-e2fsprogs-1.43.6/sbin/mkfs.ext3
/gnu/store/4im5hyda53qjnkc869m0fxdi7dm5f0lg-dosfstools-4.1/sbin/mkfs.fat
/gnu/store/ya96km6xiphbq6pi6cllxhnh07hw3r6b-xfce-4.12.0/sbin/mkfs.cramfs
/gnu/store/ya96km6xiphbq6pi6cllxhnh07hw3r6b-xfce-4.12.0/sbin/mkfs.bfs
/gnu/store/ya96km6xiphbq6pi6cllxhnh07hw3r6b-xfce-4.12.0/sbin/mkfs.minix
/gnu/store/ya96km6xiphbq6pi6cllxhnh07hw3r6b-xfce-4.12.0/sbin/mkfs
/gnu/store/8f7b6ilm2jbrwa61c6jsbcmfb983nirj-xfce-4.12.0/sbin/mkfs.cramfs
/gnu/store/8f7b6ilm2jbrwa61c6jsbcmfb983nirj-xfce-4.12.0/sbin/mkfs.bfs
/gnu/store/8f7b6ilm2jbrwa61c6jsbcmfb983nirj-xfce-4.12.0/sbin/mkfs.minix
/gnu/store/8f7b6ilm2jbrwa61c6jsbcmfb983nirj-xfce-4.12.0/sbin/mkfs
/gnu/store/sggf83aa33mq2rzwp8xhqcmzv6jpaial-profile/sbin/mkfs.fat
/gnu/store/pqkqim2q4sygx9nf02ajbcy8zwr6c80v-profile/sbin/mkfs.ext4
/gnu/store/pqkqim2q4sygx9nf02ajbcy8zwr6c80v-profile/sbin/mkfs.ext2
/gnu/store/pqkqim2q4sygx9nf02ajbcy8zwr6c80v-profile/sbin/mkfs.cramfs
/gnu/store/pqkqim2q4sygx9nf02ajbcy8zwr6c80v-profile/sbin/mkfs.bfs
/gnu/store/pqkqim2q4sygx9nf02ajbcy8zwr6c80v-profile/sbin/mkfs.minix
/gnu/store/pqkqim2q4sygx9nf02ajbcy8zwr6c80v-profile/sbin/mke2fs
/gnu/store/pqkqim2q4sygx9nf02ajbcy8zwr6c80v-profile/sbin/mkfs.ext3
/gnu/store/pqkqim2q4sygx9nf02ajbcy8zwr6c80v-profile/sbin/mkfs
znavko ★★
() автор топика
Ответ на: комментарий от Xenius

с gparted та же беда. оказалось, нужно экспортировать путь..

# guix package -i gparted
guix package: warning: Your Guix installation is 14 days old.
guix package: warning: Consider running 'guix pull' followed by
'guix package -u' to get up-to-date packages and security updates.

substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0%

...много всего...

Downloading https://mirror.hydra.gnu.org/guix/nar/gzip/2gxcrrf3ncq3y940klmcd5w8lcri2bd3-gparted-0.31.0...
 gparted-0.31.0  2.4MiB              1.8MiB/s 00:01 [##################] 100.0%

No schema files found: doing nothing.
Creating manual page database...
127 entries processed in 0.4 s
5 packages in profile
The following environment variable definitions may be needed:
   export PATH="/root/.guix-profile/bin:/root/.guix-profile/sbin${PATH:+:}$PATH"

# gparted
bash: gparted: command not found
...не запустился...


# export PATH="/root/.guix-profile/bin:/root/.guix-profile/sbin${PATH:+:}$PATH"
# gparted
======================
libparted : 3.2
======================
...Запустился...
znavko ★★
() автор топика
Ответ на: комментарий от znavko

Ну в целом понятно что файл вроде есть, но он в sbin, проверь что там у тебя в PATH?

Как ты переходишь в рутовый шелл? Попробуй набрать su - в том же шелле чтобы точно применились настройки. Или sudo -i запускать, чтобы у тебя точно применилось окружение рута с переменными sbin в PATH.

Если всё ещё не работает, то попробуй запускать по прямому полному пути

Xenius ★★★★★
()
Ответ на: комментарий от znavko

По идее должно автоматом это получаться, проверь файл /etc/profile и возможно /etc/profile.d/*

И ещё /root/.bashrc и подобные

Xenius ★★★★★
()
Последнее исправление: Xenius (всего исправлений: 1)
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.