on Ubuntu 22.04 no awk ? #305
Replies: 2 comments
-
For the 22.10 machine: mawk was installed in the initial apt-get install command.
|
Beta Was this translation helpful? Give feedback.
-
Yes, some operating systems do not have gawk by default, so one needs to install
We already check the existence of |
Beta Was this translation helpful? Give feedback.
-
OS: Ubuntu 22.04.2 LTS x86_64
Kernel: Linux 5.19.0-35-generic
Shell: bash 5.1.16
_ble_init_version=0.4.0-devel3+2eadcd5
I tried on two different 22.04 machines and on 22.10.* The latter worked without incident but for the former two:
I don't use awk so I have no idea what its status was prior to today. If the awk call fails on all 22.04 LTS versions, you might want to put a check in for it? In any event, for the 22.04 machines,
$ apt install gawk
solved it .*My server/desktop (with GUI) is 22.04 LTS (2829 packages).
2 laptops, one each 22.04 (2506 packages) and 22.10 (3042 packages).
There's no objective reason I would have uninstalled awk on the 22.04 machines. It is not impossible that it was uninstalled/autoremoved with something else.
I checked in
/var/log/apt/history.log.*
and the only thing that came up forcat history.log.?|grep awk
is below. Both 22.04 machines are similar in this regard...and looking more closely, this is the very first entry in the history log so ostensibly the initial installation should've had mawk.Beta Was this translation helpful? Give feedback.
All reactions