I had same issue as above. After running 'sudo apt...' I received:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package openjdk-10-dbg
?
Thanks for help...this is brand new to me.