Replace use of lsb_release
As of Redhat 9 (and hence Rocky Linux 9) there are no existing releases for lsb_release. Similarly for Debian, this package may not be available. Find a way to replace use of lsb_release to determine the Linux distro and version