Cannot install senrty on-premise on ubuntu 18.04

The logs suggest that you have a configuration issue somewhere. Maybe this topic would help you: Setup Sentry on premise on a server with http proxy