I need to install ksh because we have many scripts /bin/ksh that must run on crontab.
There is no internet in the VM (runnnig Ubuntu 20.04.2 LTS) so I uploaded this package and copied it into /tmp
. I have this error when I try to install it:
# apt install ksh_2020.0.0-5_arm64.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package ksh_2020.0.0-5_arm64.deb
I tried the following command:
apt install ./ksh_2020.0.0-5_arm64.deb
But it's not working because there are some missing packages:
# apt install ./ksh_2020.0.0-5_arm64.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
grafana : Depends: libfontconfig1 but it is not installed
ksh : Depends: binfmt-support but it is not installable
libfontconfig1-dev : Depends: libfontconfig-dev (= 2.13.1-4.2)
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
As the VM can't be connected to the internet, I can't add the missing package.
Is there another way to install ksh, or to execute a ksh script?