It is working now. It was probably the ipv6 that was causing the problem.
Now you can install packages.
But, you should upgrade to 23.05.0 (stable, not rc) since it is out now.
If your problem is solved, please consider marking this topic as [Solved]. See How to mark a topic as [Solved] for a short how-to.
Thanks!