2

during configuration (after install) of Oracle XE 18c on my 16.04, I noticed this message generated by the shell script:

/bin/df: unrecognized option '--direct'
'Try '/bin/df --help' for more information.

I'm not sure how important it is for the install, the script goes on asking for the password to be set on system users...

ANYWAY the point for me it's that the --direct option is available on other linux versions, for example here, it seems to be part of the standard GNU utility, but I supposed that I've already got it as part of the Ubuntu 16.04 distro.

Anybody could please clarify this? Is there a way to obtain the same behaviour with my current version of df?
Thanks in advance.

UPDATED: The target server is Ubuntu 16.04

ManuelJE
  • 123

1 Answers1

2

The --direct is an option that got added to df in version 8.4.6 so your download of Oracle XE 18c is not intended for 16.04. You probably need an older release or (as @jos mentioned) edit the script. See below for the old option we use.

* Mon Mar 29 2010 Kamil Dudka <kdudka@redhat.com> - 8.4-6
 - a new option df --direct (#479364)

There is no Ubuntu yet that goes higher than 8.30 (and that includes eoan)

On Ubuntu 16.04 we use 8.25 and the equivalent is called --output=avail (gnu coreutils df)

$ df --version
df (GNU coreutils) 8.25
Rinzwind
  • 309,379