Azure Bastion | Cannot install packages

Mihir Shah 1 Reputation point
2021-02-01T07:31:05.983+00:00

The following is my Infrastructure on Azure cloud

  1. Kubernetes cluster with AKS
  2. Bastion host to make AKS private
  3. Everything was first till a few days ago (I am deploying a new cluster from scratch now)
  4. The cluster with bastion host and others (from a Terraform script) got created all fine and I can login to the cluster

Command on bastion host:
sudo apt install package_name

Error Message:
0% [Connecting to azure.archive.ubuntu.com (52.250.76.244)] (stays here for long time)

Err:14 http://azure.archive.ubuntu.com/ubuntu xenial/main amd64 libxi6 amd64 2:1.7.6-1
Unable to connect to azure.archive.ubuntu.com:http:

As a test i attempted another package repo that is same too
snap find "media player"
error: unable to contact snap store

Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
699 questions
Azure Bastion
Azure Bastion
An Azure service that provides private and fully managed Remote Desktop Protocol (RDP) and Secure Shell (SSH) access to virtual machines.
259 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Marilee Turscak-MSFT 36,846 Reputation points Microsoft Employee
    2021-02-02T22:16:47.313+00:00

    It looks like there was a fix pushed 11 hours ago to resolve this same error message, and this may be related to your issue. https://github.com/actions/virtual-environments/issues/675

    https://github.com/ebiggers/fscryptctl/commit/527405ff76671383c38ad58fbdff4dfa5e03c7fe

    Please try running sudo apt-get update again.

    Also, make sure to check your NSG rules and make sure that it is allowing outbound traffic on port 80.
    
    Related discussion.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.