It's a little messy but I've done this in https://github.com/lucasw/ros_from_sr... - I can help you through either method I've used. I didn't use rosdep but maybe that could be made to work also.
The first thing I did is build everything from source and that should still work (but I haven't done it recently), but then found out that there are some basic ros packages available apt install in 22.04 and created these instructions to get many other packages built that aren't available through apt. There is a Dockerfile and github action that illustrates the same process (though the ubuntu-22.04
github action runs-on target is currently in beta and sometimes some apt installs fail on it because github action instances use mirrors of apt repos, hosted on azure so probably much faster but recently got out of sync and broke builds).
There is also a pre-built install catkin_ws here https://github.com/lucasw/ros_from_sr... though understandable if you don't want to use that for security reasons (but the zip files that are uploaded by the actions rather than me should be better https://github.com/lucasw/ros_from_sr... except that'll disappear in 90 days), and also it'll probably need to get rebuilt after a while as 22.04 packages are updated and I need to manually do that.
I'm fine providing more details here, I can flesh this answer out more in response to comments, or I'll update ros_from_src scripts and instructions and you could file an issue there to follow up on something that isn't working- either way is good.
If you want to use a ros package that isn't available through apt install or that I have in base_repos.yaml (and didn't CATKIN_IGNORE), you can try git cloning it from the official repository but you may run into build issues (especially if it uses C++)- I can help with that.
hey, were you able to solve this? please help