You probably have messed up your installation or are using some exotic OS, but ‘curl’ is not part of the apt-key script (at least not on Raspbian). Eventually you have created an misdirected alias, too.
And please follow community guidelines when posting from now on.
How to ask a good question / Help Us Help You - Tutorials & Examples - openHAB Community