The latest 3.x version is 3.42.4, you need to be on that version before you can upgrade to the latest 4.x version.
The error is explaining you need to run ghost update v3
before ghost update
. If you’re unable to run ghost update v3
please share the error message you are seeing when you run it.