tune2fs: command not found

Help with issues regarding installation of Debian

tune2fs: command not found

Postby jörg » 2019-07-31 06:57

Hello everyone,
in my new installed Debian 10 (buster) the package e2fsprogs 1.44.5-1 is present, but my input in root-console: tune2fs -c 25 /dev/sda6 says: command not found. Any help would be appreciated.
Greetings, Jörg
jörg
 
Posts: 2
Joined: 2017-01-22 08:22

Re: tune2fs: command not found

Postby L_V » 2019-07-31 07:07

Code: Select all
# which tune2fs
/sbin/tune2fs

Code: Select all
dpkg -L e2fsprogs | grep bin/

For a user declared as a sudoers, this works
Code: Select all
sudo tune2fs

....I would add, at least for me.
Because even as root, tune2fs command is found without tweaking any file anywhere.
Looks like I am the only one not facing the "command not found" problem / don't know why.
But it does not seem to be a real issue to type '/sbin/tune2fs' instead of 'tune2fs'.

/sbin/ => System Administration Binaries
L_V
 
Posts: 1036
Joined: 2007-03-19 09:04

Re: tune2fs: command not found

Postby jörg » 2019-07-31 08:25

Thank you very much for your quick help. Worked like a charm.
jörg
 
Posts: 2
Joined: 2017-01-22 08:22

Re: tune2fs: command not found

Postby Head_on_a_Stick » 2019-07-31 14:54

User avatar
Head_on_a_Stick
 
Posts: 10346
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: tune2fs: command not found

Postby sunrat » 2019-07-31 22:18

Head_on_a_Stick wrote:http://forums.debian.net/viewtopic.php?f=16&t=142973

For FAQ's sake...

We should run a pool to be won by the first person to predict which week will not have a question about the change to su -

It is a bit hard to search for the solution, when you do forum search for "command not found" it automatically changes it to "+command -found" which is extremely unhelpful.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2758
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: tune2fs: command not found

Postby Segfault » 2019-07-31 22:34

Plain su should never be used (unless you know what you are doing and really need it). It puts you into your home directory with someone else's rights. Can create hard to diagnose failures when files are created or modified.
Segfault
 
Posts: 907
Joined: 2005-09-24 12:24


Return to Installation

Who is online

Users browsing this forum: Bloom and 19 guests

fashionable